diff --git a/spack/packages/farmhash/package.py b/spack/packages/farmhash/package.py new file mode 100644 index 0000000000000000000000000000000000000000..a11c5ee06f3b95da5c14526fa77729e6617d6a2d --- /dev/null +++ b/spack/packages/farmhash/package.py @@ -0,0 +1,26 @@ +# Copyright 2013-2022 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 Farmhash(AutotoolsPackage): + """FarmHash is a family of hash functions.""" + + homepage = "https://github.com/google/farmhash" + url = "https://github.com/google/farmhash" + git = "https://github.com/google/farmhash" + + maintainers = ['wdconinc'] + + version('master', branch='master') + + depends_on('autoconf', type='build', when='@master') + depends_on('automake', type='build', when='@master') + depends_on('libtool', type='build', when='@master') + + force_autoreconf = True + + patch('https://github.com/google/farmhash/pull/25.patch',sha256='cbb6709d51d8d517d5df8a47e5c1867610dc5352152e78b64dec75620f95cc97') diff --git a/spack/packages/tensorflow-lite/package.py b/spack/packages/tensorflow-lite/package.py index dbe92b5ca744d41c5bf97abcb825879982603ab3..58ef88f0e8af03c4df6b62e40d18ca84b710ec57 100644 --- a/spack/packages/tensorflow-lite/package.py +++ b/spack/packages/tensorflow-lite/package.py @@ -35,11 +35,10 @@ class TensorflowLite(CMakePackage): depends_on('gemmlowp') depends_on('psimd') depends_on('pthreadpool') - #depends_on(farmhash REQUIRED) + depends_on('farmhash') #depends_on(fft2d REQUIRED) #depends_on(neon2sse REQUIRED) - #depends_on(clog REQUIRED) - #depends_on(cpuinfo REQUIRED) + depends_on('cpuinfo') #depends_on(ruy REQUIRED) # GPU variant dependencies