Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Mar 24, 2024
1 parent 73cf77e commit 9c6d30b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/python_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on: # yamllint disable-line rule:truthy
jobs:

pytest:
runs-on: ubuntu-latest
runs-on: macos-14

steps:
- name: Checkout repository
Expand All @@ -24,6 +24,7 @@ jobs:
run: |
echo "${{ env.pythonLocation }}"
python -c "import sys; print(sys.executable)"
python -c "import sys; print(sys.exec_prefix)"
pip install --verbose -e .[test]
- name: Print GLIBC dependency
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import os
import os.path as osp
import subprocess
import sys
import warnings

from setuptools import Extension, find_packages, setup
Expand Down Expand Up @@ -58,6 +59,7 @@ def build_extension(self, ext):
'-DBUILD_TEST=OFF',
'-DBUILD_BENCHMARK=OFF',
'-DUSE_PYTHON=ON',
f'-DPython3_ROOT_DIR={sys.exec_prefix}',
f'-DWITH_CUDA={"ON" if WITH_CUDA else "OFF"}',
f'-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={extdir}',
f'-DCMAKE_BUILD_TYPE={self.build_type}',
Expand Down

0 comments on commit 9c6d30b

Please sign in to comment.