Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify dependencies #1

Open
ceheitsch opened this issue Feb 12, 2021 · 1 comment
Open

Clarify dependencies #1

ceheitsch opened this issue Feb 12, 2021 · 1 comment

Comments

@ceheitsch
Copy link

Have libomp (11.0.1) installed and cmake (3.19.4). Cmake is being treated "as a formula". There's no GUI here, so doesn't seem to be a need for a cask. If it matters, please clarify.

llvm (11.0.1) is also now installed. However, there were several caveats:

To use the bundled libc++ please add the following LDFLAGS:
LDFLAGS="-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"

llvm is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have llvm first in your PATH, run:
echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> ~/.profile

For compilers to find llvm you may need to set:
export LDFLAGS="-L/usr/local/opt/llvm/lib"
export CPPFLAGS="-I/usr/local/opt/llvm/include"

Please clarify which of these need to be addressed.

@ceheitsch
Copy link
Author

I followed the "If you need..." directions and also the "For compilers...", but there's still some issue; see attached command line output.
output.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant