File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 -w /flydsl \
4949 --name llvm_build \
5050 "${MANYLINUX_IMAGE}"
51- docker exec llvm_build bash -c "python3 -m pip install -q nanobind"
51+ docker exec llvm_build bash -c "python3 -m pip install -q ' nanobind==2.12.0' "
5252 docker exec llvm_build bash -c "git config --global --add safe.directory '*'"
5353
5454 - name : Checkout source in build container
Original file line number Diff line number Diff line change 7373 done
7474 ln -sf /usr/local/bin/python3.12 /usr/local/bin/python3
7575 '
76- docker exec flydsl_build bash -c "python3 -m pip install -q nanobind"
76+ docker exec flydsl_build bash -c "python3 -m pip install -q ' nanobind==2.12.0' "
7777 docker exec flydsl_build bash -c "git config --global --add safe.directory '*'"
7878
7979 - name : Checkout source and submodules in build container
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ requires = [
55 # `setup.py` may invoke CMake configuration that expects
66 # these Python build deps to be importable in the current environment.
77 " pybind11>=2.10" ,
8- " nanobind>=2.0 " ,
8+ " nanobind>=2.9,<3 " ,
99 " numpy" ,
1010 " cmake" ,
1111]
Original file line number Diff line number Diff line change @@ -115,7 +115,8 @@ echo "Configuring LLVM..."
115115
116116# Install dependencies for Python bindings
117117echo " Installing Python dependencies..."
118- pip install nanobind numpy pybind11
118+ NANOBIND_VERSION=" ${NANOBIND_VERSION:- 2.12.0} "
119+ pip install " nanobind==${NANOBIND_VERSION} " numpy pybind11
119120
120121# Check for ninja
121122GENERATOR=" Unix Makefiles"
You can’t perform that action at this time.
0 commit comments