[MacPorts] LibcxxOnOlderSystems modified
MacPorts
noreply at macports.org
Mon Dec 26 08:34:11 CET 2016
Page "LibcxxOnOlderSystems" was changed by jeremyhu
Diff URL: <https://trac.macports.org/wiki/LibcxxOnOlderSystems?action=diff&version=55>
Revision 55
Comment: Removal of ld64-136, addition of clang-3.9, updated llvm variant for ld64.
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: LibcxxOnOlderSystems
=========================================================================
--- LibcxxOnOlderSystems (version: 54)
+++ LibcxxOnOlderSystems (version: 55)
@@ -50,7 +50,7 @@
==== Bootstrapping 3: Build a current version of clang against libc++ ====
-The instructions below will install clang-3.7 because clang-3.8 only recently started to support Leopard and Snow Leopard, but there are currently no known regressions between clang-3.7 and clang-3.8.
+The instructions below will install clang-3.7. clang-3.8 and clang-3.9 recently started to support Leopard and Snow Leopard.
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:
{{{
@@ -81,7 +81,7 @@
{{{
default_compilers macports-clang-3.7 macports-clang-3.4 macports-clang-3.3 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.8):
+7. Rebuild cctools and ld64 to use the newer version of llvm (currently llvm-3.9):
{{{
sudo port -v -n upgrade --force --enforce-variants cctools -llvm33 -llvm34
sudo port -v -n upgrade --force --enforce-variants ld64 -llvm33 -llvm34
@@ -90,20 +90,19 @@
{{{
-ld64_97
-ld64_127
--ld64_136
-ld64_236
}}}
9. **Snow Leopard Only:** Reinstall ld64 with the legacy variants disabled to use ld64-latest as the default linker:
{{{
-sudo port -v upgrade --enforce-variants ld64 -ld64_97 -ld64_127 -ld64_136 -ld64_236
+sudo port -v upgrade --enforce-variants ld64 -ld64_97 -ld64_127 -ld64_236
}}}
-10. **Experimental:** Install clang-3.8
+10. **Experimental:** Install clang-3.9
{{{
-sudo port -v install clang-3.8
+sudo port -v install clang-3.9
}}}
-11. **Experimental:** Edit `/opt/local/etc/macports/macports.conf` again to add `macports-clang-3.8` as preferred compiler:
+11. **Experimental:** Edit `/opt/local/etc/macports/macports.conf` again to add `macports-clang-3.9` as preferred compiler:
{{{
-default_compilers macports-clang-3.8 macports-clang-3.7 macports-clang-3.4 macports-clang-3.3 gcc-4.2 apple-gcc-4.2 gcc-4.0
+default_compilers macports-clang-3.9 macports-clang-3.8 macports-clang-3.7 macports-clang-3.4 macports-clang-3.3 gcc-4.2 apple-gcc-4.2 gcc-4.0
}}}
12. Uninstall the bootstrap toolchain:
{{{
-------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