hybrid-lambda: fix build tests (#30214)
This commit is contained in:
parent
19ea24d2bd
commit
d76f184430
@ -35,10 +35,13 @@ class HybridLambda(AutotoolsPackage):
|
|||||||
depends_on(Boost.with_default_variants)
|
depends_on(Boost.with_default_variants)
|
||||||
depends_on('cppunit', type='test')
|
depends_on('cppunit', type='test')
|
||||||
|
|
||||||
build_directory = 'src'
|
|
||||||
|
|
||||||
@run_after('configure')
|
@run_after('configure')
|
||||||
def change_install_option_in_makefile(self):
|
def change_install_option_in_makefile(self):
|
||||||
with working_dir('src'):
|
with working_dir('src'):
|
||||||
filter_file(r'INSTALL = /bin/install -c',
|
filter_file(r'INSTALL = /bin/install -c',
|
||||||
'INSTALL = /bin/install -C', 'Makefile')
|
'INSTALL = /bin/install -C', 'Makefile')
|
||||||
|
|
||||||
|
@on_package_attributes(run_tests=True)
|
||||||
|
def setup_build_environment(self, env):
|
||||||
|
# build testcases with cppunit
|
||||||
|
env.prepend_path('LD_LIBRARY_PATH', self.spec['cppunit'].libs.directories[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user