lmbench: fix scripts path for aarch64 (#17456)
This commit is contained in:
parent
9629f571bc
commit
73f02b10de
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/scripts/results b/scripts/results
|
||||||
|
index cd07c15..282ed19 100755
|
||||||
|
--- a/scripts/results
|
||||||
|
+++ b/scripts/results
|
||||||
|
@@ -27,7 +27,7 @@ cd ../bin/$OS
|
||||||
|
PATH=.:${PATH}; export PATH
|
||||||
|
export SYNC_MAX
|
||||||
|
export OUTPUT
|
||||||
|
-lmbench $CONFIG 2>../${RESULTS}
|
||||||
|
+lmbench $CONFIG 2>${RESULTS}
|
||||||
|
|
||||||
|
if [ X$MAIL = Xyes ]
|
||||||
|
then echo Mailing results
|
@ -19,6 +19,8 @@ class Lmbench(MakefilePackage):
|
|||||||
|
|
||||||
depends_on('libtirpc')
|
depends_on('libtirpc')
|
||||||
|
|
||||||
|
patch('fix_results_path_for_aarch64.patch', sha256='2af57abc9058c56b6dd0697bb01a98902230bef92b117017e318faba148eef60', when='target=aarch64:')
|
||||||
|
|
||||||
def setup_build_environment(self, env):
|
def setup_build_environment(self, env):
|
||||||
env.prepend_path('CPATH', self.spec['libtirpc'].prefix.include.tirpc)
|
env.prepend_path('CPATH', self.spec['libtirpc'].prefix.include.tirpc)
|
||||||
env.append_flags('LDFLAGS', '-ltirpc')
|
env.append_flags('LDFLAGS', '-ltirpc')
|
||||||
|
Loading…
Reference in New Issue
Block a user