Skip to content

Commit

Permalink
Merge pull request #944 from svalinn/dd-ci-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gonuke authored Feb 29, 2024
2 parents 96eab05 + bd0b51f commit cf35d27
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/actions/upstream-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ inputs:
moab_version:
description: Version of MOAB
required: false
default: 5.3.0
default: 5.5.1
double_down_version:
description: Version of Double Down
required: false
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
5.5.1,
]
geant4_version : [
off,
10.7.4,
11.1.2
]
Expand Down Expand Up @@ -111,6 +112,7 @@ jobs:
5.5.1,
]
geant4_version : [
off,
10.7.4,
11.1.2
]
Expand Down
1 change: 0 additions & 1 deletion CI/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ RUN apt-get update --yes && \
g++ \
gcc \
gfortran \
libhdf5-dev \
libtool \
libeigen3-dev\
python3 \
Expand Down
2 changes: 1 addition & 1 deletion cmake/DAGMC_macros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ macro (dagmc_setup_options)

if (DOUBLE_DOWN)
find_package(DOUBLE_DOWN REQUIRED)
if (DOUBLE_DOWN_VERSION VERSION_LESS 1.1.0)
if (dd_VERSION VERSION_LESS 1.1.0)
message(FATAL_ERROR "Discovered Double Down Version: ${DOUBLE_DOWN_VERSION}. \
Please update Double Down to version 1.1.0 or greater.")
endif()
Expand Down
13 changes: 10 additions & 3 deletions cmake/FindDOUBLE_DOWN.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# dd_INCLUDE_DIRS - include directories for installed dd headers
# dd_LIBRARY_DIRS - location of installed dd libraries
# dd_LIBRARIES - set of libraries installed with dd, use to link applications against dd
# dd_VERSION - version of installed dd

find_path(dd_CMAKE_CONFIG NAMES ddConfig.cmake
HINTS ${dd_ROOT} $ENV{dd_ROOT}
Expand All @@ -14,6 +15,12 @@ find_path(dd_CMAKE_CONFIG NAMES ddConfig.cmake
PATH_SUFFIXES lib Lib cmake lib/cmake/ lib/cmake/dd
NO_DEFAULT_PATH)

message(STATUS "Found dd in ${dd_CMAKE_CONFIG}")

include(${dd_CMAKE_CONFIG}/ddConfig.cmake)
if (dd_CMAKE_CONFIG)
message(STATUS "Found dd in ${dd_CMAKE_CONFIG}")
include(${dd_CMAKE_CONFIG}/ddConfig.cmake)
include(${dd_CMAKE_CONFIG}/ddConfigVersion.cmake)
set(dd_VERSION ${PACKAGE_VERSION})
message(STATUS "Found dd version ${dd_VERSION}")
else()
message(FATAL_ERROR "Could not find dd")
endif()
2 changes: 1 addition & 1 deletion doc/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Next version
* Update MOAB to 5.5.1 from 5.3.0 (#939 #940)
* Update README regarding OpenMC (#938)
* Simplify Housekeeping Process for DAGMC (#943)
* Allow Double Down v1.1.0 Installation in Dockerfile (#929)
* Allow Double Down v1.1.0 Installation in Dockerfile (#929 #944)
* Inline documentation improvements (#945)

v3.2.3
Expand Down

0 comments on commit cf35d27

Please sign in to comment.