New package: qbox (#4711)

* New package: qbox

* API changes

* Use install instead of shutil for comd

* Use any BLAS library

* Fix typo

* Python2 fix

* python2 + fix backslashes

* Modified to respond to ld_flags correctly

* Modified to use ld_flags

* Add ld_flags support
This commit is contained in:
EmreAtes
2017-08-10 18:12:08 -07:00
committed by Adam J. Stewart
parent e3a4631037
commit 038efc623d
3 changed files with 100 additions and 3 deletions

View File

@@ -23,7 +23,6 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
import shutil
from spack import *
@@ -50,7 +49,7 @@ def edit(self, spec, prefix):
with working_dir('src-mpi'):
filter_file(r'^CC\s*=.*', 'CC = %s' % self.spec['mpi'].mpicc,
'Makefile.vanilla')
shutil.move('Makefile.vanilla', 'Makefile')
install('Makefile.vanilla', 'Makefile')
def install(self, spec, prefix):
shutil.move('bin', prefix)
install_tree('bin', prefix.bin)