Skip to content

Commit 790d1f5

Browse files
committed
[flang-x86_64-windows] Add compiler-rt
On Windows, compiler-rt is required to provide LLVM-emitted functions that Microsoft's crt does not provide. Otherwise, this is the error: flang_rt.runtime.dynamic.lib(binary-to-decimal.cpp.obj) : error LNK2019: unresolved external symbol __udivti3 referenced in function "public: __cdecl Fortran::decimal::BigRadixFloatingPointNumber<64,16>::BigRadixFloatingPointNumber<64,16>(class Fortran::decimal::BinaryFloatingPointNumber<64>,enum Fortran::decimal::FortranRounding)" (??0?$BigRadixFloatingPointNumber@$0EA@$0BA@@decimal@Fortran@@qeaa@V?$BinaryFloatingPointNumber@$0EA@@12@W4FortranRounding@12@@z) flang-rt\unittests\Evaluate\reshape.test.exe : fatal error LNK1120: 1 unresolved externals
1 parent 4b1d15c commit 790d1f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildbot/osuosl/master/config/builders.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2527,7 +2527,7 @@
25272527
'workernames' : ["minipc-ryzen-win"],
25282528
'builddir': "flang-x86_64-windows",
25292529
'factory' : UnifiedTreeBuilder.getCmakeWithNinjaBuildFactory(
2530-
depends_on_projects=['llvm','mlir','clang','flang','flang-rt'],
2530+
depends_on_projects=['llvm','mlir','clang','compiler-rt','flang','flang-rt'],
25312531
checks=['check-flang','check-flang-rt'],
25322532
install_dir="flang.install",
25332533
extra_configure_args=[

0 commit comments

Comments
 (0)