Skip to content

Commit

Permalink
Updates to make repo smaller and build faster
Browse files Browse the repository at this point in the history
  • Loading branch information
John Foster committed Jul 8, 2014
1 parent d715c22 commit 0201f16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN wget http://trilinos.sandia.gov/download/files/trilinos-11.8.1-Source.tar.bz
ADD trilinos-debian-cmake.sh /trilinos-11.8.1-Source/build/trilinos-debian-cmake.sh
RUN cd trilinos-11.8.1-Source/build;\
./trilinos-debian-cmake.sh;\
make -j16 && make install;\
make && make install;\
cd ../..;\
rm -rf trilinos-11.8.1-Source trilinos-11.8.1-Source.tar.bz2

10 changes: 3 additions & 7 deletions trilinos-debian-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr/local/trilinos/ \
-D Trilinos_WARNINGS_AS_ERRORS_FLAGS:STRING="" \
\
-D Trilinos_ENABLE_ALL_PACKAGES:BOOL=OFF \
-D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \
-D Trilinos_ENABLE_ALL_FORWARD_DEP_PACKAGES:BOOL=ON \
-D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=OFF \
-D Trilinos_ENABLE_ALL_FORWARD_DEP_PACKAGES:BOOL=OFF \
-D Trilinos_ENABLE_Teuchos:BOOL=ON \
-D Trilinos_ENABLE_Shards:BOOL=ON \
-D Trilinos_ENABLE_Sacado:BOOL=ON \
Expand All @@ -29,26 +29,22 @@ cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr/local/trilinos/ \
-D Phalanx_EXPLICIT_TEMPLATE_INSTANTIATION:BOOL=ON \
-D Trilinos_ENABLE_Zoltan:BOOL=ON \
-D Trilinos_ENABLE_SEACAS:BOOL=ON \
-D Trilinos_ENABLE_SECONDARY_STABLE_CODE:BOOL=ON \
-D Trilinos_ENABLE_NOX:BOOL=ON \
-D Trilinos_ENABLE_Intrepid:BOOL=ON \
-D Trilinos_ENABLE_Isorropia:BOOL=ON \
-D Trilinos_ENABLE_SEACASPLT=OFF \
-D Trilinos_ENABLE_SEACASBlot=OFF \
-D Trilinos_ENABLE_SEACASFastq=OFF \
\
-D Trilinos_ENABLE_EXAMPLES:BOOL=OFF \
-D Trilinos_ENABLE_TESTS:BOOL=OFF \
\
-D TPL_ENABLE_Netcdf:BOOL=ON \
-D TPL_ENABLE_MATLAB:BOOL=OFF \
-D TPL_ENABLE_Matio:BOOL=OFF \
-D TPL_ENABLE_Netcdf:BOOL=ON \
-D Netcdf_INCLUDE_DIRS:PATH=/usr/local/netcdf/include \
-D Netcdf_LIBRARY_DIRS:PATH=/usr/local/netcdf/lib \
-D TPL_ENABLE_MPI:BOOL=ON \
-D TPL_ENABLE_BLAS:BOOL=ON \
-D TPL_ENABLE_LAPACK:BOOL=ON \
-D TPL_LAPACK_LIBRARIES:STRING=/usr/lib/liblapack.dylib \
-D TPL_ENABLE_Boost:BOOL=ON \
-D TPL_Boost_INCLUDE_DIRS:PATH=/usr/include/boost \
-D TPL_ENABLE_QT:BOOL=OFF \
Expand Down

0 comments on commit 0201f16

Please sign in to comment.