Closed kenarab closed 5 months ago
Did you try installing llvm with brew? Also did you setup the environment variables?
you can find the path to put to the env vars with brew --prefix llvm@17
Nope...
I built myself llvm with mlir enabled.
If I use brew installed llvm version as you suggested, the build process brokens much earlier, at mlir-sys just because llvm does not have mlir enabled. So the problem is elsewhere, an incompatibility with mlir implementation or version needed?
Compiling mlir-sys v0.2.1
Caused by:
process didn't exit successfully: `/Users/kenarab/git/concrete/target/release/build/mlir-sys-6f63e6675a5feb34/build-script-build` (exit status: 1)
--- stderr
failed to find correct version (17.x.x) of llvm-config (found )
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `tblgen v0.3.0`
Caused by:
process didn't exit successfully: `/Users/kenarab/git/concrete/target/release/build/tblgen-f64794b262ef1624/build-script-build` (exit status: 1)
--- stderr
failed to find correct version (17.x.x) of llvm-config (found )
make: *** [build] Error 101
I'm sorry. Was my fault, I was not pointing the env variables to the right installation path. It worked ok using brew llvm version!
Thanks to @juliangcalderon
Hi guys!
I'm using a macbook pro M2 (AArch64)
I followed the instructions for installing concrete. I came quite far, but had a problem when concrete tries to link the binary
And the errors seems to be with a non compliant LLVM
The cmake script for LLVM I used is this one
I built LLVM repo checking out tag llvmorg-17.0.6, as you stated
LLVM 17 with MLIR enabled
. For building and installing custm LLVM have run this commandThank you!