1 parent 751608a commit 1f0f1a7Copy full SHA for 1f0f1a7
1 file changed
build-scx-scheds/build-scheds.sh
@@ -4,10 +4,14 @@ set -euo pipefail
4
5
export LLVM_VERSION=${LLVM_VERSION:-20}
6
export SCX_ROOT=${SCX_ROOT:-}
7
+export SCX_REVISION=${SCX_REVISION:-main}
8
9
if [[ -z "$SCX_ROOT" ]]; then
10
export SCX_ROOT=$(mktemp -d scx.XXXX)
- git clone --depth=1 --branch=main https://github.com/sched-ext/scx.git $SCX_ROOT
11
+ git clone --branch=main https://github.com/sched-ext/scx.git $SCX_ROOT
12
+ pushd $SCX_ROOT
13
+ git reset --hard $SCX_REVISION
14
+ popd
15
fi
16
17
pushd $SCX_ROOT
@@ -16,4 +20,5 @@ meson setup build
20
meson compile -C build
21
rm -rf $OUTPUT_DIR
18
22
mv build $OUTPUT_DIR
19
-popd
23
+popd
24
+
0 commit comments