Package: stopt / 5.12+dfsg-3

Metadata

Package Version Patches format
stopt 5.12+dfsg-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
remove_geners_from_CMakeLists.patch | (download)

CMakeLists.txt | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 indicating system paths for geners in cmakelists.txt
 geners is provided by a Debian package.
static_and_shared_libs_in_cmake.patch | (download)

CMakeLists.txt | 115 71 + 44 - 0 !
1 file changed, 71 insertions(+), 44 deletions(-)

 modifying the cmakelist.txt files to be able to build both static
 and shared libraries, also with and without MPI support.
 Also reporting the version and soversion defined in d/rules.
omit_upstream_compiler_flags.patch | (download)

CMakeLists.txt | 51 2 + 49 - 0 !
1 file changed, 2 insertions(+), 49 deletions(-)

 removing upstream compiler flags, to accept the default c++
 version and avoid -fPIC for static libs.
 Just letting DNDEBUG flag to deactivate meaningless asserts.
installing_StOptCDF.patch | (download)

CMakeLists.txt | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 stoptcdf does not get installed in cmakelists.txt
adding_python_shebangs.patch | (download)

test/python/functional/testAmericanGlobalOption.py | 2 2 + 0 - 0 !
test/python/functional/testAmericanOption.py | 2 2 + 0 - 0 !
test/python/functional/testAmericanOptionForSparse.py | 2 2 + 0 - 0 !
test/python/functional/testAmericanOptionKernel.py | 2 2 + 0 - 0 !
test/python/functional/testAmericanOptionTree.py | 2 2 + 0 - 0 !
test/python/functional/testDemandSDDP.py | 2 2 + 0 - 0 !
test/python/functional/testGasStorage.py | 2 2 + 0 - 0 !
test/python/functional/testGasStorageHighLevel.py | 2 2 + 0 - 0 !
test/python/functional/testGasStorageHighLevelMpi.py | 2 2 + 0 - 0 !
test/python/functional/testGasStorageKernel.py | 2 2 + 0 - 0 !
test/python/functional/testGasStorageSwitchCost.py | 2 2 + 0 - 0 !
test/python/functional/testGasStorageSwitchCostHighLevel.py | 2 2 + 0 - 0 !
test/python/functional/testGasStorageSwitchCostHighLevelMpi.py | 2 2 + 0 - 0 !
test/python/functional/testGasStorageTreeHighLevel.py | 2 2 + 0 - 0 !
test/python/functional/testGasStorageVaryingCavity.py | 2 2 + 0 - 0 !
test/python/functional/testLake.py | 2 2 + 0 - 0 !
test/python/functional/testLakeHighLevel.py | 2 2 + 0 - 0 !
test/python/functional/testMicrogrid.py | 2 2 + 0 - 0 !
test/python/functional/testMicrogridDEA.py | 2 2 + 0 - 0 !
test/python/functional/testSwingOptimSimuHighLevel.py | 2 2 + 0 - 0 !
test/python/functional/testSwingOptimSimuHighLevelMpi.py | 2 2 + 0 - 0 !
test/python/functional/testSwingOptimSimuND.py | 2 2 + 0 - 0 !
test/python/functional/testSwingOptimSimuNDHighLevelMpi.py | 2 2 + 0 - 0 !
test/python/functional/testSwingOptionMpi.py | 2 2 + 0 - 0 !
test/python/functional/testThermalAssetHighLevel.py | 2 2 + 0 - 0 !
test/python/unit/cdf/testFastCDF.py | 2 2 + 0 - 0 !
test/python/unit/cdf/testFastCDFOnSample.py | 2 2 + 0 - 0 !
test/python/unit/continuation/testContinuation.py | 2 2 + 0 - 0 !
test/python/unit/continuation/testContinuationCut.py | 2 2 + 0 - 0 !
test/python/unit/geners/testBinaryArchive.py | 2 2 + 0 - 0 !
test/python/unit/geners/testSomeBinaryArchiveStorage.py | 2 2 + 0 - 0 !
test/python/unit/global/testGlobal.py | 2 2 + 0 - 0 !
test/python/unit/global/testGlobalMpi.py | 2 2 + 0 - 0 !
test/python/unit/global/testMeanRevertingAndGas.py | 2 2 + 0 - 0 !
test/python/unit/grids/testGrids.py | 2 2 + 0 - 0 !
test/python/unit/grids/testLegendreGrid.py | 2 2 + 0 - 0 !
test/python/unit/grids/testRegularGrids.py | 2 2 + 0 - 0 !
test/python/unit/grids/testSparseGrids.py | 2 2 + 0 - 0 !
test/python/unit/regression/testGetMesh.py | 2 2 + 0 - 0 !
test/python/unit/regression/testGlobalRegression.py | 2 2 + 0 - 0 !
test/python/unit/regression/testGridKernelRegression.py | 2 2 + 0 - 0 !
test/python/unit/regression/testLaplacianGridKernelRegression.py | 2 2 + 0 - 0 !
test/python/unit/regression/testLaplacianKernelRegression.py | 2 2 + 0 - 0 !
test/python/unit/regression/testLocalConstDiscrLastDimRegression.py | 2 2 + 0 - 0 !
test/python/unit/regression/testLocalConstRegression.py | 2 2 + 0 - 0 !
test/python/unit/regression/testLocalKMeansRegression.py | 2 2 + 0 - 0 !
test/python/unit/regression/testLocalLinearDiscrLastDimRegression.py | 2 2 + 0 - 0 !
test/python/unit/regression/testLocalLinearRegression.py | 2 2 + 0 - 0 !
test/python/unit/regression/testLocalSameSizeConstRegression.py | 2 2 + 0 - 0 !
test/python/unit/regression/testLocalSameSizeLinearRegression.py | 2 2 + 0 - 0 !
test/python/unit/regression/testSparseRegression.py | 2 2 + 0 - 0 !
test/python/unit/sddp/testSDDPUnitTest.py | 2 2 + 0 - 0 !
test/python/unit/tree/testTree.py | 2 2 + 0 - 0 !
53 files changed, 106 insertions(+)

 adding a shebang with /usr/bin/python3 to example python scripts
 we are shipping when they are meant to be executed.
path_of_built_binaries_in_CMakeLists.patch | (download)

CMakeLists.txt | 124 62 + 62 - 0 !
1 file changed, 62 insertions(+), 62 deletions(-)

 built binaries are not placed in a bin/ subdirectory
Python_in_CMakeLists.patch | (download)

CMakeLists.txt | 34 17 + 17 - 0 !
1 file changed, 17 insertions(+), 17 deletions(-)

 looking for python3 instead of python
 - First we put the upstream CMakeModules folder after the pristine
 CMAKE_MODULE_PATH, as some of those files are provided by Debian packages.
 - Then we use find_package(Python3) instead of find_package(Python),
 and of find_package(NumPy) which invokes find_package(PythonInterp).
 - Some variables thus need to be changed in the remaining of the file.
remove_useless_import_in_test.patch | (download)

test/python/unit/regression/testGetMesh.py | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 removing matplotlib import, which is nod used
precision_on_ppc64el.patch | (download)

test/c++/functional/testAmericanOptionForSparse.cpp | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 omit tests for american options in 3d and 4d on ppc64el, as
 precision issues with stopt have been raised multiple times on this arch.
no_search_of_Python3.patch | (download)

CMakeLists.txt | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 skipping the search of python3 using the cmake find-package
 mechanism. Instead we provide the needed variables in debian/rules. This is
 to avoid errors when multiple versions of Python3 are co-installed.
oversubscribe_flag.patch | (download)

CMakeLists.txt | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

 letting the possible --oversubscribe flag of mpiexec be written by
 debian/rules, as it won't be understood by mpich.