[MacPorts] LibcxxOnOlderSystems modified

MacPorts Wiki noreply at macports.org
Sat Aug 24 05:28:16 UTC 2019


Page "LibcxxOnOlderSystems" was changed by kencu
Diff URL: <https://trac.macports.org/wiki/LibcxxOnOlderSystems?action=diff&version=68>
Revision 68
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: LibcxxOnOlderSystems
=========================================================================
--- LibcxxOnOlderSystems (version: 67)
+++ LibcxxOnOlderSystems (version: 68)
@@ -50,7 +50,7 @@
 
 ==== Bootstrapping 3: Build a current version of clang against libc++ ====
 
-The instructions below will install clang-3.7.  clang-3.8 and clang-3.9 recently started to support Leopard and Snow Leopard.
+The instructions below will install clang-3.7.
 
 1. Deactivate all your active ports (or at least the C++ ports) in order to prepare to rebuild them, and just activate the new toolchain:
 {{{
@@ -67,23 +67,23 @@
 {{{
 sudo port -v -f uninstall inactive
 }}}
-4. Install clang-3.7 against libc++.  Note that clang-3.7 is installed here because clang-3.8+ have extra dependencies.  You might be able to use clang-3.8+ here, but I haven't tried that yet.  Please report back.
+4. Install clang-3.7 against libc++.
 {{{
 sudo port -v install clang-3.7
 }}}
 5. Disable the variants corresponding to the bootstrap versions of llvm in `/opt/local/etc/macports/variants.conf`.  This ensures that future installs of cctools and ld64 will use a newer version of llvm:
 {{{
 -llvm34
-+llvm39 # You may need to update this to +llvm40 and higher in the future
++llvm50
 }}}
 6. Edit `/opt/local/etc/macports/macports.conf` again to add `macports-clang-3.7` as preferred compiler:
 {{{
 default_compilers  macports-clang-3.7 macports-clang-3.4 gcc-4.2 apple-gcc-4.2 gcc-4.0
 }}}
-7. Rebuild cctools and ld64 to use the newer version of llvm (currently llvm-3.9):
+7. Rebuild cctools and ld64 to use the newer version of llvm (currently llvm-5.0):
 {{{
-sudo port -v -n upgrade --force --enforce-variants cctools -llvm34 +llvm39
-sudo port -v -n upgrade --force --enforce-variants ld64 -llvm34 +llvm39
+sudo port -v -n upgrade --force --enforce-variants cctools -llvm34 +llvm50
+sudo port -v -n upgrade --force --enforce-variants ld64 -llvm34 +llvm50
 }}}
 8. **Snow Leopard Only:** Disable the variants corresponding to the older versions of ld64 in `/opt/local/etc/macports/variants.conf`.  This ensures that ld64 will be reinstalled using the appropriate variants in the future:
 {{{
@@ -96,13 +96,13 @@
 sudo port -v upgrade --enforce-variants ld64 -ld64_97 -ld64_127 -ld64_236
 sudo port -v deactivate ld64-127
 }}}
-10. Install clang-3.9
+10. Install clang-5.0
 {{{
-sudo port -v install clang-3.9
+sudo port -v install clang-5.0
 }}}
-11. Edit `/opt/local/etc/macports/macports.conf` again to add `macports-clang-3.9` as preferred compiler, and re-enable revupgrade_autorun:
+11. Edit `/opt/local/etc/macports/macports.conf` again to add `macports-clang-5.0` as preferred compiler, and re-enable revupgrade_autorun:
 {{{
-default_compilers macports-clang-3.9 macports-clang-3.7 macports-clang-3.4 gcc-4.2 apple-gcc-4.2 gcc-4.0
+default_compilers macports-clang-5.0 macports-clang-3.7 macports-clang-3.4 gcc-4.2 apple-gcc-4.2 gcc-4.0
 ## delete this line you added previously ==> revupgrade_autorun  	no
 }}}
 12. Uninstall the bootstrap toolchain:
@@ -110,7 +110,7 @@
 sudo port -v deactivate llvm-3.4 clang-3.4
 sudo port -v uninstall inactive
 }}}
-13. Snow Leopard is able to install and use versions of clang and llvm up at least 7.0 at present. Leopard is presently limited to clang-3.9.
+13. Snow Leopard is able to install and use versions of clang and llvm up at least 8.0 at present. Leopard is presently limited to clang-7.0.
 
 == Leopard (ppc) ==
 
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/LibcxxOnOlderSystems>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'LibcxxOnOlderSystems' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list