[MacPorts] InstallingMacPortsOnUbuntuLinux modified
MacPorts Wiki
noreply at macports.org
Sun Nov 13 17:44:30 UTC 2022
Page "InstallingMacPortsOnUbuntuLinux" was changed by harens
Diff URL: <https://trac.macports.org/wiki/InstallingMacPortsOnUbuntuLinux?action=diff&version=5>
Revision 5
Comment: buildmakejobs and build_arch can now be determined on Linux
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: InstallingMacPortsOnUbuntuLinux
=========================================================================
--- InstallingMacPortsOnUbuntuLinux (version: 4)
+++ InstallingMacPortsOnUbuntuLinux (version: 5)
@@ -72,10 +72,8 @@
}}}
and add:
{{{
-buildmakejobs 2 # or a more appropriate number for your processor count
default_compilers clang # compiler selection is not yet working on Ubuntu, this chooses /usr/bin/clang which works best with macport's portfiles
cxx_stdlib libstdc++ # configure.cxx_stdlib is not yet working on Ubuntu, this fills in appropriate default
-build_arch x86_64
}}}
Darwin and Ubuntu supply 'sed' and 'grep' in different locations, so rather than edit many Portfiles that expect it in the Darwin location, you can do this:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
--
Page URL: <https://trac.macports.org/wiki/InstallingMacPortsOnUbuntuLinux>
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 'InstallingMacPortsOnUbuntuLinux' page.
If it was not you, please report to admin at macports.org.
More information about the macports-changes
mailing list