Skip to content

Commit edd67e6

Browse files
authored
Apply suggestions from code review
1 parent f426d3b commit edd67e6

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

.github/workflows/build_wheels.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,6 @@ jobs:
2626
with:
2727
python-version: 3.12
2828

29-
- name: Get number of cores on Windows
30-
id: get_num_cores
31-
shell: python
32-
run: |
33-
from os import environ, cpu_count
34-
num_cpus = cpu_count()
35-
output_file = environ['GITHUB_OUTPUT']
36-
with open(output_file, "a", encoding="utf-8") as output_stream:
37-
output_stream.write(f"count={num_cpus}\n")
38-
3929
- name: Build wheels on Windows
4030
run: pipx run cibuildwheel --output-dir wheelhouse
4131
env:
@@ -46,7 +36,6 @@ jobs:
4636
VCPKG_FEATURE_FLAGS=manifests,registries
4737
CMAKE_GENERATOR="Visual Studio 17 2022"
4838
CMAKE_GENERATOR_PLATFORM=x64
49-
CMAKE_BUILD_PARALLEL_LEVEL=${{ steps.get_num_cores.outputs.count }}
5039
CIBW_ARCHS: AMD64
5140
CIBW_BEFORE_BUILD: python -m pip install setuptools delvewheel # skip CasADi and CMake
5241
CIBW_REPAIR_WHEEL_COMMAND: delvewheel repair --add-path C:/Windows/System32 -w {dest_dir} {wheel}

0 commit comments

Comments
 (0)