Skip to content

Commit 88e1223

Browse files
committed
Add macOS bootstrap to run_full_bootstrap.jl
1 parent 2f9ebab commit 88e1223

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

bootstrap/run_full_bootstrap.jl

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,25 @@ run_build_tarballs(ctng_meta, "CrosstoolNG/build_tarballs.jl")
2828
@info("Building GCCBootstrap...")
2929
run_build_tarballs(meta, "GCCBootstrap/build_tarballs.jl")
3030

31+
# Build GCCBootstrapMacOS
32+
@info("Building GCCBootstrapMacOS...")
33+
run_build_tarballs(meta, "macOSSDK/build_tarballs.jl")
34+
run_build_tarballs(meta, "CCTools/build_tarballs.jl")
35+
run_build_tarballs(meta, "GCCBootstrapMacOS/build_tarballs.jl")
36+
3137
GCC_TOOLS=[
3238
# Build Zlib again, this time targeting everything
3339
"Zlib",
3440

3541
# Platform header/library bundles
3642
"LinuxKernelHeaders",
37-
"macOSSDK",
3843
"Mingw",
3944
"Musl",
4045
"Glibc",
4146

4247
# Binutils
43-
"CCTools",
4448
"Binutils",
49+
4550
# The big kahuna
4651
"GCC",
4752
]
@@ -50,12 +55,10 @@ for tool in GCC_TOOLS
5055
run_build_tarballs(meta, "$(tool)/build_tarballs.jl")
5156
end
5257

53-
5458
# Build tblgen and ClangBootstrap for the current host
5559
run_build_tarballs(ctng_meta, "LLVM/tblgen.jl")
5660
clangbootstrap_target = CrossPlatform(BBHostPlatform() => AnyPlatform())
57-
clangbootstrap_meta = BuildMeta(;target_list=[clangbootstrap_target], parsed_args...)
58-
run_build_tarballs(clangbootstrap_meta, "LLVM/clang_bootstrap.jl")
61+
run_build_tarballs(meta, "LLVM/clang_bootstrap.jl")
5962

6063
# Next, use ClangBootstrap to build actual `clang` for all platforms, then use it to compile `compiler_rt`,
6164
# and then use clang+compiler_rt to build `libcxx`!

0 commit comments

Comments
 (0)