papilo/papilo-unbundle.patch
2024-02-15 20:21:33 -07:00

465 lines
20 KiB
Diff

--- papilo-2.1.4/CMakeLists.txt.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/CMakeLists.txt 2023-12-06 11:38:08.348390205 -0700
@@ -172,27 +172,9 @@ else()
endif()
if(LUSOL)
- include(CheckLanguage)
- check_language(Fortran)
- find_package(BLAS)
-endif()
-if(CMAKE_Fortran_COMPILER AND BLAS_FOUND)
- enable_language(Fortran)
-
- add_library(clusol STATIC
- src/papilo/external/lusol/src/lusol6b.f
- src/papilo/external/lusol/src/lusol7b.f
- src/papilo/external/lusol/src/lusol8b.f
- src/papilo/external/lusol/src/lusol_util.f
- src/papilo/external/lusol/src/lusol.f90
- src/papilo/external/lusol/src/clusol.c
- src/papilo/external/lusol/src/lusol_precision.f90)
- set_property(TARGET clusol PROPERTY POSITION_INDEPENDENT_CODE ON)
- target_include_directories(clusol PRIVATE src/papilo/external/lusol)
- target_link_libraries(clusol ${BLAS_LIBRARIES})
target_link_libraries(papilo INTERFACE clusol)
set(PAPILO_HAVE_LUSOL 1)
- set(CLUSOL_TARGET clusol)
+ set(CLUSOL_TARGET "")
else()
set(PAPILO_HAVE_LUSOL 0)
set(CLUSOL_TARGET "")
@@ -213,17 +195,7 @@ if(NOT MSVC)
endif()
endif()
endif()
-set(CMAKE_REQUIRED_INCLUDES ${PROJECT_SOURCE_DIR}/src/papilo/external)
-check_cxx_source_compiles(
- "#include \"ska/bytell_hash_map.hpp\"
- int main() { ska::bytell_hash_map<int,int> hashmap; (void)hashmap; return 0; }"
- PAPILO_BYTELL_HASHMAP_WORKS )
-
-if( PAPILO_BYTELL_HASHMAP_WORKS )
- set(PAPILO_USE_STANDARD_HASHMAP 0)
-else()
- set(PAPILO_USE_STANDARD_HASHMAP 1)
-endif()
+set(PAPILO_USE_STANDARD_HASHMAP 1)
add_library(papilo-core STATIC
src/papilo/core/VariableDomains.cpp
@@ -411,20 +383,6 @@ install(FILES
${PROJECT_SOURCE_DIR}/src/papilo/external/fmt/posix.cc
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/papilo/external/fmt)
-install(FILES
- ${PROJECT_SOURCE_DIR}/src/papilo/external/pdqsort/pdqsort.h
- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/papilo/external/pdqsort)
-
-install(FILES
- ${PROJECT_SOURCE_DIR}/src/papilo/external/ska/bytell_hash_map.hpp
- ${PROJECT_SOURCE_DIR}/src/papilo/external/ska/flat_hash_map.hpp
- ${PROJECT_SOURCE_DIR}/src/papilo/external/ska/unordered_map.hpp
- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/papilo/external/ska)
-
-install(FILES
- ${PROJECT_SOURCE_DIR}/src/papilo/external/lusol/clusol.h
- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/papilo/external/lusol)
-
# configure the config file for the build tree
set(QUADMATH_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/Modules)
set(TBB_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/Modules)
--- papilo-2.1.4/src/convMPS.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/src/convMPS.cpp 2023-12-06 11:38:08.348390205 -0700
@@ -37,7 +37,7 @@
#ifdef PAPILO_TBB
#include "papilo/misc/tbb.hpp"
#endif
-#include "papilo/external/pdqsort/pdqsort.h"
+#include <pdqsort.h>
#include "tbb/concurrent_unordered_set.h"
#include <algorithm>
--- papilo-2.1.4/src/duplicates.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/src/duplicates.cpp 2023-12-06 11:38:08.348390205 -0700
@@ -31,7 +31,7 @@
#ifdef PAPILO_TBB
#include "papilo/misc/tbb.hpp"
#endif
-#include "papilo/external/pdqsort/pdqsort.h"
+#include <pdqsort.h>
#include <algorithm>
#include <sys/stat.h>
--- papilo-2.1.4/src/papilo/core/Components.hpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/src/papilo/core/Components.hpp 2023-12-06 11:38:08.348390205 -0700
@@ -27,7 +27,7 @@
#include "papilo/core/Problem.hpp"
#include "papilo/misc/Hash.hpp"
#include "papilo/misc/Vec.hpp"
-#include "papilo/external/pdqsort/pdqsort.h"
+#include <pdqsort.h>
#include <boost/pending/disjoint_sets.hpp>
namespace papilo
--- papilo-2.1.4/src/papilo/core/SparseStorage.hpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/src/papilo/core/SparseStorage.hpp 2023-12-06 11:38:08.349390191 -0700
@@ -26,7 +26,7 @@
#include "papilo/misc/MultiPrecision.hpp"
#include "papilo/misc/Vec.hpp"
-#include "papilo/external/pdqsort/pdqsort.h"
+#include <pdqsort.h>
#include <algorithm>
#include <cassert>
#include <cstdint>
--- papilo-2.1.4/src/papilo/io/MpsParser.hpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/src/papilo/io/MpsParser.hpp 2023-12-06 11:38:08.349390191 -0700
@@ -32,7 +32,7 @@
#include "papilo/misc/Flags.hpp"
#include "papilo/misc/Hash.hpp"
#include "papilo/misc/Num.hpp"
-#include "papilo/external/pdqsort/pdqsort.h"
+#include <pdqsort.h>
#include <algorithm>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/dynamic_bitset.hpp>
--- papilo-2.1.4/src/papilo/misc/DependentRows.hpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/src/papilo/misc/DependentRows.hpp 2023-12-06 11:38:08.349390191 -0700
@@ -29,7 +29,7 @@
#ifdef PAPILO_HAVE_LUSOL
extern "C"
{
-#include "papilo/external/lusol/clusol.h"
+#include <clusol.h>
}
#endif
--- papilo-2.1.4/src/papilo/presolvers/FreeVarSubstitution.hpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/src/papilo/presolvers/FreeVarSubstitution.hpp 2023-12-06 11:38:08.349390191 -0700
@@ -29,7 +29,7 @@
#include "papilo/core/ProblemUpdate.hpp"
#include "papilo/misc/Num.hpp"
#include "papilo/misc/fmt.hpp"
-#include "papilo/external/pdqsort/pdqsort.h"
+#include <pdqsort.h>
#include <boost/dynamic_bitset.hpp>
namespace papilo
--- papilo-2.1.4/src/papilo/presolvers/ParallelColDetection.hpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/src/papilo/presolvers/ParallelColDetection.hpp 2023-12-06 11:38:08.349390191 -0700
@@ -31,7 +31,7 @@
#ifdef PAPILO_TBB
#include "papilo/misc/tbb.hpp"
#endif
-#include "papilo/external/pdqsort/pdqsort.h"
+#include <pdqsort.h>
namespace papilo
{
--- papilo-2.1.4/src/papilo/presolvers/ParallelRowDetection.hpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/src/papilo/presolvers/ParallelRowDetection.hpp 2023-12-06 11:38:08.349390191 -0700
@@ -31,7 +31,7 @@
#ifdef PAPILO_TBB
#include "papilo/misc/tbb.hpp"
#endif
-#include "papilo/external/pdqsort/pdqsort.h"
+#include <pdqsort.h>
namespace papilo
{
--- papilo-2.1.4/src/papilo/presolvers/SimplifyInequalities.hpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/src/papilo/presolvers/SimplifyInequalities.hpp 2023-12-06 11:38:08.350390178 -0700
@@ -27,7 +27,7 @@
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemUpdate.hpp"
-#include "papilo/external/pdqsort/pdqsort.h"
+#include <pdqsort.h>
#include <boost/integer/common_factor.hpp>
namespace papilo
--- papilo-2.1.4/test/CMakeLists.txt.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/CMakeLists.txt 2023-12-06 11:38:08.350390178 -0700
@@ -59,7 +59,7 @@ add_executable(unit_test TestMain.cpp
${BOOST_REQUIRED_TEST_FILES}
${PAPILOLIB_TEST_FILE})
-target_link_libraries(unit_test papilo ${PAPILOLIB_TARGET} ${Boost_LIBRARIES})
+target_link_libraries(unit_test papilo ${PAPILOLIB_TARGET} ${Boost_LIBRARIES} Catch2 Catch2Main)
if(${CMAKE_SYSTEM_NAME} STREQUAL "Android")
target_link_libraries(unit_test log)
endif()
--- papilo-2.1.4/test/papilo/core/MatrixBufferTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/core/MatrixBufferTest.cpp 2023-12-06 11:38:08.350390178 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/core/MatrixBuffer.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/misc/fmt.hpp"
using namespace papilo;
--- papilo-2.1.4/test/papilo/core/PostsolveTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/core/PostsolveTest.cpp 2023-12-06 11:38:08.350390178 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/core/postsolve/Postsolve.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/postsolve/PostsolveStatus.hpp"
#include <boost/archive/binary_iarchive.hpp>
--- papilo-2.1.4/test/papilo/core/PresolveTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/core/PresolveTest.cpp 2023-12-06 11:38:08.350390178 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/core/Presolve.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
#include "papilo/core/Reductions.hpp"
--- papilo-2.1.4/test/papilo/core/ProblemUpdateTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/core/ProblemUpdateTest.cpp 2023-12-06 11:38:08.350390178 -0700
@@ -21,7 +21,7 @@
/* */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
#include "papilo/core/Reductions.hpp"
--- papilo-2.1.4/test/papilo/core/SparseStorageTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/core/SparseStorageTest.cpp 2023-12-06 11:38:08.351390164 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/core/SparseStorage.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/misc/compress_vector.hpp"
papilo::SparseStorage<double>
--- papilo-2.1.4/test/papilo/io/MpsParserTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/io/MpsParserTest.cpp 2023-12-06 11:38:08.351390164 -0700
@@ -23,7 +23,7 @@
#include <memory>
#include "papilo/io/MpsParser.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
--- papilo-2.1.4/test/PapiloLib.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/PapiloLib.cpp 2023-12-06 11:38:08.351390164 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilolib.h"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/misc/fmt.hpp"
TEST_CASE( "papilolib", "[C-API]" )
--- papilo-2.1.4/test/papilo/misc/VectorUtilsTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/misc/VectorUtilsTest.cpp 2023-12-06 11:38:08.351390164 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/misc/VectorUtils.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
using namespace papilo;
--- papilo-2.1.4/test/papilo/presolve/CoefficientStrengtheningTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/CoefficientStrengtheningTest.cpp 2023-12-06 11:38:08.351390164 -0700
@@ -21,7 +21,7 @@
/* */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/ConstraintPropagationTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/ConstraintPropagationTest.cpp 2023-12-06 11:38:08.352390150 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/presolvers/ConstraintPropagation.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/DominatedColsTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/DominatedColsTest.cpp 2023-12-06 11:38:08.352390150 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/presolvers/DominatedCols.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/DualFixTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/DualFixTest.cpp 2023-12-06 11:38:08.352390150 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/presolvers/DualFix.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/FixContinuousTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/FixContinuousTest.cpp 2023-12-06 11:38:08.352390150 -0700
@@ -21,7 +21,7 @@
/* */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/FreeVarSubstitutionTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/FreeVarSubstitutionTest.cpp 2023-12-06 11:38:08.352390150 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/presolvers/FreeVarSubstitution.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/ImplIntDetectionTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/ImplIntDetectionTest.cpp 2023-12-06 11:38:08.352390150 -0700
@@ -21,7 +21,7 @@
/* */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/ParallelColDetectionTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/ParallelColDetectionTest.cpp 2023-12-06 11:38:08.353390136 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/presolvers/ParallelColDetection.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/ParallelRowDetectionTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/ParallelRowDetectionTest.cpp 2023-12-06 11:38:08.353390136 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/presolvers/ParallelRowDetection.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/ProbingTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/ProbingTest.cpp 2023-12-06 11:38:08.353390136 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/presolvers/Probing.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/SimpleProbingTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/SimpleProbingTest.cpp 2023-12-06 11:38:08.353390136 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/presolvers/SimpleProbing.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/SimpleSubstitutionTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/SimpleSubstitutionTest.cpp 2023-12-06 11:38:08.354390123 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/presolvers/SimpleSubstitution.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/SimplifyInequalitiesTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/SimplifyInequalitiesTest.cpp 2023-12-06 11:38:08.354390123 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/presolvers/SimplifyInequalities.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/SingletonColsTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/SingletonColsTest.cpp 2023-12-06 11:38:08.354390123 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/presolvers/SingletonCols.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/SingletonStuffingTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/SingletonStuffingTest.cpp 2023-12-06 11:38:08.354390123 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/presolvers/SingletonStuffing.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/papilo/presolve/SparsifyTest.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/papilo/presolve/SparsifyTest.cpp 2023-12-06 11:38:08.354390123 -0700
@@ -22,7 +22,7 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "papilo/presolvers/Sparsify.hpp"
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>
#include "papilo/core/PresolveMethod.hpp"
#include "papilo/core/Problem.hpp"
#include "papilo/core/ProblemBuilder.hpp"
--- papilo-2.1.4/test/TestMain.cpp.orig 2023-10-26 15:29:37.000000000 -0600
+++ papilo-2.1.4/test/TestMain.cpp 2023-12-06 11:38:08.354390123 -0700
@@ -23,4 +23,4 @@
#define CATCH_CONFIG_MAIN
-#include "papilo/external/catch/catch.hpp"
+#include <catch2/catch_all.hpp>