]> git.lizzy.rs Git - rust.git/commit
mk: Add the ability to depend on native LLVM tools
authorAlex Crichton <alex@alexcrichton.com>
Mon, 11 May 2015 21:14:11 +0000 (14:14 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 19 May 2015 17:53:04 +0000 (10:53 -0700)
commita4ef308473f284a93d2d9f32763e09ba7424540b
tree77d9604bcccef0b8a7d579d2dd1b4e09ab8e90b6
parent6122a5f559362dad03ed6e2433b8d71cece649c5
mk: Add the ability to depend on native LLVM tools

The compiler will require that `llvm-ar.exe` be available for MSVC-targeting
builds (more comments on this soon), so this commit adds support for targets to
depend on LLVM tools. The `core` library for MSVC depends on `llvm-ar.exe` which
will be copied into place for the target before the compiler starts to run.

Note that these targets all depend on `llvm-config.exe` to ensure that they're
built before they're attempted to be copied.
mk/cfg/x86_64-pc-windows-msvc.mk
mk/llvm.mk
mk/main.mk
mk/target.mk