From 019205ec7afcd8f55ebf52cb21d8090161e99738 Mon Sep 17 00:00:00 2001 From: Andrew W Elble Date: Thu, 22 Oct 2020 11:20:19 -0400 Subject: cbc (#19419) --- var/spack/repos/builtin/packages/cbc/package.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/cbc/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/cbc/package.py b/var/spack/repos/builtin/packages/cbc/package.py new file mode 100644 index 0000000000..171e2a3c83 --- /dev/null +++ b/var/spack/repos/builtin/packages/cbc/package.py @@ -0,0 +1,23 @@ +# 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 Cbc(AutotoolsPackage): + """Cbc (Coin-or branch and cut) is an open-source mixed integer + linear programming solver written in C++. It can be used as a + callable library or using a stand-alone executable.""" + + homepage = "https://projects.coin-or.org/Cbc" + url = "https://github.com/coin-or/Cbc/archive/releases/2.10.5.tar.gz" + + depends_on('coinutils') + depends_on('osi') + depends_on('cgl') + + version('2.10.5', sha256='cc44c1950ff4615e7791d7e03ea34318ca001d3cac6dc3f7f5ee392459ce6719') + + build_directory = 'spack-build' -- cgit v1.2.3-60-g2f50