Add abseil-cpp package (#14208)
This commit is contained in:
parent
9583bde739
commit
3511245ca4
1 changed files with 23 additions and 0 deletions
23
var/spack/repos/builtin/packages/abseil-cpp/package.py
Normal file
23
var/spack/repos/builtin/packages/abseil-cpp/package.py
Normal file
|
@ -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
|
Loading…
Reference in a new issue