[llvm] [flang] Include flang in Windows Installer (PR #154136)

Jaap Aarts via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 18 08:25:48 PDT 2025


https://github.com/JAicewizard created https://github.com/llvm/llvm-project/pull/154136

Copy of/supersedes #153618 with email connected to author

As far as I understood the current history of things, flang should be available as a binary but no one seems to have informed the Windows installer script about that.

Might also need -DFLANG_PARALLEL_COMPILE_JOBS=1 ?

Related
https://github.com/llvm/llvm-project/issues/112789
https://blog.llvm.org/posts/2025-03-11-flang-new/

closes
https://github.com/llvm/llvm-project/issues/113033

cc @tstellar @h-vetinari

>From a69d917164842cc22b250a9809c49f70c4aeb9b3 Mon Sep 17 00:00:00 2001
From: Jaap Aarts <jaap.aarts1 at gmail.com>
Date: Mon, 18 Aug 2025 17:24:49 +0200
Subject: [PATCH] Include flang in Windows Installer

---
 llvm/utils/release/build_llvm_release.bat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/utils/release/build_llvm_release.bat b/llvm/utils/release/build_llvm_release.bat
index 3042fc2d77dd1..6ea02edd75577 100755
--- a/llvm/utils/release/build_llvm_release.bat
+++ b/llvm/utils/release/build_llvm_release.bat
@@ -165,7 +165,7 @@ set common_cmake_flags=^
   -DCMAKE_C_FLAGS="%common_compiler_flags%" ^
   -DCMAKE_CXX_FLAGS="%common_compiler_flags%" ^
   -DLLVM_ENABLE_RPMALLOC=ON ^
-  -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;compiler-rt;lldb;openmp"
+  -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;compiler-rt;lldb;openmp;flang"
 
 if "%force-msvc%" == "" (
   where /q clang-cl



More information about the llvm-commits mailing list