[flang-commits] [flang] [flang][rt] Add decimal files to device runtime (PR #126778)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Tue Feb 11 10:46:01 PST 2025
https://github.com/clementval created https://github.com/llvm/llvm-project/pull/126778
The library FortranDecimal is not used anymore with the runtime but its files are now integrated. Add the files for the device build as well.
>From 08fc8dc86687831896230f82da05fee58424ff62 Mon Sep 17 00:00:00 2001
From: Valentin Clement <clementval at gmail.com>
Date: Tue, 11 Feb 2025 10:44:58 -0800
Subject: [PATCH] [flang][rt] Add decimal files to device runtime
---
flang/runtime/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/flang/runtime/CMakeLists.txt b/flang/runtime/CMakeLists.txt
index 7cc720e2df9af8..f651ea83664eb2 100644
--- a/flang/runtime/CMakeLists.txt
+++ b/flang/runtime/CMakeLists.txt
@@ -189,6 +189,8 @@ include(AddFlangOffloadRuntime)
# List of files that are buildable for all devices.
set(supported_files
+ ${FLANG_SOURCE_DIR}/lib/Decimal/binary-to-decimal.cpp
+ ${FLANG_SOURCE_DIR}/lib/Decimal/decimal-to-binary.cpp
ISO_Fortran_binding.cpp
allocatable.cpp
allocator-registry.cpp
More information about the flang-commits
mailing list