Branch: refs/heads/main
Revision: 9756851
Author: mppf
Link: Improve portability to Alpine linux by mppf · Pull Request #20056 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #20056 from mppf/alpine-linux-llvm-fixes
Improve portability to Alpine linux
This PR takes two steps to improve portability to Alpine Linux:
- Brings in the changes from
Add missing include #include <sys/types.h> to support ssize by janciesko · Pull Request #105 · Qthreads/qthreads · GitHub into the bundled
qthreads - Adjusts chplenv scripts to, as a backup strategy, look for clang
dependencies in /usr/include, /usr/lib, and /usr/bin since that is
where Alpine installs them. This code includes a check that the
version number matches the llvm-config version.
Resolves #19404.
Reviewed by @ronawho - thanks!
-
default configuration on Alpine Linux builds and
make check
succeeds -
make
andmake check
succeed in default configuration on Mac OS
X + Homebrew -
full local testing
Modified Files:
M third-party/qthread/README
M third-party/qthread/qthread-src/include/qt_blocking_structs.h
M third-party/qthread/qthread-src/include/qt_debug.h
M third-party/qthread/qthread-src/src/hashmap.c
M third-party/qthread/qthread-src/src/patterns/wavefront.c
M third-party/qthread/qthread-src/src/qloop.c
M third-party/qthread/qthread-src/src/shepherds.c
M third-party/qthread/qthread-src/src/syscalls/pread.c
M third-party/qthread/qthread-src/src/syscalls/pwrite.c
M third-party/qthread/qthread-src/src/syscalls/read.c
M third-party/qthread/qthread-src/src/syscalls/write.c
M third-party/qthread/qthread-src/src/threadqueues/lifo_threadqueues.c
M third-party/qthread/qthread-src/src/threadqueues/mutexfifo_threadqueues.c
M third-party/qthread/qthread-src/src/threadqueues/nemesis_threadqueues.c
M third-party/qthread/qthread-src/src/threadqueues/nottingham_threadqueues.c
M third-party/qthread/qthread-src/src/threadqueues/sherwood_threadqueues.c
M util/chplenv/chpl_llvm.pyCompare: Comparing 87c5320342c9...97568515d452 · chapel-lang/chapel · GitHub