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 31
31
description : ' Make flags for CPython build'
32
32
required : false
33
33
default : ' -j'
34
+ llvm :
35
+ description : ' LLVM version to use'
36
+ required : false
37
+ default : ' 19'
34
38
35
39
jobs :
36
40
benchmark :
61
65
# Install CPython dependencies using their script
62
66
cd cpython
63
67
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
66
73
sudo apt-get install -y \
67
74
python3-dev \
68
75
libdebuginfod-dev \
73
80
env :
74
81
MEMORY_TRACKER_TOKEN : ${{ secrets.MEMORY_TRACKER_TOKEN }}
75
82
run : |
83
+ export PATH="$(llvm-config-${{ inputs.llvm }} --bindir):$PATH"
84
+
76
85
# Build command with conditional flags
77
86
CMD="memory-tracker benchmark '${{ github.event.inputs.commit_range }}'"
78
87
CMD="$CMD --repo-path ./cpython"
You can’t perform that action at this time.
0 commit comments