From 5a0303860d6a5b9614c879ca96a8175843e3fa8b Mon Sep 17 00:00:00 2001 From: Andrew W Elble Date: Wed, 21 Oct 2020 20:15:34 -0400 Subject: osi (#19424) --- var/spack/repos/builtin/packages/osi/package.py | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 var/spack/repos/builtin/packages/osi/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/osi/package.py b/var/spack/repos/builtin/packages/osi/package.py new file mode 100644 index 0000000000..16eaba412c --- /dev/null +++ b/var/spack/repos/builtin/packages/osi/package.py @@ -0,0 +1,27 @@ +# 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 Osi(AutotoolsPackage): + """Osi (Open Solver Interface) provides an abstract base class to + a generic linear programming (LP) solver, along with derived + classes for specific solvers. Many applications may be able to use + the Osi to insulate themselves from a specific LP solver. That is, + programs written to the OSI standard may be linked to any solver + with an OSI interface and should produce correct results. The OSI + has been significantly extended compared to its first + incarnation. Currently, the OSI supports linear programming + solvers and has rudimentary support for integer programming.""" + + homepage = "https://projects.coin-or.org/Osi" + url = "https://github.com/coin-or/Osi/archive/releases/0.108.6.tar.gz" + + depends_on('coinutils') + + version('0.108.6', sha256='984a5886825e2da9bf44d8a665f4b92812f0700e451c12baf9883eaa2315fad5') + + build_directory = 'spack-build' -- cgit v1.2.3-60-g2f50