From 7935ec501f7586afe505c1698060a7360de6d3a4 Mon Sep 17 00:00:00 2001 From: Andrew W Elble Date: Thu, 22 Oct 2020 10:47:23 -0400 Subject: cgl (#19420) --- var/spack/repos/builtin/packages/cgl/package.py | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 var/spack/repos/builtin/packages/cgl/package.py (limited to 'var') 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' -- cgit v1.2.3-60-g2f50