spack/var/spack/repos/builtin/packages/cbc/package.py

24 lines
788 B
Python
Raw Normal View History

2022-01-13 03:21:41 +08:00
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
2020-10-22 23:20:19 +08:00
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
2020-10-22 23:20:19 +08:00
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'