2024-01-02 16:21:30 +08:00
|
|
|
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
|
2020-10-13 22:55:09 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2022-05-29 00:55:44 +08:00
|
|
|
from spack.package import *
|
2020-10-13 22:55:09 +08:00
|
|
|
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
2023-12-23 03:29:11 +08:00
|
|
|
license("Apache-2.0")
|
|
|
|
|
2020-10-13 22:55:09 +08:00
|
|
|
version("master", branch="master")
|
|
|
|
|
|
|
|
parallel = False
|
|
|
|
|
|
|
|
def install(self, spec, prefix):
|
|
|
|
install_tree("lib", prefix.lib)
|