diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-09-24 09:42:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 20:42:45 -0500 |
commit | 4a2b56122c7d5a755bc593226916c59cd1114ea5 (patch) | |
tree | e672004fe759c8ce698d399b9e831ec5a2969f03 /var | |
parent | 17c55f3d91cde8c0725c02b2c7294a99e9779916 (diff) | |
download | spack-4a2b56122c7d5a755bc593226916c59cd1114ea5.tar.gz spack-4a2b56122c7d5a755bc593226916c59cd1114ea5.tar.bz2 spack-4a2b56122c7d5a755bc593226916c59cd1114ea5.tar.xz spack-4a2b56122c7d5a755bc593226916c59cd1114ea5.zip |
Add new package: mcpp (#18787)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/mcpp/package.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mcpp/package.py b/var/spack/repos/builtin/packages/mcpp/package.py new file mode 100644 index 0000000000..a658480812 --- /dev/null +++ b/var/spack/repos/builtin/packages/mcpp/package.py @@ -0,0 +1,20 @@ +# 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 Mcpp(AutotoolsPackage, SourceforgePackage): + """MCPP is an alternative C/C++ preprocessor with the highest + conformance.""" + + homepage = "https://sourceforge.net/projects/mcpp/" + sourceforge_mirror_path = "mcpp/mcpp/V.2.7.2/mcpp-2.7.2.tar.gz" + + version('2.7.2', sha256='3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864') + + def configure_args(self): + config_args = ['--enable-mcpplib', '--disable-static'] + return config_args |