Skip to content

Commit

Permalink
test24
Browse files Browse the repository at this point in the history
Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm committed Jan 12, 2024
1 parent bc80c5d commit 2668ec6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ jobs:
find .
cd src/wrappers/python
cat setup.py
echo ${{github.workspace}}/_install > cmake_prefix_path
env CMAKE_PREFIX_PATH=${{github.workspace}}/_install python -m cibuildwheel --output-dir wheelhouse
- uses: actions/upload-artifact@v3
Expand Down
4 changes: 3 additions & 1 deletion src/wrappers/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

if "CMAKE_PREFIX_PATH" not in os.environ:
print(f"CMAKE_PREFIX_PATH not defined: {os.environ}")
exit(-1)

with open("cmake_prefix_path", "r") as f:
CMAKE_PREFIX_PATH = f.readlines()[0]

CMAKE_PREFIX_PATH = os.environ["CMAKE_PREFIX_PATH"]

Expand Down

0 comments on commit 2668ec6

Please sign in to comment.