summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Tang <jtang@voysis.com>2019-12-18 15:33:44 +0000
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-18 09:33:44 -0600
commit3511245ca4d0fa7dd87f9fc19c770c70771330e8 (patch)
treece8e5cf31f458e0687399f006c2b560339c59e43
parent9583bde7390473918358b057f50a5b259aca6af2 (diff)
downloadspack-3511245ca4d0fa7dd87f9fc19c770c70771330e8.tar.gz
spack-3511245ca4d0fa7dd87f9fc19c770c70771330e8.tar.bz2
spack-3511245ca4d0fa7dd87f9fc19c770c70771330e8.tar.xz
spack-3511245ca4d0fa7dd87f9fc19c770c70771330e8.zip
Add abseil-cpp package (#14208)
-rw-r--r--var/spack/repos/builtin/packages/abseil-cpp/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/abseil-cpp/package.py b/var/spack/repos/builtin/packages/abseil-cpp/package.py
new file mode 100644
index 0000000000..95c996959e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/abseil-cpp/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2019 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 AbseilCpp(CMakePackage):
+ """Abseil Common Libraries (C++) """
+
+ homepage = "https://abseil.io/"
+ url = "https://github.com/abseil/abseil-cpp/archive/20180600.tar.gz"
+
+ maintainers = ['jcftang']
+
+ version('20190808', sha256='8100085dada279bf3ee00cd064d43b5f55e5d913be0dfe2906f06f8f28d5b37e')
+ version('20181200', sha256='e2b53bfb685f5d4130b84c4f3050c81bf48c497614dc85d91dbd3ed9129bce6d')
+ version('20180600', sha256='794d483dd9a19c43dc1fbbe284ce8956eb7f2600ef350dac4c602f9b4eb26e90')
+
+ def cmake_args(self):
+ args = ["-DBUILD_TESTING=OFF", "-DCMAKE_CXX_STANDARD=11"]
+ return args