-
Notifications
You must be signed in to change notification settings - Fork 54
Wheels: 0.17.0 #1833
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
Open
ax3l
wants to merge
4
commits into
openPMD:wheels
Choose a base branch
from
ax3l:wheels-0.17.0
base: wheels
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+108
−47
Open
Wheels: 0.17.0 #1833
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
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
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 |
|---|---|---|
|
|
@@ -17,29 +17,13 @@ exit /b 0 | |
|
|
||
| :build_adios2 | ||
| if exist adios2-stamp exit /b 0 | ||
| curl -sLo adios2-2.10.2.zip ^ | ||
| https://github.com/ornladios/ADIOS2/archive/v2.10.2.zip | ||
| powershell Expand-Archive adios2-2.10.2.zip -DestinationPath dep-adios2 | ||
|
|
||
| curl -sLo dep-adios2/ADIOS2-2.10.2/patch.diff https://github.com/franzpoeschel/ADIOS2/commit/patches-fix-32-bit-builds.patch | ||
|
|
||
| :: Use git-am for applying the patch, | ||
| :: for some reason, python -m patch just silently does nothing. | ||
| :: git-am requires a Git repository to apply a patch, but the release zip | ||
| :: strips away any Git info, so we just quickly initialize a repository. | ||
| cd dep-adios2/ADIOS2-2.10.2 | ||
| git init | ||
| git config user.email "[email protected]" | ||
| git config user.name "Tooling" | ||
| git add . | ||
| git commit --message="Initial commit so we can use git-am" | ||
| git am patch.diff | ||
| cd .. | ||
| cd .. | ||
| curl -sLo adios2-2.11.0.zip ^ | ||
| https://github.com/ornladios/ADIOS2/archive/v2.11.0.zip | ||
| powershell Expand-Archive adios2-2.11.0.zip -DestinationPath dep-adios2 | ||
|
|
||
| cmake --version | ||
|
|
||
| cmake -S dep-adios2/ADIOS2-2.10.2 -B build-adios2 ^ | ||
| cmake -S dep-adios2/ADIOS2-2.11.0 -B build-adios2 ^ | ||
| -DCMAKE_BUILD_TYPE=Release ^ | ||
| -DCMAKE_DISABLE_FIND_PACKAGE_LibFFI=TRUE ^ | ||
| -DBUILD_SHARED_LIBS=OFF ^ | ||
|
|
@@ -49,7 +33,7 @@ exit /b 0 | |
| -DADIOS2_Blosc2_PREFER_SHARED=OFF ^ | ||
| -DADIOS2_USE_Blosc2=ON ^ | ||
| -DADIOS2_USE_BZip2=OFF ^ | ||
| -DADIOS2_USE_Campaign=OFF ^ | ||
| -DADIOS2_USE_Campaign=ON ^ | ||
| -DADIOS2_USE_Fortran=OFF ^ | ||
| -DADIOS2_USE_HDF5=OFF ^ | ||
| -DADIOS2_USE_MHS=OFF ^ | ||
|
|
@@ -58,7 +42,8 @@ exit /b 0 | |
| -DADIOS2_USE_Python=OFF ^ | ||
| -DADIOS2_USE_ZeroMQ=OFF ^ | ||
| -DADIOS2_USE_ZFP=ON ^ | ||
| -DADIOS2_RUN_INSTALL_TEST=OFF | ||
| -DADIOS2_RUN_INSTALL_TEST=OFF ^ | ||
| -DSQLite3_ROOT=%BUILD_PREFIX%/SQLite3 | ||
| if errorlevel 1 exit 1 | ||
| :: TODO: Could NOT find HDF5 (missing: HDF5_LIBRARIES C) | ||
| :: -DADIOS2_USE_HDF5=ON | ||
|
|
@@ -160,6 +145,52 @@ exit /b 0 | |
| if errorlevel 1 exit 1 | ||
| exit /b 0 | ||
|
|
||
| :build_sqlite | ||
| if exist sqlite-stamp exit /b 0 | ||
|
|
||
| set SQLITE_VERSION="3510200" | ||
|
|
||
| curl -sLo sqlite-amalgamation-%SQLITE_VERSION%.zip ^ | ||
| https://www.sqlite.org/2026/sqlite-amalgamation-%SQLITE_VERSION%.zip | ||
| if errorlevel 1 exit 1 | ||
|
|
||
| powershell Expand-Archive sqlite-amalgamation-%SQLITE_VERSION%.zip -DestinationPath '.' | ||
| if errorlevel 1 exit 1 | ||
|
|
||
| cd sqlite-amalgamation-%SQLITE_VERSION% | ||
| if errorlevel 1 exit 1 | ||
|
|
||
| REM Create a minimal CMakeLists.txt | ||
| ( | ||
| echo cmake_minimum_required(VERSION 3.10^) | ||
| echo project(sqlite3 C^) | ||
| echo add_library(sqlite3 STATIC sqlite3.c^) | ||
| echo target_compile_definitions(sqlite3 PRIVATE SQLITE_ENABLE_FTS3 SQLITE_ENABLE_FTS5 SQLITE_ENABLE_RTREE SQLITE_ENABLE_DBSTAT_VTAB SQLITE_ENABLE_RBU SQLITE_ENABLE_SESSION^) | ||
| echo set_property(TARGET sqlite3 PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>"^) | ||
| echo install(TARGETS sqlite3 ARCHIVE DESTINATION lib^) | ||
| echo install(FILES sqlite3.h DESTINATION include^) | ||
| ) > CMakeLists.txt | ||
|
|
||
| :: build and install | ||
| cmake -S . -B build ^ | ||
| -DCMAKE_INSTALL_PREFIX=%BUILD_PREFIX%/SQLite3 | ||
| if errorlevel 1 exit 1 | ||
|
|
||
| cmake --build build --config Release | ||
| if errorlevel 1 exit 1 | ||
|
|
||
| cmake --install build --config Release | ||
| if errorlevel 1 exit 1 | ||
|
|
||
| :: cleanup | ||
| cd .. | ||
| rmdir /s /q sqlite-amalgamation-%SQLITE_VERSION% | ||
| if errorlevel 1 exit 1 | ||
|
|
||
| break > sqlite-stamp | ||
| if errorlevel 1 exit 1 | ||
| exit /b 0 | ||
|
|
||
| :build_zfp | ||
| if exist zfp-stamp exit /b 0 | ||
|
|
||
|
|
@@ -225,6 +256,7 @@ exit /b 0 | |
| :main | ||
| call :install_buildessentials | ||
| call :build_zlib | ||
| call :build_sqlite | ||
| :: build_bzip2 | ||
| :: build_szip | ||
| call :build_zfp | ||
|
|
||
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
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.