File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 "type" : " shell" ,
66 // We assume that SVF is installed under the same folder as Software-Security-Analysis
77 // You need to change LLVM_DIR, SVF_DIR and Z3_DIR to the correct paths if you installed SVF in a different location.
8- "command" : " cmake -DCMAKE_BUILD_TYPE=Debug -DSVF_DIR=../SVF -DLLVM_DIR=../SVF/llvm-16.0 .0.obj -DZ3_DIR=../SVF/z3.obj . && make" ,
8+ "command" : " cmake -DCMAKE_BUILD_TYPE=Debug -DSVF_DIR=../SVF -DLLVM_DIR=../SVF/llvm-21.1 .0.obj -DZ3_DIR=../SVF/z3.obj . && make" ,
99 "options" : {
1010 "cwd" : " ${workspaceFolder}"
1111 },
Original file line number Diff line number Diff line change @@ -21,14 +21,13 @@ ENV build_deps="wget xz-utils git gdb tcl software-properties-common"
2121RUN apt-get update --fix-missing
2222RUN apt-get install -y $build_deps $lib_deps
2323
24- # Add deadsnakes PPA for multiple Python versions
25- RUN add-apt-repository ppa:deadsnakes/ppa
26- RUN apt-get update
27- RUN set -ex; \
28- apt-get update && apt-get install -y python3.10-dev python3-pip \
29- && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1;
30- RUN python3 -m pip install pysvf -i https://test.pypi.org/simple/
31- RUN python3 -m pip install z3-solver
24+ # Use the python3 that ships with the Ubuntu 24.04 base image (python 3.12).
25+ # Avoid pulling python3.10 from ppa:deadsnakes/ppa — Launchpad's PPA infrastructure
26+ # has been intermittently unreachable from CI runners (HTTP 504 / 2-minute timeouts
27+ # from add-apt-repository), and SVF does not pin a Python version.
28+ RUN apt-get install -y python3-dev python3-pip
29+ RUN python3 -m pip install --break-system-packages pysvf -i https://test.pypi.org/simple/
30+ RUN python3 -m pip install --break-system-packages z3-solver
3231
3332# Fetch and build SVF source.
3433RUN echo "Downloading LLVM and building SVF to " ${HOME}
You can’t perform that action at this time.
0 commit comments