llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Zahira Ammarguellat (zahiraam)

<details>
<summary>Changes</summary>

`metadirective_runtime_implicit_map.cpp` (added in #<!-- -->236432) uses 
`-fopenmp-targets=x86_64-pc-linux-gnu` without a host `-triple`, so the host 
defaults to the machine running the test. On 32-bit hosts this fails with:
OpenMP target architecture 'x86_64-pc-linux-gnu' pointer size is incompatible 
with host 'armv8l-unknown-linux-gnueabihf'  CI failure: 
https://lab.llvm.org/buildbot/#/builders/135/builds/5051 
(clang-armv7-vfpv3-2stage).

This PR adds a triple.

---
Full diff: https://github.com/llvm/llvm-project/pull/238893.diff


1 Files Affected:

- (modified) clang/test/OpenMP/metadirective_runtime_implicit_map.cpp (+2-1) 


``````````diff
diff --git a/clang/test/OpenMP/metadirective_runtime_implicit_map.cpp 
b/clang/test/OpenMP/metadirective_runtime_implicit_map.cpp
index ee6ffcb3a5ef5..395d9183b7da7 100644
--- a/clang/test/OpenMP/metadirective_runtime_implicit_map.cpp
+++ b/clang/test/OpenMP/metadirective_runtime_implicit_map.cpp
@@ -1,6 +1,7 @@
 // RUN: %clang_cc1 -verify -fopenmp -fopenmp-version=52 \
 // RUN:   -fopenmp-metadirective-runtime-selection \
-// RUN:   -fopenmp-targets=x86_64-pc-linux-gnu -ast-dump %s | FileCheck %s
+// RUN:   -triple x86_64-unknown-linux-gnu 
-fopenmp-targets=x86_64-pc-linux-gnu \
+// RUN:   -ast-dump %s | FileCheck %s
 // expected-no-diagnostics
 
 // A member used only inside a nested runtime metadirective is implicitly

``````````

</details>


https://github.com/llvm/llvm-project/pull/238893
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to