-
Notifications
You must be signed in to change notification settings - Fork 25
bump numpy, python versions #216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from 3 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
e5fae8e
bump numpy, python versions
casperdcl ebd12d1
fix build
casperdcl 0a4b570
fix cuda build
casperdcl 1ca7541
try fix cuda again
casperdcl 4379298
cmake: modernise cuda, add NCCL
casperdcl 4b9734d
fix conda build again
casperdcl 4e93d9f
inexplicable fix
casperdcl 0145555
drop numpy pin
casperdcl 7624486
CI: minor pyversion tweak
casperdcl 0e999f2
conda py3.13
casperdcl 816767e
CI: conda test CPU
casperdcl 6465ac1
CI: fix conda package name
casperdcl e9e3124
cmake: cudart static link
casperdcl ce623f3
tests: minor debug/fix
casperdcl c4a21c7
cmake: cuda arch fallback all
casperdcl 0a59790
misc tidy
casperdcl 946f775
CI: build windows, release on tag
casperdcl d4e30e4
fix thrust compilation
casperdcl 852bafc
CI: drop conda-py3.13-win
casperdcl 2900e0d
conda: unpin python
casperdcl f236a96
PEP420 implicit namespace
casperdcl 268b9f3
update docs
casperdcl 4d7d16e
CI: drop windows (hanging)
casperdcl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| /build_proj/ | ||
| /install/ | ||
| /dist/ | ||
| __pycache__/ | ||
| /src/Python/build/ | ||
| /src/Python/*.egg*/ | ||
|
|
||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,15 @@ | ||
| mkdir "%SRC_DIR%\test" | ||
| ROBOCOPY /E "%RECIPE_DIR%\..\test" "%SRC_DIR%\test" | ||
| if exist "%RECIPE_DIR%\..\build_proj" ( | ||
| rd /s /q "%RECIPE_DIR%\..\build_proj" | ||
| if exist "%SRC_DIR%\build_proj" ( | ||
| rd /s /q "%SRC_DIR%\build_proj" | ||
| ) | ||
|
|
||
| :: -G "Visual Studio 16 2019" specifies the the generator | ||
| :: -T v142 specifies the toolset | ||
| :: -DCUDA_TOOLKIT_ROOT_DIR="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8" to the cmake command to specify the CUDA toolkit version | ||
|
|
||
| cmake -S "%SRC_DIR%" -B "%RECIPE_DIR%\..\build_proj" -G "Visual Studio 16 2019" -T "v142" -DCUDA_TOOLKIT_ROOT_DIR="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8" -DBUILD_PYTHON_WRAPPERS=ON -DCONDA_BUILD=ON -DBUILD_CUDA=ON -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DLIBRARY_INC="%CONDA_PREFIX%" -DCMAKE_INSTALL_PREFIX="%RECIPE_DIR%\..\install" | ||
| cmake --build "%RECIPE_DIR%\..\build_proj" --target install --config RelWithDebInfo | ||
| cmake -S "%SRC_DIR%" -B "%SRC_DIR%\build_proj" -G "Visual Studio 16 2019" -T "v142" -DCUDA_TOOLKIT_ROOT_DIR="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8" -DBUILD_PYTHON_WRAPPERS=ON -DCONDA_BUILD=ON -DBUILD_CUDA=%BUILD_CUDA% -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DLIBRARY_INC="%CONDA_PREFIX%" -DCMAKE_INSTALL_PREFIX="%SRC_DIR%\install" | ||
| cmake --build "%SRC_DIR%\build_proj" --target install --config RelWithDebInfo | ||
| %PYTHON% -m pip install "%SRC_DIR%\src\Python" | ||
|
|
||
| if errorlevel 1 exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,9 @@ | ||
| set -xe | ||
| cp -rv "$RECIPE_DIR/../test" "$SRC_DIR/" | ||
| if test -d "$SRC_DIR/build_proj"; then | ||
| rm -rf "$SRC_DIR/build_proj" | ||
| fi | ||
|
|
||
| cmake -S "$SRC_DIR" -B "$RECIPE_DIR/../build_proj" -DBUILD_PYTHON_WRAPPER=ON -DCONDA_BUILD=ON -DBUILD_CUDA=ON -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DLIBRARY_INC=$CONDA_PREFIX -DCMAKE_INSTALL_PREFIX="$RECIPE_DIR/../install" | ||
| cmake --build "$RECIPE_DIR/../build_proj" --target install | ||
| cmake -S "$SRC_DIR" -B "$SRC_DIR/build_proj" -DBUILD_PYTHON_WRAPPER=ON -DCONDA_BUILD=ON -DBUILD_CUDA=${BUILD_CUDA:-OFF} -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DLIBRARY_INC="$CONDA_PREFIX" -DCMAKE_INSTALL_PREFIX="$SRC_DIR/install" | ||
| cmake --build "$SRC_DIR/build_proj" --target install | ||
| $PYTHON -m pip install "$SRC_DIR/src/Python" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,24 +1,7 @@ | ||
| #creates pairs of versions using zip_keys, lists must be the same length | ||
| python: | ||
| - 3.10 | ||
| - 3.10 | ||
| - 3.10 | ||
| - 3.10 | ||
| - 3.11 | ||
| - 3.11 | ||
| - 3.11 | ||
| - 3.11 | ||
| - 3.12 | ||
| numpy: | ||
| - 1.23 | ||
| - 1.24 | ||
| - 1.25 | ||
| - 1.26 | ||
| - 1.23 | ||
| - 1.24 | ||
| - 1.25 | ||
| - 1.26 | ||
| - 1.26 | ||
| zip_keys: | ||
| - python | ||
| - numpy | ||
| - 3.13 | ||
| cuda_compiler_version: | ||
| - 11.8 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.