
We'd like to use a consistent checksum scheme everywhere so that we can: a) incorporate archive checksums into our specs and have a consistent hashing algorithm across all specs. b) index mirrors with a consistent type of checksum, and not one that is dependent on how spack packages are written. - [x] convert existing md5, sha224, sha512, sha1 checksums to sha256
20 lines
743 B
Python
20 lines
743 B
Python
# 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 Activeharmony(Package):
|
|
"""Active Harmony: a framework for auto-tuning (the automated search for
|
|
values to improve the performance of a target application)."""
|
|
homepage = "http://www.dyninst.org/harmony"
|
|
url = "http://www.dyninst.org/sites/default/files/downloads/harmony/ah-4.5.tar.gz"
|
|
|
|
version('4.5', sha256='31d9990c8dd36724d336707d260aa4d976e11eaa899c4c7cc11f80a56cdac684')
|
|
|
|
def install(self, spec, prefix):
|
|
make("CFLAGS=-O3")
|
|
make("install", 'PREFIX=%s' % prefix)
|