Skip to content

Commit

Permalink
ff
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Dec 20, 2024
1 parent 7146287 commit f28b7ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pnnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: |
cd tools/pnnx
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake -DCMAKE_BUILD_TYPE=Release -DPython3_ROOT_DIR="${{ env.pythonLocation }}" ..
cmake --build . -j 4
- name: quick-test
Expand Down
2 changes: 0 additions & 2 deletions tools/pnnx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ option(PNNX_COVERAGE "build for coverage" OFF)
# set(Torch_DIR "${Torch_INSTALL_DIR}/share/cmake/Torch")
set(TorchVision_DIR "${TorchVision_INSTALL_DIR}/share/cmake/TorchVision")

set(Python_FIND_REGISTRY "LAST")
set(Python_FIND_FRAMEWORK "LAST")
find_package(Python3 COMPONENTS Interpreter Development)

PNNXProbeForPyTorchInstall()
Expand Down

0 comments on commit f28b7ee

Please sign in to comment.