adding dtcmp package
This commit is contained in:
parent
3dd8e561b9
commit
6e7a7d127d
20
var/spack/packages/dtcmp/package.py
Normal file
20
var/spack/packages/dtcmp/package.py
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
import os
|
||||||
|
from spack import *
|
||||||
|
|
||||||
|
class Dtcmp(Package):
|
||||||
|
"""The Datatype Comparison Library provides comparison operations and parallel sort algorithms for MPI applications."""
|
||||||
|
|
||||||
|
homepage = "https://github.com/hpc/dtcmp"
|
||||||
|
url = "https://github.com/hpc/dtcmp/releases/download/v1.0.3/dtcmp-1.0.3.tar.gz"
|
||||||
|
|
||||||
|
versions = { '1.0.3' : 'cdd8ccf71e8ff67de2558594a7fcd317' }
|
||||||
|
#version('1.0.3', 'cdd8ccf71e8ff67de2558594a7fcd317')
|
||||||
|
|
||||||
|
depends_on('mpi')
|
||||||
|
depends_on('lwgrp')
|
||||||
|
|
||||||
|
def install(self, spec, prefix):
|
||||||
|
configure("--prefix=" + prefix,
|
||||||
|
"--with-lwgrp=" + spec['lwgrp'].prefix)
|
||||||
|
make()
|
||||||
|
make("install")
|
Loading…
Reference in New Issue
Block a user