[llvm] r197684 - llvm-config: Don't show build tree with --obj-root for installed llvm-config. Show $(prefix) instead.

NAKAMURA Takumi geek4civic at gmail.com
Thu Dec 19 17:28:25 PST 2013


I know I broke dragonegg builders.

They are using installed llvm, although "make install" does not
provide utils, FileCheck &c.
I wonder how I could tweak buildsteps. Please be patient.

IMO, dragonegg's make-check should use not installed llvm, but build tree.

...Takumi

2013/12/20 NAKAMURA Takumi <geek4civic at gmail.com>:
> Author: chapuni
> Date: Thu Dec 19 10:02:28 2013
> New Revision: 197684
>
> URL: http://llvm.org/viewvc/llvm-project?rev=197684&view=rev
> Log:
> llvm-config: Don't show build tree with --obj-root for installed llvm-config. Show $(prefix) instead.
>
> Modified:
>     llvm/trunk/tools/llvm-config/llvm-config.cpp
>
> Modified: llvm/trunk/tools/llvm-config/llvm-config.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-config/llvm-config.cpp?rev=197684&r1=197683&r2=197684&view=diff
> ==============================================================================
> --- llvm/trunk/tools/llvm-config/llvm-config.cpp (original)
> +++ llvm/trunk/tools/llvm-config/llvm-config.cpp Thu Dec 19 10:02:28 2013
> @@ -320,7 +320,7 @@ int main(int argc, char **argv) {
>          OS << "ON\n";
>  #endif
>        } else if (Arg == "--obj-root") {
> -        OS << LLVM_OBJ_ROOT << '\n';
> +        OS << ActivePrefix << '\n';
>        } else if (Arg == "--src-root") {
>          OS << LLVM_SRC_ROOT << '\n';
>        } else {
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list