blob: 3e6e67b67a65e01c6a8a276115ec2025e959803d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright 2013-2021 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 *
from os import listdir
class Cntk1bitsgd(Package):
"""CNTK1bitSGD is the header-only
1-bit stochastic gradient descent (1bit-SGD) library for
the Computational Network Toolkit (CNTK)."""
homepage = "https://github.com/CNTK-components/CNTK1bitSGD"
git = "https://github.com/CNTK-components/CNTK1bitSGD.git"
version('master')
version('c8b77d', commit='c8b77d6e325a4786547b27624890276c1483aed1')
def install(self, spec, prefix):
mkdirp(prefix.include)
for file in listdir('.'):
if file.endswith('.h'):
install(file, prefix.include)
|