Add cmake build list file for ReLAPACK
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Thu, 12 Oct 2017 15:00:00 +0000 (17:00 +0200)
committerGitHub <noreply@github.com>
Thu, 12 Oct 2017 15:00:00 +0000 (17:00 +0200)
relapack/src/CMakeLists.txt [new file with mode: 0644]

diff --git a/relapack/src/CMakeLists.txt b/relapack/src/CMakeLists.txt
new file mode 100644 (file)
index 0000000..2d861f5
--- /dev/null
@@ -0,0 +1,85 @@
+include_directories(${PROJECT_SOURCE_DIR})\r
+include_directories(${PROJECT_BINARY_DIR})\r
+\r
+set(RELAFILES\r
+clauum.c\r
+ctrsyl_rec2.c\r
+dsytrf.c\r
+spbtrf.c\r
+strsyl_rec2.c\r
+zhetrf_rook_rec2.c\r
+ztrsyl.c\r
+cgbtrf.c\r
+cpbtrf.c\r
+ctrtri.c\r
+dsytrf_rec2.c\r
+spotrf.c\r
+strtri.c\r
+zlauum.c\r
+ztrsyl_rec2.c\r
+cgemmt.c\r
+cpotrf.c\r
+dgbtrf.c\r
+dsytrf_rook.c\r
+lapack_wrappers.c\r
+ssygst.c\r
+zgbtrf.c\r
+zpbtrf.c\r
+ztrtri.c\r
+cgetrf.c\r
+csytrf.c\r
+dgemmt.c\r
+dsytrf_rook_rec2.c\r
+ssytrf.c\r
+zgemmt.c\r
+zpotrf.c\r
+chegst.c\r
+csytrf_rec2.c\r
+dgetrf.c\r
+dtgsyl.c\r
+ssytrf_rec2.c\r
+zgetrf.c\r
+zsytrf.c\r
+chetrf.c\r
+csytrf_rook.c\r
+dlauum.c\r
+dtrsyl.c\r
+sgbtrf.c\r
+ssytrf_rook.c\r
+zhegst.c\r
+zsytrf_rec2.c\r
+chetrf_rec2.c\r
+csytrf_rook_rec2.c\r
+dpbtrf.c\r
+dtrsyl_rec2.c\r
+sgemmt.c\r
+ssytrf_rook_rec2.c\r
+zhetrf.c\r
+zsytrf_rook.c\r
+chetrf_rook.c\r
+ctgsyl.c\r
+dpotrf.c\r
+dtrtri.c\r
+sgetrf.c\r
+stgsyl.c\r
+zhetrf_rec2.c\r
+zsytrf_rook_rec2.c\r
+chetrf_rook_rec2.c\r
+ctrsyl.c\r
+dsygst.c\r
+f2c.c\r
+slauum.c\r
+strsyl.c\r
+zhetrf_rook.c\r
+ztgsyl.c\r
+)\r
+\r
+\r
+\r
+# add relapack folder to the sources\r
+set(RELA_SOURCES "")\r
+foreach (RELA_FILE ${RELAFILES})\r
+  list(APPEND RELA_SOURCES "${PROJECT_SOURCE_DIR}/relapack/src/${RELA_FILE}")\r
+endforeach ()\r
+add_library(relapack_src OBJECT ${RELA_SOURCES})\r
+set_source_files_properties(${RELA_SOURCES} PROPERTIES COMPILE_FLAGS "${LAPACK_CFLAGS}")\r