[PATCH] D136915: Add build for Windows on Arm in packaging script

Muhammad Omair Javaid via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 4 06:17:27 PST 2023


omjavaid added a comment.

This looks like a good time to merge this script however some changes are needed:

Stage 0 projects for all configurations should be   -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;compiler-rt". We are essentially just building a new version of clang for making the final release build on stage 1 using our newly built compiler. LLDB or OpenMP is not needed at this stage and can be excluded from the build.

Stage 1 projects for all configurations should be   -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;compiler-rt;lldb;openmp;flang". x86/x64 might not compile flang and Arm64 might not compile openmp. We leave it for the release manager to decide that and make a local change if that is the case.

Stage 0 and Stage 1 Arm64 specific flags are given below (everything else should look similar to x64 and both configurations can be merged):
-DCOMPILER_RT_BUILD_SANITIZERS=OFF ^
-DCOMPILER_RT_BUILD_PROFILE=OFF ^
We do not require anything else specific to Arm64 execept for the flags given above, which allows us to use a single do_build64 for both x64 and arm64 after making some minor adjustments to current implementation. Moreover all testsuites should be enabled for both x64 and arm64. We leave it to the release manager to disable certain testsuite for example ninja check-sanitizer will be have to be commented for arm64 build. We can leave a comment about this above the line starting ::ninja check-sanitizer.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136915/new/

https://reviews.llvm.org/D136915



More information about the llvm-commits mailing list