summaryrefslogtreecommitdiffstats
path: root/external/lpsolve
Commit message (Collapse)AuthorAgeFilesLines
* no longer force -arch:SSE on WindowsLuboš Luňák2020-05-071-1/+1
| | | | | | | | | | | SSE2 has been pretty much a requirement for running Windows since about 2018, so there should be ~nobody needing this. https://lists.freedesktop.org/archives/libreoffice/2020-May/085029.html Change-Id: I579eb92c18e42c57aa1421b889cfa7997b84915f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93558 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* GBUILD_TRACE, support for finding out where the build time is spentLuboš Luňák2020-02-161-0/+4
| | | | | | | | | | See instructions in solenv/gbuild/Trace.mk . This generates a file than can be viewed e.g. in the Chromium tracing view. Change-Id: I5f90647c58ca729375525b6daed2d4918adc8188 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88754 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* external/lpsolve: Avoid UBSan nullptr-with-nonzero-offsetStephan Bergmann2019-10-221-0/+11
| | | | | | | | | | | | | | | | | | | | ...(new with Clang 10 trunk), as seen during CppunitTest_sccomp_solver: > ../lp_presolve.c:171:34: runtime error: applying non-zero offset 8 to null pointer > #0 in presolve_rebuildUndo at workdir/UnpackedTarball/lpsolve/lpsolve55/../lp_presolve.c:171:34 > #1 in postsolve at workdir/UnpackedTarball/lpsolve/lpsolve55/../lp_presolve.c:5673:5 > #2 in spx_solve at workdir/UnpackedTarball/lpsolve/lpsolve55/../lp_simplex.c:2067:9 > #3 in lin_solve at workdir/UnpackedTarball/lpsolve/lpsolve55/../lp_simplex.c:2159:12 > #4 in LpsolveSolver::solve() at sccomp/source/solver/LpsolveSolver.cxx:295:19 > #5 in (anonymous namespace)::LpSolverTest::testSolver(rtl::OUString const&) at sccomp/qa/unit/solver.cxx:106:14 > #6 in (anonymous namespace)::LpSolverTest::testLpSolver() at sccomp/qa/unit/solver.cxx:69:5 I have no idea whether this even remotely resembles a useful fix, though. Change-Id: I1a2796d3849967576f400737082e7377566aece9 Reviewed-on: https://gerrit.libreoffice.org/81321 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Drop unnecessary gb_DEBUG_CFLAGSStephan Bergmann2019-01-241-1/+1
| | | | | | | | | | | | | | | | ...which was at maximum set to GCC's -finline-limit=0 -fno-inline (solenv/gbuild/platform/com_GCC_defs.mk). Those options were set for debug builds "since forever", but that looks very much like cargo cult: -fno-inline "is the default when not optimizing" anyway (<https://gcc.gnu.org/onlinedocs/gcc-7.4.0/gcc/Optimize-Options.html>), and it is unclear to me how -finline-limit=0 should have any impact beyond -fno-inline (and maybe was present for ancient compilers that only supported -finline-limit but not -fno-inline?). Change-Id: Id6752d03b1b7ec8763defabc5720d4dd08790874 Reviewed-on: https://gerrit.libreoffice.org/66836 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* lpsolve: always generate symbols with MSVCMichael Stahl2018-01-081-1/+1
| | | | | | | BinScope requires a PDB file to check the DLL; not worth the effort to conditionalize this. Change-Id: Ibb9800baa0932495504f0bebea2ffa765aa0cecf
* --enable-optimized should be orthogonal to --enable-debug/--enable-dbgutilStephan Bergmann2017-06-221-1/+1
| | | | | | | Change-Id: I277f30129560ea9fa76d6439a60bb191358df99d Reviewed-on: https://gerrit.libreoffice.org/39088 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* Remove MinGW supportStephan Bergmann2017-02-101-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | In OOo times, there'd originally been efforts to allow building on Windows with MinGW. Later, in LO times, this has been shifted to an attempt of cross- compiling for Windows on Linux. That attempt can be considered abandoned, and the relevant code rotting. Due to this heritage, there are now three kinds of MinGW-specific code in LO: * Code from the original OOo native Windows effort that is no longer relevant for the LO cross-compilation effort, but has never been removed properly. * Code from the original OOo native Windows effort that is re-purposed for the LO cross-compilation effort. * Code that has been added specifially for the LO cross-compilation effort. All three kinds of code are removed. (An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing --with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.) Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568 Reviewed-on: https://gerrit.libreoffice.org/34127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Drop leftover EXTRA_CFLAGS and EXTRA_CDEFSTor Lillqvist2016-08-151-5/+4
| | | | Change-Id: I006d19498f4b5c3bd4088fd1e290c30e7022b1c9
* Break gb_DEBUGINFO_FLAGS out of gb_DEBUG_CFLAGSStephan Bergmann2016-07-111-1/+1
| | | | | | | | | ...in preparation of making them orthogonal Change-Id: If75b334c954138b3aed4f8d1ac33061a2267ad52 Reviewed-on: https://gerrit.libreoffice.org/27056 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* tdf#80370: Fix Mac OS X install names of external/{coinmp,lpsolve}Stephan Bergmann2015-01-291-0/+1
| | | | Change-Id: I240c8c940d7d3e1310c4ee33911e8c7019e67060
* fdo#82430: MSVC build: disable a few more cases of SSE2 in externalsMichael Stahl2014-11-031-1/+1
| | | | Change-Id: I8f0db23d1f9ba6b9fc3c8b64b32822ba8166428f
* drop -Wno-long-double compiler flagDouglas Mencken2014-10-111-8/+3
| | | | | | | | | | | | | new GCC compilers do not accept "obsolete and totally removed in gcc 4.2 and later" -Wno-long-double flag actually, it used to be Apple-only GCC extension for gcc<=3.3 Change-Id: Ied3320cbd45915682b628c99bb0a168ea4753bb7 Reviewed-on: https://gerrit.libreoffice.org/11819 Reviewed-by: Douglas Mencken <dougmencken@gmail.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Let building lpsolve fail when its ccc script failsStephan Bergmann2014-08-121-1/+1
| | | | | | | (hopefully, the various ccc script variants do not include code that would unintentionally fail the script with -e) Change-Id: Ia04291983d99a8cf5a74e6a0078e179c17a93f2b
* Avoid undefined out-of-range conversions from double to unsigned charStephan Bergmann2014-06-182-0/+12
| | | | Change-Id: I7cf4af81d477865aa0a93c8aa071a8785677c572
* Pass debug flags into lpsolveStephan Bergmann2014-06-181-0/+1
| | | | Change-Id: I8bfd8995fe59568d194948a6cf239a2477d0e0ea
* normalize values of MINGW_SHARED_GCCLIB/MINGW_SHARED_GXXLIBMichael Stahl2014-03-111-2/+2
| | | | Change-Id: I4f4cecd95f87b9d37fa1b1a270cf554d7707aaa2
* gbuild: set Package default target to INSTDIRMichael Stahl2013-10-281-2/+0
| | | | Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
* gbuild: remove gb_ExternalPackage_add_library_for_installMichael Stahl2013-10-271-3/+5
| | | | | | Deliver all external libraries to INSTDIR directly. Change-Id: I8d3e035e5cfa07bd0f53ee4a226c48d4b86a4032
* lpsolve: use libraries from WORKDIRMichael Stahl2013-10-241-17/+5
| | | | Change-Id: I9b0aba0050d73287887de2d7d2376d9aa6303150
* fdo#70393: move lpsolve to a subdir of externalKhaled Hosny2013-10-1911-0/+434
Change-Id: I6c4a3bbd2cb514b979165bb041524706f3c28b0a Reviewed-on: https://gerrit.libreoffice.org/6341 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>