Skip to content

Commit

Permalink
Pull request #524: Bugfix/install nvector tests
Browse files Browse the repository at this point in the history
Merge in SUNDIALS/sunrepo from bugfix/install-nvector-tests to develop

Squashed commit of the following:

commit 4509bcc22f840d0365c5b19ec92ff8eeeefa7ce8
Author: Balos, Cody Joe <balos1@llnl.gov>
Date:   Mon Feb 7 17:01:52 2022 -0800

    remove sundials_nvector.c from the rest of the vector tests

commit 8c9ae5790ca56a780565f886c11bac1a783812a9
Author: Balos, Cody Joe <balos1@llnl.gov>
Date:   Mon Feb 7 16:16:12 2022 -0800

    remove dependency on sundials_nvector.c in the installed nvector example for cuda, serial, sycl
  • Loading branch information
balos1 authored and gardner48 committed Feb 8, 2022
1 parent 51ad3ab commit 7e1a8a3
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 31 deletions.
2 changes: 0 additions & 2 deletions examples/nvector/C_openmp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ set(nvector_openmp_examples
# Dependencies for nvector examples
set(nvector_examples_dependencies
test_nvector
sundials_nvector
)

# If building F2003 tests
Expand Down Expand Up @@ -93,7 +92,6 @@ foreach(example_tuple ${nvector_openmp_examples})
install(FILES ${example}.c
../test_nvector.c
../test_nvector.h
${SUNDIALS_SOURCE_DIR}/src/sundials/sundials_nvector.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/C_openmp)
endif()

Expand Down
2 changes: 0 additions & 2 deletions examples/nvector/cuda/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ set(nvector_cuda_examples
# Dependencies for nvector examples
set(nvector_examples_dependencies
test_nvector
sundials_nvector
)

# Add source directory to include directories
Expand Down Expand Up @@ -92,7 +91,6 @@ foreach(example_tuple ${nvector_cuda_examples})
../test_nvector.c
../test_nvector.h
${SUNDIALS_SOURCE_DIR}/examples/utilities/custom_memory_helper_gpu.h
${SUNDIALS_SOURCE_DIR}/src/sundials/sundials_nvector.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/cuda)
endif()

Expand Down
2 changes: 0 additions & 2 deletions examples/nvector/manyvector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ set(nvector_manyvector_examples
# Dependencies for nvector examples
set(nvector_examples_dependencies
test_nvector
sundials_nvector
)

# If building F2003 tests
Expand Down Expand Up @@ -90,7 +89,6 @@ foreach(example_tuple ${nvector_manyvector_examples})
install(FILES ${example}.c
../test_nvector.c
../test_nvector.h
../../../src/sundials/sundials_nvector.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/manyvector)
endif()

Expand Down
2 changes: 0 additions & 2 deletions examples/nvector/mpicuda/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ set(nvector_cuda_examples
set(nvector_examples_dependencies
test_nvector
test_mpinvector
sundials_nvector
)

# Add source directory to include directories
Expand Down Expand Up @@ -97,7 +96,6 @@ foreach(example_tuple ${nvector_cuda_examples})
../test_nvector.c
../test_mpinvector.c
../test_nvector.h
../../../src/sundials/sundials_nvector.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/mpicuda)
endif()

Expand Down
2 changes: 0 additions & 2 deletions examples/nvector/mpimanyvector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ set(nvector_mpimanyvector_examples
set(nvector_examples_dependencies
test_nvector
test_mpinvector
sundials_nvector
)

# If building F2003 tests
Expand Down Expand Up @@ -129,7 +128,6 @@ foreach(example_tuple ${nvector_mpimanyvector_examples})
../test_nvector.c
../test_mpinvector.c
../test_nvector.h
../../../src/sundials/sundials_nvector.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/mpimanyvector)
endif()

Expand Down
2 changes: 0 additions & 2 deletions examples/nvector/mpiplusx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ set(nvector_mpiplusx_examples
set(nvector_examples_dependencies
test_nvector
test_mpinvector
sundials_nvector
)

# If building F2003 tests
Expand Down Expand Up @@ -127,7 +126,6 @@ foreach(example_tuple ${nvector_mpiplusx_examples})
../test_nvector.c
../test_mpinvector.c
../test_nvector.h
../../../src/sundials/sundials_nvector.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/mpiplusx)
endif()

Expand Down
2 changes: 0 additions & 2 deletions examples/nvector/mpiraja/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ set(nvector_raja_examples
set(nvector_examples_dependencies
test_nvector
test_mpinvector
sundials_nvector
sundials_math
)

Expand Down Expand Up @@ -109,7 +108,6 @@ foreach(example_tuple ${nvector_raja_examples})
../test_nvector.c
../test_mpinvector.c
../test_nvector.h
../../../src/sundials/sundials_nvector.c
../../../src/sundials/sundials_math.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/mpiraja)
endif()
Expand Down
2 changes: 0 additions & 2 deletions examples/nvector/openmpdev/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ set(nvector_openmpdev_examples
# Dependencies for nvector examples
set(nvector_examples_dependencies
test_nvector
sundials_nvector
)

# Add source directory to include directories
Expand Down Expand Up @@ -82,7 +81,6 @@ foreach(example_tuple ${nvector_openmpdev_examples})
install(FILES ${example}.c
../test_nvector.c
../test_nvector.h
../../../src/sundials/sundials_nvector.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/openmpdev)
endif()

Expand Down
3 changes: 0 additions & 3 deletions examples/nvector/parhyp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ set(nvector_parhyp_examples
set(nvector_examples_dependencies
test_nvector
test_mpinvector
sundials_nvector
)

# Add source directory to include directories
Expand Down Expand Up @@ -109,8 +108,6 @@ foreach(example_tuple ${nvector_parhyp_examples})
install(FILES ${example}.c
../test_nvector.c
../test_mpinvector.c
../test_nvector.h
../../../src/sundials/sundials_nvector.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/parhyp)
endif()

Expand Down
2 changes: 0 additions & 2 deletions examples/nvector/petsc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ set(nvector_petsc_examples
set(nvector_examples_dependencies
test_nvector
test_mpinvector
sundials_nvector
)

# Add source directory to include directories
Expand Down Expand Up @@ -107,7 +106,6 @@ foreach(example_tuple ${nvector_petsc_examples})
../test_nvector.c
../test_mpinvector.c
../test_nvector.h
../../../src/sundials/sundials_nvector.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/petsc)
endif()

Expand Down
2 changes: 0 additions & 2 deletions examples/nvector/pthreads/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ set(nvector_pthreads_examples
# Dependencies for nvector examples
set(nvector_examples_dependencies
test_nvector
sundials_nvector
)

# If building F2003 tests
Expand Down Expand Up @@ -93,7 +92,6 @@ foreach(example_tuple ${nvector_pthreads_examples})
install(FILES ${example}.c
../test_nvector.c
../test_nvector.h
${SUNDIALS_SOURCE_DIR}/src/sundials/sundials_nvector.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/pthreads)
endif()

Expand Down
2 changes: 0 additions & 2 deletions examples/nvector/raja/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ set(nvector_raja_examples
# Dependencies for nvector examples
set(nvector_examples_dependencies
test_nvector
sundials_nvector
sundials_math
)

Expand Down Expand Up @@ -107,7 +106,6 @@ foreach(example_tuple ${nvector_raja_examples})
../test_nvector.c
../test_nvector.h
${SUNDIALS_SOURCE_DIR}/examples/utilities/${_custom_memhelper}
${SUNDIALS_SOURCE_DIR}/src/sundials/sundials_nvector.c
${SUNDIALS_SOURCE_DIR}/src/sundials/sundials_math.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/raja)
endif()
Expand Down
2 changes: 0 additions & 2 deletions examples/nvector/serial/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ set(nvector_serial_examples
# Dependencies for nvector examples
set(nvector_examples_dependencies
test_nvector
sundials_nvector
)

# If building F2003 tests
Expand Down Expand Up @@ -90,7 +89,6 @@ foreach(example_tuple ${nvector_serial_examples})
install(FILES ${example}.c
../test_nvector.c
../test_nvector.h
${SUNDIALS_SOURCE_DIR}/src/sundials/sundials_nvector.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/serial)
endif()

Expand Down
1 change: 0 additions & 1 deletion examples/nvector/sycl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ foreach(example_tuple ${nvector_sycl_examples})
../test_nvector.c
../test_nvector.h
${SUNDIALS_SOURCE_DIR}/examples/utilities/custom_memory_helper_sycl.h
${SUNDIALS_SOURCE_DIR}/src/sundials/sundials_nvector.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/sycl)
endif()

Expand Down
3 changes: 0 additions & 3 deletions examples/nvector/trilinos/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,10 @@ if(Trilinos_MPI)
set(nvector_examples_dependencies
test_nvector
test_mpinvector
sundials_nvector
)
else()
set(nvector_examples_dependencies
test_nvector
sundials_nvector
)
endif()

Expand Down Expand Up @@ -118,7 +116,6 @@ foreach(example_tuple ${nvector_trilinos_examples})
../test_nvector.c
../test_mpinvector.c
../test_nvector.h
../../../src/sundials/sundials_nvector.c
DESTINATION ${EXAMPLES_INSTALL_PATH}/nvector/trilinos)
endif()

Expand Down

0 comments on commit 7e1a8a3

Please sign in to comment.