Skip to content

Commit

Permalink
Tools: OFF, Win: CPU-Count Variable
Browse files Browse the repository at this point in the history
A later, breaking change will introduce tools:
AMReX-Codes/amrex#3600

Co-authored-by: Isuru Fernando <[email protected]>
  • Loading branch information
ax3l and isuruf authored Oct 18, 2023
1 parent 6b07deb commit f39a06a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions recipes/amrex/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cmake ^
-DAMReX_MPI_THREAD_MULTIPLE=OFF ^
-DAMReX_OMP=ON ^
-DAMReX_PARTICLES=ON ^
-DAMReX_PLOTFILE_TOOLS=ON ^
-DAMReX_PLOTFILE_TOOLS=OFF ^
-DAMReX_PROBINIT=OFF ^
-DAMReX_PIC=ON ^
-DAMReX_SPACEDIM="1;2;3" ^
Expand All @@ -41,7 +41,7 @@ cmake ^
if errorlevel 1 exit 1

:: build
cmake --build build --config Release --parallel 2
cmake --build build --config Release --parallel %CPU_COUNT%
if errorlevel 1 exit 1

:: install
Expand Down
2 changes: 1 addition & 1 deletion recipes/amrex/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ cmake \
-DAMReX_MPI_THREAD_MULTIPLE=OFF \
-DAMReX_OMP=ON \
-DAMReX_PARTICLES=ON \
-DAMReX_PLOTFILE_TOOLS=ON \
-DAMReX_PLOTFILE_TOOLS=OFF \
-DAMReX_PROBINIT=OFF \
-DAMReX_PIC=ON \
-DAMReX_SPACEDIM="1;2;3" \
Expand Down

0 comments on commit f39a06a

Please sign in to comment.