Skip to content

Commit 504027c

Browse files
committed
allow the build_cmd.sh to take input for the prefix path
1 parent ea54371 commit 504027c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_cmd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake -S llvm -B build -G "Unix Makefiles" \
22
-DLLVM_ENABLE_PROJECTS="clang;flang;openmp;lld" \
3-
-DCMAKE_INSTALL_PREFIX=/scr/studyztp/compiler/llvm-dir \
3+
-DCMAKE_INSTALL_PREFIX=$1 \
44
-DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=all
55

0 commit comments

Comments
 (0)