diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-10-13 22:55:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 09:55:09 -0500 |
commit | 97be7e7dd310f678a27c007d4d983d4b2a28ad49 (patch) | |
tree | b1f729214aad610b69aa983ac620da756e599189 | |
parent | d302d546a4f5d29bf2cee269e20b20dcbe5651c0 (diff) | |
download | spack-97be7e7dd310f678a27c007d4d983d4b2a28ad49.tar.gz spack-97be7e7dd310f678a27c007d4d983d4b2a28ad49.tar.bz2 spack-97be7e7dd310f678a27c007d4d983d4b2a28ad49.tar.xz spack-97be7e7dd310f678a27c007d4d983d4b2a28ad49.zip |
Add new package: libopts (#18836)
* Add new package: libopts
* fix flake8 error
-rw-r--r-- | var/spack/repos/builtin/packages/libopts/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libopts/package.py b/var/spack/repos/builtin/packages/libopts/package.py new file mode 100644 index 0000000000..76ca316a96 --- /dev/null +++ b/var/spack/repos/builtin/packages/libopts/package.py @@ -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) |