Switch to using *std_cmake_args

This commit is contained in:
George Hartzell 2016-08-05 18:11:05 -04:00
parent 6a62a6b693
commit f800708ef3
4 changed files with 4 additions and 7 deletions

View File

@ -36,7 +36,6 @@ class BppCore(Package):
depends_on('cmake')
def install(self, spec, prefix):
cmake('-DCMAKE_INSTALL_PREFIX=%s' % prefix,
'-DBUILD_TESTING=FALSE', '.')
cmake('-DBUILD_TESTING=FALSE', '.', *std_cmake_args)
make()
make('install')

View File

@ -38,7 +38,6 @@ class BppPhyl(Package):
depends_on('bpp-seq')
def install(self, spec, prefix):
cmake('-DCMAKE_INSTALL_PREFIX=%s' % prefix,
'-DBUILD_TESTING=FALSE', '.')
cmake('-DBUILD_TESTING=FALSE', '.', *std_cmake_args)
make()
make('install')

View File

@ -37,7 +37,6 @@ class BppSeq(Package):
depends_on('bpp-core')
def install(self, spec, prefix):
cmake('-DCMAKE_INSTALL_PREFIX=%s' % prefix,
'-DBUILD_TESTING=FALSE', '.')
cmake('-DBUILD_TESTING=FALSE', '.', *std_cmake_args)
make()
make('install')

View File

@ -42,6 +42,6 @@ class BppSuite(Package):
depends_on('bpp-phyl')
def install(self, spec, prefix):
cmake('-DCMAKE_INSTALL_PREFIX=%s' % prefix, '.')
cmake('.', *std_cmake_args)
make()
make('install')