summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2020-10-22 10:47:23 -0400
committerGitHub <noreply@github.com>2020-10-22 10:47:23 -0400
commit7935ec501f7586afe505c1698060a7360de6d3a4 (patch)
treeedb5e1f5f6b5ef3e639e84d71ee3fb674fa52ff4 /var
parentcaab89b9c941c197b235c43bb6a1e55ebfc821d8 (diff)
downloadspack-7935ec501f7586afe505c1698060a7360de6d3a4.tar.gz
spack-7935ec501f7586afe505c1698060a7360de6d3a4.tar.bz2
spack-7935ec501f7586afe505c1698060a7360de6d3a4.tar.xz
spack-7935ec501f7586afe505c1698060a7360de6d3a4.zip
cgl (#19420)
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'