-
Notifications
You must be signed in to change notification settings - Fork 308
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
Needed to add zstd and -lz dependencies to compile faustgen on macOS #911
Comments
Which LLVM version are you using ? |
$ brew info llvm
==> llvm: stable 16.0.4 (bottled), HEAD [keg-only]
Next-gen compiler infrastructure
https://llvm.org/
/usr/local/Cellar/llvm/16.0.4 (6,779 files, 1.6GB)
Poured from bottle using the formulae.brew.sh API on 2023-05-19 at 04:52:32
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/llvm.rb
License: Apache-2.0 with LLVM-exception
==> Dependencies
Build: cmake ✔, swig ✘
Required: [email protected] ✔, six ✔, z3 ✔, zstd ✔
==> Options
--HEAD
Install HEAD version
==> Caveats
To use the bundled libc++ please add the following LDFLAGS:
LDFLAGS="-L/usr/local/opt/llvm/lib/c++ -Wl,-rpath,/usr/local/opt/llvm/lib/c++"
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"' >> /Users/sa/.bash_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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On my macOS x86_64 system, I had to modify the
faustgen
CMakeLists.txt as follows (full file is attached) to get it to work. zstd was provided by homebrew (note the Add faustgen dependencies section):CMakeLists.txt
The text was updated successfully, but these errors were encountered: