diff options
Diffstat (limited to 'devel/llvm-cheriot/files')
-rw-r--r-- | devel/llvm-cheriot/files/gen-Makefile.snapshot.sh | 4 | ||||
-rw-r--r-- | devel/llvm-cheriot/files/wrapper-cheriot.sh.in | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/devel/llvm-cheriot/files/gen-Makefile.snapshot.sh b/devel/llvm-cheriot/files/gen-Makefile.snapshot.sh index 3ca85339a114..ded19ee2ce1b 100644 --- a/devel/llvm-cheriot/files/gen-Makefile.snapshot.sh +++ b/devel/llvm-cheriot/files/gen-Makefile.snapshot.sh @@ -36,8 +36,8 @@ cat <<EOF > Makefile.snapshot # # Generated by: files/gen-Makefile.snapshot.sh. # -LLVM_MAJOR= 18 -LLVM_RELEASE= \${LLVM_MAJOR}.0.0 +LLVM_MAJOR= 20 +LLVM_RELEASE= \${LLVM_MAJOR}.1.3 SNAPDATE= ${MAX_DATE} LLVM_COMMIT= ${LLVM_COMMIT} diff --git a/devel/llvm-cheriot/files/wrapper-cheriot.sh.in b/devel/llvm-cheriot/files/wrapper-cheriot.sh.in new file mode 100644 index 000000000000..cb2d8b10ac77 --- /dev/null +++ b/devel/llvm-cheriot/files/wrapper-cheriot.sh.in @@ -0,0 +1,10 @@ +#!/bin/sh + +LLVM_PREFIX="%%LLVM_PREFIX%%" +LLVM_SUFFIX="%%LLVM_SUFFIX%%" + +tool=$(/bin/realpath $0) +tool=${tool##*/} +tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" +LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ + exec "${tool}" "${@}" |