ti-llvm: Fix for buildpaths errors
PATCH 1/1 ti-llvm: Fix for buildpaths errors
Make sure that llvm-config does not have any absolute build paths within the compiled binary.
Signed-off-by Ryan Eatmon <[email protected]>
--- meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb +4 -0
@@ -72,6 +72,10 @@ do_compile:class-native() { } do_compile:class-nativesdk() { + # Fix for buildpaths error referring to TMPDIR + sed -i 's:@LLVM_SRC_ROOT@::g' ${S}/tools/llvm-config/BuildVariables.inc.in + sed -i 's:@LLVM_OBJ_ROOT@::g' ${S}/tools/llvm-config/BuildVariables.inc.in + cd ${LLVM_BUILD_DIR} # Fix libdir for multilib
Signature · 1 line
2.17.1
Quoted 13 lines · Ryan Eatmon via lists.yoctoproject.org
Make sure that llvm-config does not have any absolute build paths within the compiled binary.
Signed-off-by Ryan Eatmon <[email protected]>--- meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb | 4 ++++ 1 file changed, 4 insertions(+)meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb +0
-0
meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb do_compile:class-native() { · line 77
Quoted 6 lines
meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb +3
-0@@ -72,6 +72,10 @@ do_compile:class-native() { } do_compile:class-nativesdk() { + # Fix for buildpaths error referring to TMPDIR + sed -i 's:@LLVM_SRC_ROOT@::g' ${S}/tools/llvm-config/BuildVariables.inc.in + sed -i 's:@LLVM_OBJ_ROOT@::g' ${S}/tools/llvm-config/BuildVariables.inc.in
Yeah, I was also looking at patching this .in file, but got pre-occupied with upstream breakage lately... Thanks for taking care of this.
Quoted 5 lines
meta-arago-extras/recipes-core/llvm/ti-llvm3.6_3.6.bb +0
-0cd ${LLVM_BUILD_DIR} # Fix libdir for multilibSignature · 1 line
2.17.1