summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cgl/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cgl/package.py b/var/spack/repos/builtin/packages/cgl/package.py
new file mode 100644
index 0000000000..1c0a694df5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cgl/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Cgl(AutotoolsPackage):
+ """The COIN-OR Cut Generation Library (Cgl) is a collection of cut
+ generators that can be used with other COIN-OR packages that make
+ use of cuts, such as, among others, the linear solver Clp or the
+ mixed integer linear programming solvers Cbc or BCP. Cgl uses the
+ abstract class OsiSolverInterface (see Osi) to use or communicate
+ with a solver. It does not directly call a solver."""
+
+ homepage = "https://projects.coin-or.org/Cgl"
+ url = "https://github.com/coin-or/Cgl/archive/releases/0.60.3.tar.gz"
+
+ depends_on('coinutils')
+ depends_on('osi')
+ depends_on('clp')
+
+ version('0.60.3', sha256='cfeeedd68feab7c0ce377eb9c7b61715120478f12c4dd0064b05ad640e20f3fb')
+
+ build_directory = 'spack-build'