Skip to content

Commit

Permalink
Merge pull request #335 from joakim-hove/move-matrix
Browse files Browse the repository at this point in the history
Removed matrix implementation
  • Loading branch information
joakim-hove committed Feb 19, 2018
2 parents 21d6613 + 7c74bf2 commit 87ffe05
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 3,954 deletions.
12 changes: 0 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,18 +180,6 @@ if(M_LIBRARY)
set(m m)
endif ()

find_package(BLAS)
if (BLAS_FOUND)
set(blas "${BLAS_LIBRARIES}")
endif ()

set(ERT_HAVE_LAPACK OFF)
find_package(LAPACK)
if (LAPACK_FOUND)
set(ERT_HAVE_LAPACK ON)
list(APPEND lapack ${LAPACK_LIBRARIES} ${LAPACK_LINKER_FLAGS})
endif()

find_package(ZLIB)
if (ZLIB_FOUND)
set(ERT_HAVE_ZLIB ON)
Expand Down
17 changes: 0 additions & 17 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ if (HAVE_PTHREAD)
list(APPEND opt_srcs util/thread_pool.c)
endif ()

if (LAPACK_FOUND)
list(APPEND opt_srcs util/matrix_lapack.c
util/matrix_blas.c
util/matrix_stat.c)
endif ()

if (HAVE_BACKTRACE)
list(APPEND opt_srcs util/util_abort_gnu.c)
Expand Down Expand Up @@ -93,7 +88,6 @@ add_library(ecl util/rng.c
util/vector.c
util/parser.c
util/stringlist.c
util/matrix.c
util/buffer.c
util/timer.c
util/time_interval.c
Expand Down Expand Up @@ -168,7 +162,6 @@ target_link_libraries(ecl PUBLIC ${m}
${dl}
${pthread}
${blas}
${lapack}
${zlib}
${shlwapi}
${ws2_32}
Expand Down Expand Up @@ -244,7 +237,6 @@ foreach (name ert_util_alloc_file_components
ert_util_chdir
ert_util_filename
ert_util_hash_test
ert_util_matrix
ert_util_parent_path
ert_util_PATH_test
ert_util_realpath
Expand Down Expand Up @@ -311,15 +303,6 @@ target_link_libraries(ert_util_path_stack_test ecl)
add_test(NAME ert_util_path_stack_test COMMAND ert_util_path_stack_test
${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})

if (LAPACK_FOUND)
add_executable(ert_util_matrix_lapack util/tests/ert_util_matrix_lapack.c)
target_link_libraries(ert_util_matrix_lapack ecl)
add_test(NAME ert_util_matrix_lapack COMMAND ert_util_matrix_lapack)

add_executable(ert_util_matrix_stat util/tests/ert_util_matrix_stat.c)
target_link_libraries(ert_util_matrix_stat ecl)
add_test(NAME ert_util_matrix_stat COMMAND ert_util_matrix_stat)
endif()

if (HAVE_BACKTRACE)
add_executable(ert_util_abort_gnu_tests util/tests/ert_util_abort_gnu_tests.c)
Expand Down
1 change: 0 additions & 1 deletion lib/ert_api_config.h.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#cmakedefine ERT_HAVE_LAPACK
#cmakedefine ERT_HAVE_ZLIB
#cmakedefine ERT_HAVE_ISFINITE
#cmakedefine ERT_HAVE_GETOPT
Expand Down
194 changes: 0 additions & 194 deletions lib/include/ert/util/matrix.h

This file was deleted.

45 changes: 0 additions & 45 deletions lib/include/ert/util/matrix_blas.h

This file was deleted.

Loading

0 comments on commit 87ffe05

Please sign in to comment.