Unable to compile on Alpine Linux #166
Replies: 3 comments 3 replies
-
See if this patch helps: llvm/llvm-project@d6906be If not I will look more closely. |
Beta Was this translation helpful? Give feedback.
-
It looks like llvm 14, the base used for the latest version of OpenCilk, does not build on Alpine Linux. You can get past the backtrace problem by removing the unsupported library calls. The false error from CMake remains. I was able to build llvm 15 on Alpine. I did not see any changes that were practical to backport, or even anything that was clearly related to Alpine. I also did not find the source code for the Alpine llvm packages. A repository claiming to be the source did not work for me. I think you are out of luck for now. We hope to base the next major release of OpenCilk off of llvm 15 or 16 and it might work on Alpine. |
Beta Was this translation helpful? Give feedback.
-
Hey @lotusdew1980 , we have just tagged a release candidate for a new version of OpenCilk, based on LLVM 16: https://github.com/OpenCilk/opencilk-project/releases/tag/opencilk%2Fv2.1-rc1. I'm wondering if this new version resolves the build issues you were seeing before. If you have a chance, please let us know if you're able to build this new version of OpenCilk on Alpine Linux. |
Beta Was this translation helpful? Give feedback.
-
Dear Experts,
I am trying to compile opencilk on Alpine Linux. My main reason for doing so is the small footprint of Alpine. I am also open to suggestions of other distros where it might be easier. The main issue seems to be the glibc replacement in Alpine musl does not have backtrace. I installed libunwind to fix this but I am stuck trying to make it work. Seems the issue is mainly with optional tooling.
Can someone please suggest a way forward or advise if I should abandon trying to do this on Alpine Linux ?
Beta Was this translation helpful? Give feedback.
All reactions