Skip to content

Commit

Permalink
Remove BLAS and LAPACK options
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrepebay committed Nov 5, 2024
1 parent 1fb9170 commit d8e314f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci-trilinos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ jobs:
-D PRESSIO_ENABLE_TPL_TRILINOS:BOOL=ON \
-D PRESSIO_ENABLE_EPETRA:BOOL=${{ matrix.epetra_toggle }} \
-D PRESSIO_ENABLE_TPL_KOKKOS:BOOL=ON \
-D PRESSIO_ENABLE_TPL_BLAS:BOOL=ON \
-D PRESSIO_ENABLE_TPL_LAPACK:BOOL=ON \
-D EIGEN_INCLUDE_DIR=/eigen/eigen-${{ env.eigen_version }} \
-D Trilinos_DIR=${{ env.trilinos_dir }}/lib/cmake/Trilinos \
-D CMAKE_INSTALL_PREFIX:PATH=../install \
Expand Down
20 changes: 0 additions & 20 deletions tests/cmake/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ if(PRESSIO_ENABLE_TPL_TRILINOS)

set(PRESSIO_ENABLE_TPL_KOKKOS ON)
set(PRESSIO_ENABLE_TPL_MPI ON)
set(PRESSIO_ENABLE_TPL_BLAS ON)
set(PRESSIO_ENABLE_TPL_LAPACK ON)

find_package(Trilinos REQUIRED)
# TODO: it is possible to use find_package(<PackageName>) for each (sub)package
Expand Down Expand Up @@ -75,21 +73,3 @@ if(PRESSIO_ENABLE_TPL_MPI)
find_package(MPI REQUIRED)
include_directories(SYSTEM ${MPI_CXX_INCLUDE_DIRS})
endif()

if(PRESSIO_ENABLE_TPL_BLAS)
message(">> Enabling BLAS since PRESSIO_ENABLE_TPL_BLAS=ON")
add_definitions(-DPRESSIO_ENABLE_TPL_BLAS)
cmake_policy(SET CMP0074 NEW)
find_package(BLAS REQUIRED)
link_libraries(${BLAS_LIBRARIES})
message("BLASLIBS=${BLAS_LIBRARIES}")
endif()

if(PRESSIO_ENABLE_TPL_LAPACK)
message(">> Enabling LAPACK since PRESSIO_ENABLE_TPL_LAPACK=ON")
add_definitions(-DPRESSIO_ENABLE_TPL_LAPACK)
cmake_policy(SET CMP0074 NEW)
find_package(LAPACK REQUIRED)
link_libraries(${LAPACK_LIBRARIES})
message("LAPLIBS=${LAPACK_LIBRARIES}")
endif()

0 comments on commit d8e314f

Please sign in to comment.