-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #207 from libKriging/203-revert-disabled-pylibkrig…
…ing-+-windows-in-ci lfbgsb available for all arch and bindings
- Loading branch information
Showing
12 changed files
with
58 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
cmake_minimum_required(VERSION 3.13) | ||
project(armadillo_lib_extractor LANGUAGES NONE) | ||
|
||
include(${LIBKRIGING_PATH}/share/Armadillo/CMake/ArmadilloLibraryDepends.cmake) | ||
get_target_property(arma_libs armadillo INTERFACE_LINK_LIBRARIES) | ||
list(JOIN arma_libs " " lib_str) | ||
message(STATUS ARMA_LIBS=${lib_str}) | ||
|
||
include(${LIBKRIGING_PATH}/lib/cmake/lbfgsb/lbfgsbConfig.cmake) | ||
get_target_property(lbfgsb_libs lbfgsb::lbfgsb INTERFACE_LINK_LIBRARIES) | ||
|
||
#include(${LIBKRIGING_PATH}/lib/cmake/lbfgsb_cpp/lbfgsb_cppConfig.cmake) | ||
#get_target_property(lbfgsb_cpp_libs lbfgsb_cpp::lbfgsb_cpp INTERFACE_LINK_LIBRARIES) | ||
|
||
set(external_libs ${arma_libs} ${lbfgsb_libs} ${lbfgsb_cpp_libs}) | ||
list(JOIN external_libs " " lib_str) | ||
message(STATUS EXTERNAL_LIBS=${lib_str}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule lbfgsb_cpp
updated
15 files
+79 −0 | .github/workflows/main.yml | |
+70 −42 | CMakeLists.txt | |
+127 −0 | Lbfgsb.3.0/CMakeLists.txt | |
+0 −0 | Lbfgsb.3.0/blas.F | |
+22 −0 | Lbfgsb.3.0/include/lbfgsb/lbfgsb.h | |
+125 −18 | Lbfgsb.3.0/lbfgsb.F | |
+0 −0 | Lbfgsb.3.0/linpack.F | |
+0 −0 | Lbfgsb.3.0/timer.F | |
+9 −3 | README.md | |
+14 −0 | cmake/ExternalFortranProject.cmake.in | |
+13 −13 | examples/CMakeLists.txt | |
+1 −0 | examples/CTestCustom.cmake.in | |
+25 −30 | examples/example.cpp | |
+15 −0 | examples/strncmp_debug.cpp | |
+3 −3 | include/lbfgsb_cpp/lbfgsb.hpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
#ifndef LIBKRIGING_SRC_LIB_INCLUDE_LIBKRIGING_UTILS_DATA_FROM_ARMA_VEC_HPP | ||
#define LIBKRIGING_SRC_LIB_INCLUDE_LIBKRIGING_UTILS_DATA_FROM_ARMA_VEC_HPP | ||
|
||
namespace std { | ||
inline double* data(arma::vec& x) { | ||
return x.memptr(); | ||
} | ||
} // namespace std | ||
|
||
#endif // LIBKRIGING_SRC_LIB_INCLUDE_LIBKRIGING_UTILS_DATA_FROM_ARMA_VEC_HPP |