blob: 22333049dd5b5cd157934222281e64065b33855b (
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
|
# Copyright 2013-2024 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.package import *
class Csdp(MakefilePackage):
"""CSDP is a library of routines that implements a predictor corrector
variant of the semidefinite programming algorithm of Helmberg, Rendl,
Vanderbei, and Wolkowicz"""
homepage = "https://projects.coin-or.org/Csdp"
url = "https://www.coin-or.org/download/source/Csdp/Csdp-6.1.1.tgz"
license("CPL-1.0")
version("6.1.1", sha256="0558a46ac534e846bf866b76a9a44e8a854d84558efa50988ffc092f99a138b9")
depends_on("atlas")
def edit(self, spec, prefix):
mkdirp(prefix.bin)
makefile = FileFilter("Makefile")
makefile.filter("/usr/local/bin", prefix.bin)
|