Skip to content

Commit

Permalink
Issue #1989 Fixed bug in LAPACK depending default options
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeandersson committed Apr 25, 2017
1 parent 2014416 commit acada64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Expand Up @@ -77,9 +77,9 @@ option(WITH_SNOPT_FORCE_DUMMY "Compile the SNOPT interface against a dummy libra
option(WITH_EIGEN3 "Use Eigen3 backend for matrix operations" OFF)
option(WITH_BUILD_SUNDIALS "Compile the included source code for Sundials 2.6.1" ON)
option(WITH_SUNDIALS "Compile the interface to Sundials" ON)
option(WITH_QPOASES "Compile the interface to qpOASES (the source code for qpOASES is included)" LAPACK_FOUND)
option(WITH_QPOASES "Compile the interface to qpOASES (the source code for qpOASES is included)" ${LAPACK_FOUND})
option(WITH_NO_QPOASES_BANNER "Add -D__NO_COPYRIGHT__ to qpOASES definitions" OFF)
option(WITH_BLOCKSQP "Compile the interface to blockSQP (the source code for blockSQP is included)" LAPACK_FOUND)
option(WITH_BLOCKSQP "Compile the interface to blockSQP (the source code for blockSQP is included)" ${LAPACK_FOUND})
option(WITH_BUILD_DSDP "Compile the the included source code for DSDP" OFF)
option(WITH_DSDP "Compile the interface to DSDP" OFF)
option(WITH_HPMPC "Compile the interface to HPMPC" OFF)
Expand All @@ -94,7 +94,7 @@ option(WITH_BONMIN "Compile the interface to BONMIN" OFF)
option(WITH_KNITRO "Compile the interface to KNITRO" OFF)
option(WITH_CPLEX "Compile the interface to CPLEX" OFF)
option(WITH_CLP "Compile the CLP interface" OFF)
option(WITH_LAPACK "Compile the interface to LAPACK" LAPACK_FOUND)
option(WITH_LAPACK "Compile the interface to LAPACK" ${LAPACK_FOUND})
option(WITH_OPENCL "Compile with OpenCL support (experimental)" OFF)
option(WITH_BUILD_TINYXML "Compile the included TinyXML source code" ON)
option(WITH_TINYXML "Compile the interface to TinyXML" ON)
Expand Down
1 change: 1 addition & 0 deletions test/python/mx.py
Expand Up @@ -2548,6 +2548,7 @@ def test_sparsity_operation(self):
else:
self.assertTrue(c.nnz()>0)

@requiresPlugin(Linsol,"lapackqr")
def test_solve(self):
N = 3
nrhs = 50
Expand Down

0 comments on commit acada64

Please sign in to comment.