Skip to content

Commit

Permalink
fixed mistake in the buildscript for ecCodes
Browse files Browse the repository at this point in the history
  • Loading branch information
nobrewittwer committed Feb 17, 2025
1 parent 58109ba commit 7ea0e2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,9 @@ if [ $ifBuildAll = true ] || [ $ifBuildEcCodes = true ] ; then
printf "starting to compile ecCodes...\n"
strTarget=$strFileEcCodes
cp $strTarget.tar.gz $strBuildDir/src && cd $strBuildDir/src && tar xvf $strTarget.tar.gz
cd $strBuildDir/src && cmake -DCMAKE_INSTALL_PREFIX=$strBuildDir/src -DBUILD_SHARED_LIBS=OFF -DENABLE_AEC=OFF -DENABLE_JPEG=OFF -DENABLE_FORTRAN=OFF $strTarget && make && ctest && make install \
cd $strBuildDir/src && cmake -DCMAKE_INSTALL_PREFIX=$strBuildDir/src -DBUILD_SHARED_LIBS=BOTH -DENABLE_AEC=OFF -DENABLE_JPEG=OFF -DENABLE_FORTRAN=OFF $strTarget && make -j $numProcs && ctest -j $numProcs && make install \
&& cp -a include/* $strBuildDir/include/ \
&& cp -a lib/libeccodes* $strBuildDir/lib/ \
|| exit

fi
Expand Down

0 comments on commit 7ea0e2b

Please sign in to comment.