[Openmp-commits] [openmp] [openmp] Fix missing include directory in omptest tool (PR #156194)
Michał Górny via Openmp-commits
openmp-commits at lists.llvm.org
Sat Aug 30 11:22:07 PDT 2025
https://github.com/mgorny created https://github.com/llvm/llvm-project/pull/156194
Add missing `LIBOMP_INCLUDE_DIR` include directory to fix build failures in omptest, as reported
in https://github.com/llvm/llvm-project/pull/154786#issuecomment-3223481804. Thanks fo @jprotze for the suggested fix.
>From 576b3dff3b91a1ce5071658c9273b13e86ccc71d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny at gentoo.org>
Date: Sat, 30 Aug 2025 20:20:13 +0200
Subject: [PATCH] [openmp] Fix missing include directory in omptest tool
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Add missing `LIBOMP_INCLUDE_DIR` include directory to fix build
failures in omptest, as reported
in https://github.com/llvm/llvm-project/pull/154786#issuecomment-3223481804.
Thanks fo @jprotze for the suggested fix.
Signed-off-by: Michał Górny <mgorny at gentoo.org>
---
openmp/tools/omptest/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/openmp/tools/omptest/CMakeLists.txt b/openmp/tools/omptest/CMakeLists.txt
index e585eeb095a38..b313f223c354c 100644
--- a/openmp/tools/omptest/CMakeLists.txt
+++ b/openmp/tools/omptest/CMakeLists.txt
@@ -22,6 +22,8 @@ endif()
include(CMakePackageConfigHelpers)
+include_directories(${LIBOMP_INCLUDE_DIR})
+
set(OMPTEST_HEADERS
./include/AssertMacros.h
./include/InternalEvent.h
More information about the Openmp-commits
mailing list