Closed rangeoshun closed 2 months ago
It seems you need to install libomp/openmp. I'm not sure why -fopenmp is passed, maybe that's ImageMagick the gem adding it
It seems you need to install libomp/openmp. I'm not sure why -fopenmp is passed, maybe that's ImageMagick the gem adding it
Thanks for looking into it @eregon!
I have installed libomp-dev
. Still the same.
I also saw this: https://github.com/oracle/truffleruby/issues/1882#issuecomment-576394240
I have a fix for the problem you have reported, but you may still find issues on some systems. If ImageMagick has been built with OpenMP support then the compiler will be configured to add -fopenmp to the compiler flags, which the version of the LLVM tool chain we currently bundle does not support it at this time.
Is it still true?
@eregon Just checked, and if I compile ImageMagick without openmp, it installs easy.
And it also installs fine with the stock ruby:latest
image.
It seems you need to install libomp/openmp. I'm not sure why -fopenmp is passed, maybe that's ImageMagick the gem adding it
Thanks for looking into it @eregon!
I have installed
libomp-dev
. Still the same. I also saw this: #1882 (comment)I have a fix for the problem you have reported, but you may still find issues on some systems. If ImageMagick has been built with OpenMP support then the compiler will be configured to add -fopenmp to the compiler flags, which the version of the LLVM tool chain we currently bundle does not support it at this time.
Is it still true?
Installing libomp-dev
fixed the issue for me! I have ruby 3.5.5.
This is solved now that we use the system's C toolchain and gem i rmagick
succeeds on 24.0.
After installing dependencies, the build fails with:
Full log:
Any ideas what might I be missing?
Cheers!