Skip to content

Commit b1566d7

Browse files
Fix Windows builds
1 parent fe4abf9 commit b1566d7

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,15 +132,11 @@ jobs:
132132
python -m pip install --upgrade pip
133133
python -m pip install wheel setuptools
134134
135-
- name: Mount vcpkg cache
136-
uses: actions/cache@v4
135+
- name: Install Boost
136+
uses: MarkusJx/install-boost@v2
137+
id: install-boost
137138
with:
138-
path: "~/.cache/vcpkg/archives"
139-
key: vcpkg-${{ matrix.os }}
140-
141-
- name: Install vcpkg dependencies
142-
run: |
143-
vcpkg install pybind11 boost-headers
139+
boost_version: 1.87.0
144140

145141
- name: Build Wheel
146142
run: |

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
include_dirs=['FindAFactor/include', 'pybind11/include', '/usr/local/include', '/opt/homebrew/include',
1616
(os.environ.get('VCPKG_ROOT') if os.environ.get('VCPKG_ROOT') else 'C:/vcpkg') + '/installed/x64-windows/include'],
1717
language='c++',
18-
cxx_std=17,
1918
extra_compile_args = cpp_args,
2019
),
2120
]

0 commit comments

Comments
 (0)