Skip to content

Commit

Permalink
#1891: Update ci scrips and cmake config files
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobDomagala authored and cwschilly committed Sep 20, 2024
1 parent 136de2e commit 023edc8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci/build_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ cmake -G "${CMAKE_GENERATOR:-Ninja}" \
-DCMAKE_CXX_COMPILER="${CXX:-c++}" \
-DCMAKE_C_COMPILER="${CC:-cc}" \
-DCMAKE_EXE_LINKER_FLAGS="${CMAKE_EXE_LINKER_FLAGS:-}" \
-Dcheckpoint_DIR="$CHECKPOINT_BUILD/install" \
-Dcheckpoint_ROOT="$CHECKPOINT_BUILD/install" \
-DCMAKE_PREFIX_PATH="${CMAKE_PREFIX_PATH:-}" \
-DCMAKE_INSTALL_PREFIX="$VT_BUILD/install" \
-Dvt_ci_build="${VT_CI_BUILD:-0}" \
Expand Down
2 changes: 1 addition & 1 deletion ci/ctest_job_script.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ set(configureOpts
"-DCMAKE_CXX_COMPILER=$ENV{CXX}"
"-DCMAKE_C_COMPILER=$ENV{CC}"
"-DCMAKE_EXE_LINKER_FLAGS=$ENV{CMAKE_EXE_LINKER_FLAGS}"
"-Dcheckpoint_DIR=$ENV{CHECKPOINT_BUILD}/install"
"-Dcheckpoint_ROOT=$ENV{CHECKPOINT_BUILD}/install"
"-DCMAKE_PREFIX_PATH=$ENV{CMAKE_PREFIX_PATH}"
"-DCMAKE_INSTALL_PREFIX=$ENV{VT_BUILD}/install"
"-Dvt_ci_build=$ENV{VT_CI_BUILD}"
Expand Down
2 changes: 2 additions & 0 deletions cmake/local_package.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
macro(find_package_local pkg_name pkg_other_name)
set(${pkg_name}_PACKAGE_LOADED 0)
if(hasParent)
# Skip this logic when this macro was not invoked from the
# top-level CMakeLists.txt file under the assumption that this
Expand All @@ -21,5 +22,6 @@ macro(find_package_local pkg_name pkg_other_name)
QUIET
REQUIRED
)
set(${pkg_name}_PACKAGE_LOADED 1)
endif()
endmacro(find_package_local)

0 comments on commit 023edc8

Please sign in to comment.