[Openmp-commits] [PATCH] D83130: [OPENMP]Fix test for ARM, NFC.
Alexey Bataev via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 3 07:30:33 PDT 2020
ABataev created this revision.
ABataev added reviewers: grokos, jdoerfert.
Herald added subscribers: openmp-commits, danielkiss, guansong, kristof.beyls, yaxunl.
Herald added a project: OpenMP.
Need to provide additional -fPIC option to be able to run the test on
ARM platform. Reported and confirmed by Itaru Kitayama.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D83130
Files:
openmp/libomptarget/test/offloading/dynamic_module_load.c
Index: openmp/libomptarget/test/offloading/dynamic_module_load.c
===================================================================
--- openmp/libomptarget/test/offloading/dynamic_module_load.c
+++ openmp/libomptarget/test/offloading/dynamic_module_load.c
@@ -1,4 +1,4 @@
-// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu -DSHARED -shared -o %t.so && %clang %flags %s -o %t-aarch64-unknown-linux-gnu -ldl && %libomptarget-run-aarch64-unknown-linux-gnu %t.so 2>&1 | %fcheck-aarch64-unknown-linux-gnu
+// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu -DSHARED -shared -fPIC -o %t.so && %clang %flags %s -o %t-aarch64-unknown-linux-gnu -ldl && %libomptarget-run-aarch64-unknown-linux-gnu %t.so 2>&1 | %fcheck-aarch64-unknown-linux-gnu
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu -DSHARED -shared -o %t.so && %clang %flags %s -o %t-powerpc64-ibm-linux-gnu -ldl && %libomptarget-run-powerpc64-ibm-linux-gnu %t.so 2>&1 | %fcheck-powerpc64-ibm-linux-gnu
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu -DSHARED -shared -o %t.so && %clang %flags %s -o %t-powerpc64le-ibm-linux-gnu -ldl && %libomptarget-run-powerpc64le-ibm-linux-gnu %t.so 2>&1 | %fcheck-powerpc64le-ibm-linux-gnu
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu -DSHARED -shared -o %t.so && %clang %flags %s -o %t-x86_64-pc-linux-gnu -ldl && %libomptarget-run-x86_64-pc-linux-gnu %t.so 2>&1 | %fcheck-x86_64-pc-linux-gnu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83130.275390.patch
Type: text/x-patch
Size: 1417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200703/deb1134c/attachment-0001.bin>
More information about the Openmp-commits
mailing list