We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be0edf9 commit 689279aCopy full SHA for 689279a
1 file changed
test/Makefile.defs
@@ -387,8 +387,8 @@ else
387
endif
388
389
# ompTest: Set header include path + linker flag for corresponding OMPT tests
390
-CLANG_VERSION := $(lastword $(sort $(notdir $(patsubst %/,%,$(dir $(wildcard $(AOMP)/lib/clang/*/))))))
391
-OMPTEST = -I$(AOMP)/lib/clang/$(CLANG_VERSION)/include/omptest -lomptest
+CLANG_RESOURCE_DIR ?= $(shell $(AOMP)/bin/clang -print-resource-dir)
+OMPTEST ?= -I$(CLANG_RESOURCE_DIR)/include/omptest -lomptest
392
393
# ompTest: Set and export CMake config path
394
omptest_DIR = $(AOMP)/lib/cmake/openmp/omptest/
0 commit comments