FS#14487 - [llvm] llvm-config outputs incorrect file paths
Attached to Project:
Community Packages
Opened by Mikko Sysikaski (Sisu) - Tuesday, 28 April 2009, 17:15 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 06 July 2009, 00:55 GMT
Opened by Mikko Sysikaski (Sisu) - Tuesday, 28 April 2009, 17:15 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 06 July 2009, 00:55 GMT
|
Details
Description:
The llvm-config utility in package llvm displays file names as if all llvm files where installed to /usr/lib while the files are actually located in /usr/lib/llvm. Additional info: * package version(s) llvm-2.5-2 * config and/or log files etc. Steps to reproduce: 1. run: llvm-config --libs jit This outputs: /usr/lib/LLVMX86AsmPrinter.o /usr/lib/LLVMX86CodeGen.o -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMCodeGen -lLLVMScalarOpts -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMCore -lLLVMSupport -lLLVMSystem This command prints filename /usr/lib/LLVMExecutionEngine.o even though LLVMExecutionEngine.o is located in /usr/lib/llvm/ . The same problem seems to occur for all other files too when using llvm-config. |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Monday, 06 July 2009, 00:55 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in llvm-2.5-3.
Monday, 06 July 2009, 00:55 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in llvm-2.5-3.
sed -i 's:\(ABS_RUN_DIR/lib\):\1/llvm:' $pkgdir/usr/bin/llvm-config || return 1
Also fix all sed lines sintax: "sed 'xyz' -i files" -> "sed -i 'xyz' files"