Skip to content

Commit

Permalink
MOAB Current version is not compatible with MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnaf-tahmid-chowdhury committed May 17, 2024
1 parent 7b74e6b commit fd470a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 7 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,11 @@ if(ENABLE_MOAB)
set(MOAB_ROOT "${CMAKE_BINARY_DIR}/moab")
ExternalProject_Add(moab-project
PREFIX ${MOAB_ROOT}
GIT_REPOSITORY https://bitbucket.org/fathomteam/moab.git
GIT_TAG ${MOAB_VERSION}
# TODO: MOAB Current version is not compatible with MacOS
#GIT_REPOSITORY https://bitbucket.org/fathomteam/moab.git
#GIT_TAG ${MOAB_VERSION}
GIT_REPOSITORY https://bitbucket.org/ahnaf-tahmid-chowdhury/moab.git
GIT_TAG skbuild
CMAKE_ARGS
-DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
-DBUILD_SHARED_LIBS:BOOL=ON
Expand All @@ -228,7 +231,7 @@ if(ENABLE_MOAB)
-DEIGEN3_DIR:PATH=${EIGEN3_INCLUDE_DIRS}
-DENABLE_BLASLAPACK:BOOL=OFF
-DENABLE_FORTRAN:BOOL=OFF
#DOWNLOAD_EXTRACT_TIMESTAMP true
DOWNLOAD_EXTRACT_TIMESTAMP true
BUILD_BYPRODUCTS "${MOAB_ROOT}/${CMAKE_INSTALL_LIBDIR}/libMOAB${CMAKE_SHARED_LIBRARY_SUFFIX}"
)
set(MOAB_INCLUDE_DIRS "${MOAB_ROOT}/include")
Expand Down Expand Up @@ -304,6 +307,7 @@ if(ENABLE_DAGMC)
-DBUILD_MAKE_WATERTIGHT:BOOL=OFF
-DBUILD_OVERLAP_CHECK:BOOL=OFF
-DBUILD_TESTS:BOOL=OFF
-DBUILD_RPATH:BOOL=OFF
BUILD_BYPRODUCTS "${DAGMC_ROOT}/lib/libdagmc${CMAKE_SHARED_LIBRARY_SUFFIX}"
)
set(DAGMC_INCLUDE_DIRS "${DAGMC_ROOT}/include")
Expand Down
2 changes: 0 additions & 2 deletions cmake/PyneMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ endmacro()
macro(pyne_configure_rpath)
if(APPLE)
set(CMAKE_MACOSX_RPATH ON)
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH OFF)
set(CMAKE_BUILD_WITH_INSTALL_RPATH ON)
set(RPATH "@loader_path")
elseif(UNIX)
set(RPATH "$ORIGIN")
Expand Down

0 comments on commit fd470a7

Please sign in to comment.