]> git.proxmox.com Git - mirror_edk2.git/commit
edksetup.bat: Simplify the step to use CLANGPDB
authorLiu, Zhiguang <zhiguang.liu@intel.com>
Fri, 20 Dec 2019 08:32:26 +0000 (16:32 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 7 Jan 2020 00:44:04 +0000 (00:44 +0000)
commitcc617b6e1430242f8d042c71c2d923dbc6436a36
treee6a1bafeb399bece66e716309874373ecd7ab4a4
parent0ef6fbbd114e89b8d838eade39bc3a6d7ec54c3c
edksetup.bat: Simplify the step to use CLANGPDB

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2404

Set the below two environment variables in edksetup.bat:
  set CLANG_HOST_BIN=n
  set CLANG_BIN=C:\Program Files\LLVM\bin\
In Windows, set CLANG_HOST_BIN=n to use nmake command
The CLANG_BIN is only be set if it is not defined.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
edksetup.bat