summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/scipoptsuite/package.py
blob: bc0f42f024f915bf2901d6f40e413be811fbcc21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 2013-2023 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)


import os

from spack.package import *


class Scipoptsuite(CMakePackage):
    """The SCIP Optimization Suite is a toolbox for generating and
    solving mixed integer nonlinear programs, in particular mixed
    integer linear programs, and constraint integer programs

    Note: A manual download is required for SCIP.  Spack will search
    your current directory for the download file.  Alternatively,
    add this file to a mirror so that Spack can find it.  For
    instructions on how to set up a mirror, see
    https://spack.readthedocs.io/en/latest/mirrors.html"""

    homepage = "https://scipopt.org"
    url = "file://{0}/scipoptsuite-7.0.1.tgz".format(os.getcwd())
    manual_download = True

    version("7.0.1", sha256="971962f2d896b0c8b8fa554c18afd2b5037092685735d9494a05dc16d56ad422")

    depends_on("gmp")
    depends_on("zlib-api")
    depends_on("readline")
    depends_on("ncurses")