Skip to content

Commit

Permalink
Fixes for static linking
Browse files Browse the repository at this point in the history
  • Loading branch information
wdeconinck committed Nov 9, 2020
1 parent 66f0003 commit d300465
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions cmake/features/OMP.cmake
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
### OMP ...
if( "${CMAKE_VERSION}" VERSION_LESS "3.11" )
if( ENABLE_OMP )
ecbuild_warn( "OpenMP only supported with CMake 3.11 onwards" )
endif()
else()
find_package( OpenMP COMPONENTS CXX ${Fortran} )
endif()
find_package( OpenMP COMPONENTS CXX ${Fortran} )
ecbuild_add_option( FEATURE OMP
DESCRIPTION "support for OpenMP shared memory parallelism"
CONDITION OpenMP_Fortran_FOUND OR OpenMP_CXX_FOUND )
Expand Down Expand Up @@ -56,4 +50,4 @@ if( HAVE_OMP_CXX )
endif()
endif()

endif()
endif()
4 changes: 2 additions & 2 deletions src/atlas/library/Library.cc
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,8 @@ void Library::Information::print( std::ostream& out ) const {
#ifdef TRANS_HAVE_FAUX
out << " trans version (" << trans_version_str() << "), "
<< "git-sha1 " << trans_git_sha1_abbrev( 7 ) << '\n';
out << " faux version (" << faux_version_str() << "), "
<< "git-sha1 " << faux_git_sha1_abbrev( 7 ) << '\n';
out << " faux version (" << trans_faux_version_str() << "), "
<< "git-sha1 " << trans_faux_git_sha1_abbrev( 7 ) << '\n';
#else
out << " transi version (" << transi_version() << "), "
<< "git-sha1 " << transi_git_sha1_abbrev( 7 ) << '\n';
Expand Down

0 comments on commit d300465

Please sign in to comment.