File tree Expand file tree Collapse file tree 3 files changed +38
-8
lines changed Expand file tree Collapse file tree 3 files changed +38
-8
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
2727 -fomit-frame-pointer -fvectorize -fslp-vectorize -fno-finite-math-only
2828 -fstrict-aliasing -finline-functions)
2929elseif (MSVC )
30- set (COMPILE_OPTIONS /O2 /W1 /GL /Ot /Ob3 /fp:fast /arch:AVX2 /Zc:__cplusplus /EHsc- /GR-)
30+ set (COMPILE_OPTIONS /O2 /W1 /GL /Ot /fp:fast /arch:AVX2 /Zc:__cplusplus /GR-)
31+ set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" )
3132endif ()
3233
3334
Original file line number Diff line number Diff line change 1+ @ echo off
2+ setlocal enabledelayedexpansion
3+
4+ for %%v in (38 39 310 311 312 313) do (
5+ conda env list | findstr " python%%v " > nul
6+ if errorlevel 1 (
7+ echo Creating python%%v environment...
8+ conda create -n python%%v python=3.%%v -y
9+ )
10+ )
11+
12+ set versions = cp38 cp39 cp310 cp311 cp312 cp313
13+
14+ for %%v in (%versions% ) do (
15+ conda activate python%%v && pip install build twine pybind11 numpy setuptools wheel
16+ )
17+
18+ for %%v in (%versions% ) do (
19+ conda activate python%%v && python -m build --wheel
20+ )
21+
22+ echo Build process complete.
23+ endlocal
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # yum install -y clang llvm
3+ if ! conda env list | grep -q " python38" || ! conda env list | grep -q " python39" || ! conda env list | grep -q " python310" || ! conda env list | grep -q " python311" || ! conda env list | grep -q " python312" || ! conda env list | grep -q " python313" ; then
4+ conda create -n python38 python=3.8 -y
5+ conda create -n python39 python=3.9 -y
6+ conda create -n python310 python=3.10 -y
7+ conda create -n python311 python=3.11 -y
8+ conda create -n python312 python=3.12 -y
9+ conda create -n python313 python=3.13 -y
410
5-
6- versions=(cp313 cp312 cp311 cp310 cp39 cp38)
7- for version in " ${versions[@]} " ; do
8- /opt/python/ " ${version} " - " ${version} " /bin/pip install build scikit-build-core pybind11
9- done
11+ versions=(cp313 cp312 cp311 cp310 cp39 cp38)
12+ for version in " ${versions[@]} " ; do
13+ /opt/python/ " ${version} " - " ${version} " /bin/pip install build scikit-build-core pybind11
14+ done
15+ fi
1016
1117cd /io
12-
18+ versions=(cp313 cp312 cp311 cp310 cp39 cp38)
1319for version in " ${versions[@]} " ; do
1420 CC=gcc CXX=g++ /opt/python/" ${version} " -" ${version} " /bin/python -m build --wheel
1521done
You can’t perform that action at this time.
0 commit comments