build-openmp: Build the OpenMP library on all architectures
Since a356782426f5bf54a00570e1f925345e5fda7b2e in llvm-project, OpenMP can be built for mingw/aarch64, since fb947c358661b3bd3d5e1fa776ec74cc0f308854 it should work correctly in all currently tested cases, and since 97958c9bb83cec44b6ce13e732b53de0171a5d43 it can be built for mingw/armv7.
This commit is contained in:
1 parent
c31664aba4
commit
6b8725333a
3 files changed
+2
-16
No files matched your search
@@ -163,16 +163,8 @@ RUN cd test && \
|
||||
COPY build-openmp.sh ./
|
||||
RUN ./build-openmp.sh $TOOLCHAIN_PREFIX $CFGUARD_ARGS
|
||||
|
||||
# OpenMP on windows only supports x86.
|
||||
RUN cd test && \
|
||||
for arch in $TOOLCHAIN_ARCHS; do \
|
||||
case $arch in \
|
||||
i686|x86_64) \
|
||||
;; \
|
||||
*) \
|
||||
continue \
|
||||
;; \
|
||||
esac && \
|
||||
for test in hello-omp; do \
|
||||
$arch-w64-mingw32-clang $test.c -o $arch/$test.exe -fopenmp=libomp || exit 1; \
|
||||
done; \
|
||||
|
||||
Reference in new issue
Block a user