From a7b22f75daf02ae9a4bf6c2d7cdf85baa829e1b3 Mon Sep 17 00:00:00 2001 From: Pengcheng Wang Date: Mon, 26 Aug 2024 16:28:38 +0800 Subject: Install OpenMP to sysroot (#1541) Or we can't find headers and libraries. --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index f9eb1e0..54c740a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1016,7 +1016,7 @@ stamps/build-llvm-linux: $(LLVM_SRCDIR) $(LLVM_SRC_GIT) $(BINUTILS_SRCDIR) $(BIN mkdir $(notdir $@)/openmp-shared; \ cmake -S$(LLVM_SRCDIR)/openmp \ -B$(notdir $@)/openmp-shared \ - -DCMAKE_INSTALL_PREFIX=$(INSTALL_DIR) \ + -DCMAKE_INSTALL_PREFIX=$(SYSROOT) \ -DCMAKE_C_COMPILER=$(INSTALL_DIR)/bin/clang \ -DCMAKE_CXX_COMPILER=$(INSTALL_DIR)/bin/clang++ \ -DOPENMP_ENABLE_LIBOMPTARGET=Off \ @@ -1035,7 +1035,7 @@ stamps/build-llvm-linux: $(LLVM_SRCDIR) $(LLVM_SRC_GIT) $(BINUTILS_SRCDIR) $(BIN mkdir $(notdir $@)/openmp-static; \ cmake -S$(LLVM_SRCDIR)/openmp \ -B$(notdir $@)/openmp-static \ - -DCMAKE_INSTALL_PREFIX=$(INSTALL_DIR) \ + -DCMAKE_INSTALL_PREFIX=$(SYSROOT) \ -DCMAKE_C_COMPILER=$(INSTALL_DIR)/bin/clang \ -DCMAKE_CXX_COMPILER=$(INSTALL_DIR)/bin/clang++ \ -DOPENMP_ENABLE_LIBOMPTARGET=Off \ -- cgit v1.1