Skip to content

Commit

Permalink
Removed unnecessary copys
Browse files Browse the repository at this point in the history
  • Loading branch information
makepath-alex committed Dec 19, 2024
1 parent d15c492 commit adde3e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions recipes/rte-rrtmgp/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set ENABLE_TESTS=ON
set RTE_KERNELS=default
set FAILURE_THRESHOLD=7.e-4

FCFLAGS="-ffree-line-length-none -m64 -std=f2008 -march=native -fbounds-check -fmodule-private -fimplicit-none -finit-real=nan -fbacktrace"
set FCFLAGS="-ffree-line-length-none -m64 -std=f2008 -march=native -fbounds-check -fmodule-private -fimplicit-none -finit-real=nan -fbacktrace"

:: CMake configuration
mkdir build
Expand All @@ -36,7 +36,5 @@ cmake --build . -- /maxcpucount:%NUMBER_OF_PROCESSORS%
ctest --output-on-failure --test-dir . -V

:: Manually copy libraries, binaries, and Fortran module files to %PREFIX%
xcopy /s /y build\*.a %PREFIX%\lib\
xcopy /s /y build\*.dll %PREFIX%\lib\
xcopy /s /y build\*.lib %PREFIX%\lib\
xcopy /s /y build\*.mod %PREFIX%\include\
1 change: 0 additions & 1 deletion recipes/rte-rrtmgp/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ mkdir -p $PREFIX/include

# Copy libraries
find $SRC_DIR/build/ -name "*.a" -exec cp {} $PREFIX/lib/ \;
find $SRC_DIR/build/ -name "*.so*" -exec cp {} $PREFIX/lib/ \;

# Copy Fortran module files
find $SRC_DIR/build/modules -name "*.mod" -exec cp {} $PREFIX/include/ \;

0 comments on commit adde3e5

Please sign in to comment.