[llvm] r260263 - llvm-config: Add preliminary Windows support
Michel Dänzer via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 9 23:16:35 PST 2016
Hi Ehsan,
On 10.02.2016 04:41, Ehsan Akhgari via llvm-commits wrote:
> Author: ehsan
> Date: Tue Feb 9 13:41:14 2016
> New Revision: 260263
>
> URL: http://llvm.org/viewvc/llvm-project?rev=260263&view=rev
> Log:
> llvm-config: Add preliminary Windows support
>
> Summary:
> This patch adds Windows support for a few of the llvm-config commands,
> including cflags, ldflags, libs, and system-libs.
>
> Currently llvm-config is untested, so this patch adds tests for the
> commands that it fixes as well.
>
> Reviewers: rnk
>
> Subscribers: llvm-commits
>
> Differential Revision: http://reviews.llvm.org/D16762
[...]
> Added: llvm/trunk/test/tools/llvm-config/libs.test
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-config/libs.test?rev=260263&view=auto
> ==============================================================================
> --- llvm/trunk/test/tools/llvm-config/libs.test (added)
> +++ llvm/trunk/test/tools/llvm-config/libs.test Tue Feb 9 13:41:14 2016
> @@ -0,0 +1,5 @@
> +RUN: llvm-config --libs core 2>&1 | FileCheck %s
> +CHECK: LLVMCore
> +CHECK: LLVMSupport
> +CHECK-NOT: error
> +CHECK-NOT: warning
This test fails when building with LLVM_BUILD_LLVM_DYLIB (and
LLVM_LINK_LLVM_DYLIB?) enabled, because llvm-config --libs only prints
"-lLLVM-3.9svn" in that case.
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Mesa and X developer
More information about the llvm-commits
mailing list