Skip to content

Commit

Permalink
remove BUILD_DOCS as an option
Browse files Browse the repository at this point in the history
  • Loading branch information
slabasan committed Nov 7, 2023
1 parent 2a5ae2b commit 4592724
Show file tree
Hide file tree
Showing 40 changed files with 1 addition and 2,950 deletions.
89 changes: 1 addition & 88 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,9 @@ jobs:
strategy:
matrix:
cc-version: [11, 10, 9]
config: [boilerplate, shared_debug_log_docs, shared_debug_docs, shared_debug_log, shared_debug, static_debug_log_docs, static_debug_docs, static_debug_log, static_debug, shared_release_log_docs]
config: [boilerplate, shared_debug_log, shared_debug, static_debug_log, static_debug]

exclude:
- config: shared_debug_log_docs
cc-version: 11
- config: shared_debug_log_docs
cc-version: 10

- config: shared_debug_docs
cc-version: 11
- config: shared_debug_docs
cc-version: 10

- config: shared_debug_log
cc-version: 11
- config: shared_debug_log
Expand All @@ -37,16 +27,6 @@ jobs:
- config: shared_debug
cc-version: 10

- config: static_debug_log_docs
cc-version: 11
- config: static_debug_log_docs
cc-version: 10

- config: static_debug_docs
cc-version: 11
- config: static_debug_docs
cc-version: 10

- config: static_debug_log
cc-version: 11
- config: static_debug_log
Expand All @@ -57,15 +37,9 @@ jobs:
- config: static_debug
cc-version: 10

- config: shared_release_log_docs
cc-version: 11
- config: shared_release_log_docs
cc-version: 10

include:
- config: boilerplate
BUILD_SHARED_LIBS: ON
BUILD_DOCS: ON
BUILD_TESTS: ON
CMAKE_BUILD_TYPE: RelWithDebInfo
ENABLE_FORTRAN: ON
Expand All @@ -74,29 +48,8 @@ jobs:
VARIORUM_DEBUG: ON
ENABLE_WARNINGS: ON

- config: shared_debug_log_docs
BUILD_SHARED_LIBS: ON
BUILD_DOCS: ON
BUILD_TESTS: OFF
CMAKE_BUILD_TYPE: Debug
ENABLE_FORTRAN: OFF
ENABLE_MPI: OFF
ENABLE_OPENMP: OFF
VARIORUM_DEBUG: ON

- config: shared_debug_docs
BUILD_SHARED_LIBS: ON
BUILD_DOCS: ON
BUILD_TESTS: OFF
CMAKE_BUILD_TYPE: Debug
ENABLE_FORTRAN: OFF
ENABLE_MPI: OFF
ENABLE_OPENMP: OFF
VARIORUM_DEBUG: OFF

- config: shared_debug_log
BUILD_SHARED_LIBS: ON
BUILD_DOCS: OFF
BUILD_TESTS: OFF
CMAKE_BUILD_TYPE: Debug
ENABLE_FORTRAN: OFF
Expand All @@ -106,37 +59,15 @@ jobs:

- config: shared_debug
BUILD_SHARED_LIBS: ON
BUILD_DOCS: OFF
BUILD_TESTS: OFF
CMAKE_BUILD_TYPE: Debug
ENABLE_FORTRAN: OFF
ENABLE_MPI: OFF
ENABLE_OPENMP: OFF
VARIORUM_DEBUG: OFF

- config: static_debug_log_docs
BUILD_SHARED_LIBS: OFF
BUILD_DOCS: ON
BUILD_TESTS: OFF
CMAKE_BUILD_TYPE: Debug
ENABLE_FORTRAN: OFF
ENABLE_MPI: OFF
ENABLE_OPENMP: OFF
VARIORUM_DEBUG: OFF

- config: static_debug_docs
BUILD_SHARED_LIBS: OFF
BUILD_DOCS: ON
BUILD_TESTS: OFF
CMAKE_BUILD_TYPE: Debug
ENABLE_FORTRAN: OFF
ENABLE_MPI: OFF
ENABLE_OPENMP: OFF
VARIORUM_DEBUG: ON

- config: static_debug_log
BUILD_SHARED_LIBS: OFF
BUILD_DOCS: OFF
BUILD_TESTS: OFF
CMAKE_BUILD_TYPE: Debug
ENABLE_FORTRAN: OFF
Expand All @@ -146,24 +77,13 @@ jobs:

- config: static_debug
BUILD_SHARED_LIBS: OFF
BUILD_DOCS: OFF
BUILD_TESTS: OFF
CMAKE_BUILD_TYPE: Debug
ENABLE_FORTRAN: OFF
ENABLE_MPI: OFF
ENABLE_OPENMP: OFF
VARIORUM_DEBUG: OFF

- config: shared_release_log_docs
BUILD_SHARED_LIBS: ON
BUILD_DOCS: ON
BUILD_TESTS: ON
CMAKE_BUILD_TYPE: Release
ENABLE_FORTRAN: OFF
ENABLE_MPI: OFF
ENABLE_OPENMP: OFF
VARIORUM_DEBUG: OFF

steps:
# Checkout variorum repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v2
Expand Down Expand Up @@ -194,7 +114,6 @@ jobs:
# setup cmake options
export CMAKE_OPTS="-DBUILD_SHARED_LIBS=${{matrix.BUILD_SHARED_LIBS}}"
export CMAKE_OPTS="${CMAKE_OPTS} -DCMAKE_C_COMPILER=gcc-${{matrix.cc-version}}"
export CMAKE_OPTS="${CMAKE_OPTS} -DBUILD_DOCS=${{matrix.BUILD_DOCS}}"
export CMAKE_OPTS="${CMAKE_OPTS} -DBUILD_TESTS=${{matrix.BUILD_TESTS}}"
export CMAKE_OPTS="${CMAKE_OPTS} -DCMAKE_BUILD_TYPE=${{matrix.CMAKE_BUILD_TYPE}}"
export CMAKE_OPTS="${CMAKE_OPTS} -DENABLE_FORTRAN=${{matrix.ENABLE_FORTRAN}}"
Expand Down Expand Up @@ -228,7 +147,6 @@ jobs:
- name: Compile check
env:
BUILD_SHARED_LIBS: ON
BUILD_DOCS: OFF
BUILD_TESTS: OFF
CMAKE_BUILD_TYPE: Release
ENABLE_FORTRAN: ON
Expand All @@ -242,7 +160,6 @@ jobs:
cd build
# setup cmake options
export CMAKE_OPTS="-DBUILD_SHARED_LIBS=${{env.BUILD_SHARED_LIBS}}"
export CMAKE_OPTS="${CMAKE_OPTS} -DBUILD_DOCS=${{env.BUILD_DOCS}}"
export CMAKE_OPTS="${CMAKE_OPTS} -DBUILD_TESTS=${{env.BUILD_TESTS}}"
export CMAKE_OPTS="${CMAKE_OPTS} -DCMAKE_BUILD_TYPE=${{env.CMAKE_BUILD_TYPE}}"
export CMAKE_OPTS="${CMAKE_OPTS} -DENABLE_FORTRAN=${{env.ENABLE_FORTRAN}}"
Expand Down Expand Up @@ -376,7 +293,6 @@ jobs:
#
# env:
# BUILD_SHARED_LIBS: ON
# BUILD_DOCS: ON
# BUILD_TESTS: ON
# CMAKE_BUILD_TYPE: RelWithDebInfo
# ENABLE_FORTRAN: ON
Expand Down Expand Up @@ -445,7 +361,6 @@ jobs:
# cd build
# # setup cmake options
# export CMAKE_OPTS="-DBUILD_SHARED_LIBS=${{env.BUILD_SHARED_LIBS}}"
# export CMAKE_OPTS="${CMAKE_OPTS} -DBUILD_DOCS=${{env.BUILD_DOCS}}"
# export CMAKE_OPTS="${CMAKE_OPTS} -DBUILD_TESTS=${{env.BUILD_TESTS}}"
# export CMAKE_OPTS="${CMAKE_OPTS} -DCMAKE_BUILD_TYPE=${{env.CMAKE_BUILD_TYPE}}"
# export CMAKE_OPTS="${CMAKE_OPTS} -DENABLE_FORTRAN=${{env.ENABLE_FORTRAN}}"
Expand All @@ -462,5 +377,3 @@ jobs:
# VERBOSE=1 make -j
# # install
# make -j install
# # build docs
# make -j docs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ set(CMAKE_CXX_COMPILER "g++" CACHE PATH "")
# fortran compiler
set(CMAKE_Fortran_COMPILER "gfortran" CACHE PATH "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(ENABLE_MPI OFF CACHE BOOL "")
Expand Down
1 change: 0 additions & 1 deletion host-configs/alehouse-rhel-gcc@8.5.0-cuda@12.0.0.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ set(CMAKE_Fortran_COMPILER "gfortran" CACHE PATH "")
set(ENABLE_MPI OFF CACHE BOOL "")
set(ENABLE_OPENMP OFF CACHE BOOL "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(VARIORUM_WITH_AMD_CPU OFF CACHE BOOL "")
Expand Down
1 change: 0 additions & 1 deletion host-configs/alehouse-rhel-gcc@8.5.0.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ set(CMAKE_CXX_COMPILER "g++" CACHE PATH "")
# fortran compiler
set(CMAKE_Fortran_COMPILER "gfortran" CACHE PATH "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(ENABLE_MPI OFF CACHE BOOL "")
Expand Down
6 changes: 0 additions & 6 deletions host-configs/boilerplate.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,9 @@ set(VARIORUM_DEBUG OFF CACHE BOOL "")
set(ENABLE_MPI ON CACHE BOOL "")
set(ENABLE_OPENMP ON CACHE BOOL "")

# build documentation (depends on sphinx, doxygen, and breathe)
set(BUILD_DOCS ON CACHE BOOL "")

# build unit tests
set(BUILD_TESTS ON CACHE BOOL "")

# SPHINX documentation building
set("SPHINX_EXECUTABLE" "/path/to/sphinx-build" CACHE PATH "")

# path to global hwloc install
set(HWLOC_DIR "/path/to/hwloc-build" CACHE PATH "")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ set(CMAKE_CXX_COMPILER "g++" CACHE PATH "")
set(ENABLE_MPI OFF CACHE BOOL "")
set(ENABLE_OPENMP OFF CACHE BOOL "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(VARIORUM_WITH_AMD_CPU OFF CACHE BOOL "")
Expand Down
5 changes: 0 additions & 5 deletions host-configs/butte-4.14.0-ppc64le-gcc@4.9.3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,4 @@ set(VARIORUM_WITH_NVIDIA_GPU OFF CACHE BOOL "")

set(VARIORUM_DEBUG OFF CACHE BOOL "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

#SPHINX documentation building
set("SPHINX_EXECUTABLE" "/collab/usr/gapps/python/build/spack-coralea/opt/spack/linux-rhel7-ppc64le/gcc-4.8.5/py-sphinx-1.6.1-txjs2mkq6eoq6eteawczvpnnfopaychw/bin/sphinx-build" CACHE PATH "")

4 changes: 0 additions & 4 deletions host-configs/catalyst-toss_3_x86_64_ib-gcc@8.3.1.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ set(USE_MSR_SAFE_BEFORE_1_5_0 ON CACHE BOOL "")
set(ENABLE_MPI OFF CACHE BOOL "")
set(ENABLE_OPENMP ON CACHE BOOL "")

set(BUILD_DOCS ON CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(VARIORUM_WITH_AMD_CPU OFF CACHE BOOL "")
Expand All @@ -27,6 +26,3 @@ set(VARIORUM_WITH_IBM_CPU OFF CACHE BOOL "")
set(VARIORUM_WITH_INTEL_CPU ON CACHE BOOL "")
set(VARIORUM_WITH_INTEL_GPU OFF CACHE BOOL "")
set(VARIORUM_WITH_NVIDIA_GPU OFF CACHE BOOL "")

#SPHINX documentation building
set("SPHINX_EXECUTABLE" "/usr/bin/sphinx-build" CACHE PATH "")
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ set(CMAKE_Fortran_COMPILER "/usr/bin/gfortran" CACHE PATH "")
set(ENABLE_MPI OFF CACHE BOOL "")
set(ENABLE_OPENMP OFF CACHE BOOL "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(VARIORUM_DEBUG OFF CACHE BOOL "")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ set(USE_MSR_SAFE_BEFORE_1_5_0 OFF CACHE BOOL "")
set(ENABLE_MPI OFF CACHE BOOL "")
set(ENABLE_OPENMP OFF CACHE BOOL "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(VARIORUM_WITH_AMD_CPU OFF CACHE BOOL "")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ set(CMAKE_Fortran_COMPILER "/usr/tce/packages/gcc-tce/gcc-10.3.1/bin/gfortran" C
set(ENABLE_MPI OFF CACHE BOOL "")
set(ENABLE_OPENMP OFF CACHE BOOL "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(VARIORUM_DEBUG OFF CACHE BOOL "")
Expand Down
1 change: 0 additions & 1 deletion host-configs/epyc-x86_64-gcc@8.4.0.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ set(CMAKE_C_COMPILER "gcc" CACHE PATH "")
# cpp compiler
set(CMAKE_CXX_COMPILER "g++" CACHE PATH "")

set(BUILD_DOCS ON CACHE BOOL "")
set(BUILD_TESTS ON CACHE BOOL "")

set(VARIORUM_WITH_AMD_CPU ON CACHE BOOL "")
Expand Down
1 change: 0 additions & 1 deletion host-configs/juno-armv8-gcc@5.2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ set(VARIORUM_WITH_NVIDIA_GPU OFF CACHE BOOL "")

set(VARIORUM_DEBUG OFF CACHE BOOL "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

# path to global hwloc install
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ set(CMAKE_C_COMPILER "/usr/tce/packages/gcc/gcc-8.3.1/bin/gcc" CACHE PATH "")
# cpp compiler
set(CMAKE_CXX_COMPILER "/usr/tce/packages/gcc/gcc-8.3.1/bin/g++" CACHE PATH "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(VARIORUM_WITH_AMD_CPU OFF CACHE BOOL "")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ set(CMAKE_CXX_COMPILER "/usr/tce/packages/gcc/gcc-8.3.1/bin/g++" CACHE PATH "")
set(ENABLE_MPI OFF CACHE BOOL "")
set(ENABLE_OPENMP ON CACHE BOOL "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(VARIORUM_WITH_AMD_CPU OFF CACHE BOOL "")
Expand Down
4 changes: 0 additions & 4 deletions host-configs/lassen-4.14.0-ppc64le-gcc@8.3.1.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,4 @@ set(VARIORUM_WITH_NVIDIA_GPU OFF CACHE BOOL "")

set(VARIORUM_DEBUG OFF CACHE BOOL "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS ON CACHE BOOL "")

#SPHINX documentation building
set("SPHINX_EXECUTABLE" "/collab/usr/gapps/python/build/spack-coralea/opt/spack/linux-rhel7-ppc64le/gcc-4.8.5/py-sphinx-1.6.1-txjs2mkq6eoq6eteawczvpnnfopaychw/bin/sphinx-build" CACHE PATH "")
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ set(CMAKE_C_COMPILER "/usr/bin/gcc" CACHE PATH "")
# cpp compiler
set(CMAKE_CXX_COMPILER "/usr/bin/g++" CACHE PATH "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(VARIORUM_WITH_AMD_CPU OFF CACHE BOOL "")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ set(USE_MSR_SAFE_BEFORE_1_5_0 OFF CACHE BOOL "")

set(VARIORUM_DEBUG OFF CACHE BOOL "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

# path to global hwloc install
Expand Down
1 change: 0 additions & 1 deletion host-configs/pluto5-rhel_x86_64-gcc@8.4.1.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ set(CMAKE_CXX_COMPILER "g++" CACHE PATH "")

set(ENABLE_FORTRAN OFF CACHE PATH "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS ON CACHE BOOL "")

set(ENABLE_MPI OFF CACHE BOOL "")
Expand Down
4 changes: 0 additions & 4 deletions host-configs/quartz-toss_4_x86_64_ib-gcc@10.3.1.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ set(USE_MSR_SAFE_BEFORE_1_5_0 ON CACHE BOOL "")
set(ENABLE_MPI ON CACHE BOOL "")
set(ENABLE_OPENMP ON CACHE BOOL "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(VARIORUM_WITH_AMD_CPU OFF CACHE BOOL "")
Expand All @@ -27,6 +26,3 @@ set(VARIORUM_WITH_IBM_CPU OFF CACHE BOOL "")
set(VARIORUM_WITH_INTEL_CPU ON CACHE BOOL "")
set(VARIORUM_WITH_INTEL_GPU OFF CACHE BOOL "")
set(VARIORUM_WITH_NVIDIA_GPU OFF CACHE BOOL "")

#SPHINX documentation building
set("SPHINX_EXECUTABLE" "/collab/usr/gapps/python/build/spack-toss3.2/opt/spack/linux-rhel7-x86_64/gcc-4.9.3/py-sphinx-1.6.3-pd3yayuuejdpggkyqvhxbljwh4fhpo43/bin/sphinx-build" CACHE PATH "")
1 change: 0 additions & 1 deletion host-configs/quartz-toss_4_x86_64_ib-intel@2022.1.0.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ set(USE_MSR_SAFE_BEFORE_1_5_0 ON CACHE BOOL "")
set(ENABLE_MPI OFF CACHE BOOL "")
set(ENABLE_OPENMP OFF CACHE BOOL "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(VARIORUM_WITH_AMD_CPU OFF CACHE BOOL "")
Expand Down
1 change: 0 additions & 1 deletion host-configs/radon.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ set(ENABLE_MPI OFF CACHE BOOL "")
set(ENABLE_OPENMP OFF CACHE BOOL "")


set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(VARIORUM_WITH_AMD_CPU OFF CACHE BOOL "")
Expand Down
1 change: 0 additions & 1 deletion host-configs/ray-blueos_3_ppc64le-gcc@4.9.3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ set(VARIORUM_WITH_INTEL_CPU OFF CACHE BOOL "")
set(VARIORUM_WITH_INTEL_GPU ON CACHE BOOL "")
set(VARIORUM_WITH_NVIDIA_GPU OFF CACHE BOOL "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ set(CMAKE_Fortran_COMPILER "gfortran" CACHE PATH "")
set(ENABLE_MPI OFF CACHE BOOL "")
set(ENABLE_OPENMP OFF CACHE BOOL "")

set(BUILD_DOCS OFF CACHE BOOL "")
set(BUILD_TESTS OFF CACHE BOOL "")

set(VARIORUM_WITH_AMD_CPU OFF CACHE BOOL "")
Expand Down
Loading

0 comments on commit 4592724

Please sign in to comment.