Skip to content

Commit

Permalink
Merge pull request #149 from astro-informatics/development
Browse files Browse the repository at this point in the history
Odds and ends
  • Loading branch information
Mayeul d'Avezac authored Oct 14, 2016
2 parents 0f8686c + da39384 commit 8a387c5
Show file tree
Hide file tree
Showing 48 changed files with 6 additions and 7,114 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ option(examples "Enable Examples" on)
option(logging "Enable logging" on)
option(regressions "Enable regressions" on)
option(openmp "Enable OpenMP" on)
option(archer "Compiling on ARCHER" off)

if(regressions)
enable_language(C)
Expand Down
2 changes: 1 addition & 1 deletion cpp/examples/proximal_admm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ add_example(padmm_euclidian_norm euclidian_norm.cc LIBRARIES sopt LABELS padmm)
set_target_properties(example_padmm_euclidian_norm PROPERTIES OUTPUT_NAME euclidian_norm)
add_example(padmm_inpainting inpainting.cc LIBRARIES sopt tools_for_tests)
set_target_properties(example_padmm_inpainting PROPERTIES OUTPUT_NAME inpainting)
add_example(padmm_reweighted reweighted.cc LIBRARIES sopt tools_for_tests)
add_example(padmm_reweighted NOTEST reweighted.cc LIBRARIES sopt tools_for_tests)
set_target_properties(example_padmm_reweighted PROPERTIES OUTPUT_NAME reweighted)
2 changes: 1 addition & 1 deletion cpp/examples/sdmm/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
add_example(euclidian_norm LIBRARIES sopt LABELS sdmm)
add_example(inpainting LIBRARIES sopt tools_for_tests LABELS sdmm)
add_example(reweighted LIBRARIES sopt tools_for_tests LABELS sdmm)
add_example(reweighted NOTEST LIBRARIES sopt tools_for_tests LABELS sdmm)
3 changes: 2 additions & 1 deletion cpp/sopt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ endif()
add_library(sopt SHARED ${sources})
add_dependencies(sopt lookup_dependencies)
set(version "${Sopt_VERSION_MAJOR}.${Sopt_VERSION_MINOR}.${Sopt_VERSION_PATCH}")
set_target_properties(sopt PROPERTIES VERSION ${version} SOVERSION ${version})
set(soversion "${Sopt_VERSION_MAJOR}.${Sopt_VERSION_MINOR}")
set_target_properties(sopt PROPERTIES VERSION ${version} SOVERSION ${soversion})

target_include_directories(sopt PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
Expand Down
2 changes: 1 addition & 1 deletion cpp/sopt/logging.enabled.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ void set_level(std::string const &level, std::string const &name = "");
//! \brief Initializes a logger.
//! \details Logger only exists as long as return is kept alive.
inline std::shared_ptr<spdlog::logger> initialize(std::string const &name = "") {
auto const result = spdlog::stdout_logger_mt(default_logger_name() + name, color_logger());
auto const result = spdlog::stdout_logger_mt(default_logger_name() + name);
set_level(default_logging_level(), name);
return result;
}
Expand Down
2 changes: 1 addition & 1 deletion cpp/tests/common_catch_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

std::unique_ptr<std::mt19937_64> mersenne(new std::mt19937_64(0));

int main(int argc, char const *argv[]) {
int main(int argc, char *const *argv) {
Catch::Session session; // There must be exactly once instance

int returnCode = session.applyCommandLine(argc, argv);
Expand Down
101 changes: 0 additions & 101 deletions matlab/doc/matlab/.svn/all-wcprops

This file was deleted.

Loading

0 comments on commit 8a387c5

Please sign in to comment.