Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-03-30 07:48:31

0001 # Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
0002 # Spack Project Developers. See the top-level COPYRIGHT file for details.
0003 #
0004 # SPDX-License-Identifier: (Apache-2.0 OR MIT)
0005 
0006 from spack.package import *
0007 from spack_repo.builtin.build_systems.autotools import AutotoolsPackage
0008 
0009 
0010 class Farmhash(AutotoolsPackage):
0011     """FarmHash is a family of hash functions."""
0012 
0013     homepage = "https://github.com/google/farmhash"
0014     url = "https://github.com/google/farmhash"
0015     git = "https://github.com/google/farmhash"
0016 
0017     maintainers = ["wdconinc"]
0018 
0019     version("master", branch="master")
0020 
0021     depends_on("cxx", type="build")
0022 
0023     depends_on("autoconf", type="build", when="@master")
0024     depends_on("automake", type="build", when="@master")
0025     depends_on("libtool", type="build", when="@master")
0026 
0027     force_autoreconf = True
0028 
0029     patch(
0030         "https://github.com/google/farmhash/pull/25.patch",
0031         sha256="cbb6709d51d8d517d5df8a47e5c1867610dc5352152e78b64dec75620f95cc97",
0032     )