Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
with:
repository: 'BLAST-ImpactX/impactx'
path: 'src'
ref: '25.03'
ref: '25.04'

- uses: actions/checkout@v4
with:
Expand Down
13 changes: 8 additions & 5 deletions library_builders.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ goto:main

:install_buildessentials
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade cmake
python -m pip install --upgrade "cmake<4"
python -m pip install --upgrade "patch==1.*"
exit /b 0

:build_amrex
if exist amrex-stamp exit /b 0

set "AMREX_VERSION=25.03"
set "AMREX_VERSION=25.04"

curl -sLo "amrex-%AMREX_VERSION%.zip" ^
"https://github.com/AMReX-Codes/amrex/archive/refs/tags/%AMREX_VERSION%.zip"
Expand Down Expand Up @@ -75,7 +75,8 @@ exit /b 0
-DBUILD_SHARED_LIBS=OFF ^
-DBUILD_TESTS=OFF ^
-DDISABLE_FORTRAN=ON ^
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
if errorlevel 1 exit 1

cmake --build build-fftw --config Release --parallel %CPU_COUNT%
Expand All @@ -93,7 +94,8 @@ exit /b 0
-DBUILD_TESTS=OFF ^
-DDISABLE_FORTRAN=ON ^
-DENABLE_FLOAT=ON ^
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
if errorlevel 1 exit 1

cmake --build build-fftw --config Release --parallel %CPU_COUNT%
Expand Down Expand Up @@ -131,7 +133,8 @@ exit /b 0
-DHDF5_ENABLE_SZIP_SUPPORT=OFF ^
-DHDF5_ENABLE_Z_LIB_SUPPORT=ON ^
-DZLIB_USE_STATIC_LIBS=ON ^
-DCMAKE_INSTALL_PREFIX=%BUILD_PREFIX%\HDF5
-DCMAKE_INSTALL_PREFIX=%BUILD_PREFIX%\HDF5 ^
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
if errorlevel 1 exit 1

cmake --build build-hdf5 --config Release --parallel %CPU_COUNT%
Expand Down
13 changes: 8 additions & 5 deletions library_builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function install_buildessentials {

python3 -m pip install -U pip setuptools wheel
python3 -m pip install -U scikit-build
python3 -m pip install -U cmake
python3 -m pip install -U "cmake<4"
python3 -m pip install -U "patch==1.*"

touch buildessentials-stamp
Expand All @@ -77,7 +77,7 @@ function install_buildessentials {
function build_amrex {
if [ -e amrex-stamp ]; then return; fi

AMREX_VERSION="25.03"
AMREX_VERSION="25.04"

curl -sLO https://github.com/AMReX-Codes/amrex/releases/download/${AMREX_VERSION}/amrex-${AMREX_VERSION}.tar.gz
file amrex*.tar.gz
Expand Down Expand Up @@ -138,7 +138,8 @@ function build_fftw {
-DBUILD_TESTS=OFF \
-DDISABLE_FORTRAN=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX}
-DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX} \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5

PATH=${CMAKE_BIN}:${PATH} cmake --build build-fftw --parallel ${CPU_COUNT}
PATH=${CMAKE_BIN}:${PATH} ${SUDO} cmake --build build-fftw --target install
Expand All @@ -156,7 +157,8 @@ function build_fftw {
-DDISABLE_FORTRAN=ON \
-DENABLE_FLOAT=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX}
-DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX} \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5

PATH=${CMAKE_BIN}:${PATH} cmake --build build-fftw --parallel ${CPU_COUNT}
PATH=${CMAKE_BIN}:${PATH} ${SUDO} cmake --build build-fftw --target install
Expand Down Expand Up @@ -253,7 +255,8 @@ function build_zlib {
-B build-zlib \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX}
-DCMAKE_INSTALL_PREFIX=${BUILD_PREFIX} \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5

PATH=${CMAKE_BIN}:${PATH} cmake --build build-zlib --parallel ${CPU_COUNT}
PATH=${CMAKE_BIN}:${PATH} ${SUDO} cmake --build build-zlib --target install
Expand Down
Loading