File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 3131 description : ' Make flags for CPython build'
3232 required : false
3333 default : ' -j'
34+ llvm :
35+ description : ' LLVM version to use'
36+ required : false
37+ default : ' 19'
3438
3539jobs :
3640 benchmark :
6165 # Install CPython dependencies using their script
6266 cd cpython
6367 sudo .github/workflows/posix-deps-apt.sh
64-
65- # Install Memray dependencies
68+
69+ # Install JIT dependencies
70+ sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ inputs.llvm }}
71+
72+ # Install Memray dependencies
6673 sudo apt-get install -y \
6774 python3-dev \
6875 libdebuginfod-dev \
7380 env :
7481 MEMORY_TRACKER_TOKEN : ${{ secrets.MEMORY_TRACKER_TOKEN }}
7582 run : |
83+ export PATH="$(llvm-config-${{ inputs.llvm }} --bindir):$PATH"
84+
7685 # Build command with conditional flags
7786 CMD="memory-tracker benchmark '${{ github.event.inputs.commit_range }}'"
7887 CMD="$CMD --repo-path ./cpython"
You can’t perform that action at this time.
0 commit comments