[K/N] Minor LLVM builder fixes

This commit is contained in:
Sergey Bogolepov
2021-09-29 19:39:56 +07:00
committed by Space
parent 7a3f33ad0b
commit 5c1a4f79c4
2 changed files with 4 additions and 7 deletions
+1 -2
View File
@@ -138,7 +138,6 @@ def construct_cmake_flags(
cxx_flags = ['-isysroot', isysroot, '-stdlib=libc++']
linker_flags = ['-stdlib=libc++']
if host_is_darwin():
cmake_args.append('-DLLVM_ENABLE_LIBCXX=ON')
if building_bootstrap:
@@ -263,7 +262,7 @@ def build_parser() -> argparse.ArgumentParser:
parser = argparse.ArgumentParser(description="Build LLVM toolchain for Kotlin/Native")
# Output configuration.
parser.add_argument("--install-path", type=str, default="llvm-distribution", required=False,
help="Where final LLVM distribution will be enabled")
help="Where final LLVM distribution will be installed")
parser.add_argument("--pack", action='store_true',
help="Create an archive and its sha256 for final distribution at `--install-path`")
parser.add_argument("--build-targets", default=["install"],