Skip to content

Commit

Permalink
[compiler-rt] Lipo the compiler-rt libraries into one Universal Library
Browse files Browse the repository at this point in the history
  • Loading branch information
AreaZR committed Jul 16, 2024
1 parent 6ad2987 commit dd3c3fe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions llvm/utils/gn/secondary/compiler-rt/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,12 @@ group("compiler-rt") {
deps += [ "//compiler-rt/lib/builtins(//llvm/utils/gn/build/toolchain:stage2_iossim_x64)" ]
}
}

action("lipo") {
script = "lipo"
outputs = [ "$target_gen_dir/libcompiler_rt.a" ]
args = [ "-create" ] + rebase_path(deps) + [ "-output", "$target_gen_dir/libcompiler_rt.a" ]
}

deps += [ ":lipo" ]
}

0 comments on commit dd3c3fe

Please sign in to comment.