Add new package: libopts (#18836)

* Add new package: libopts

* fix flake8 error
This commit is contained in:
darmac 2020-10-13 22:55:09 +08:00 committed by GitHub
parent d302d546a4
commit 97be7e7dd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,21 @@
# 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 Libopts(AutotoolsPackage):
"""LibOPT is an optimization library developed in C language for the
development of metaheuristic-based techniques."""
homepage = "https://github.com/jppbsi/LibOPT/"
git = "https://github.com/jppbsi/LibOPT.git"
version('master', branch='master')
parallel = False
def install(self, spec, prefix):
install_tree('lib', prefix.lib)