[MacPorts] #68490: libomp @17.0.3: needs compiler with atomic support
MacPorts
noreply at macports.org
Wed Oct 18 19:05:24 UTC 2023
#68490: libomp @17.0.3: needs compiler with atomic support
---------------------+-----------------------------------------
Reporter: RobK88 | Owner: eborisch
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: fixed | Keywords: lion mountainlion mavericks
Port: libomp |
---------------------+-----------------------------------------
Comment (by RobK88):
Thanks Chris! The boot-strapped solution is the way to go!
I uninstalled `libomp` and was able to reinstall it from source on Lion.
{{{
bash-3.2$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.7.5
BuildVersion: 11G63
bash-3.2$
sudo port uninstall libomp
Password:
Note: It is not recommended to uninstall/deactivate a port that has
dependents as it breaks the dependents.
The following ports will break:
clang-15 @15.0.7_3
clang-16 @16.0.6_2
clang-9.0 @9.0.1_7
clang-7.0 @7.1.0_3
clang-11 @11.1.0_7
clang-14 @14.0.6_2
Continue? [y/N]: Y
Warning: Uninstall forced. Proceeding despite dependencies.
---> Deactivating libomp @17.0.3_0+universal
---> Cleaning libomp
---> Uninstalling libomp @17.0.3_0+universal
---> Cleaning libomp
bash-3.2$
bash-3.2$ sudo port -s install libomp
Password:
---> Computing dependencies for libomp
---> Fetching distfiles for libomp
---> Verifying checksums for libomp
---> Extracting libomp
---> Applying patches to libomp
---> Configuring libomp
---> Building libomp
---> Staging libomp into destroot
---> Installing libomp @17.0.3_0+universal
---> Activating libomp @17.0.3_0+universal
---> Cleaning libomp
---> Scanning binaries for linking errors
---> No broken files found.
---> No broken ports found.
---> Some of the ports you installed have notes:
libomp has the following notes:
To use this OpenMP library:
* For clang-3.8+, or clang-3.7 with +openmp variant:
add "-fopenmp" during compilation / linking.
* For clang-3.7 without +openmp variant, use:
"-I/opt/local/include/libomp -L/opt/local/lib/libomp -fopenmp"
bash-3.2$
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68490#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list