[flang-commits] [flang] [flang][rt] Add decimal files to device runtime (PR #126778)

via flang-commits flang-commits at lists.llvm.org
Tue Feb 11 10:46:33 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-flang-runtime

Author: Valentin Clement (バレンタイン クレメン) (clementval)

<details>
<summary>Changes</summary>

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. 

---
Full diff: https://github.com/llvm/llvm-project/pull/126778.diff


1 Files Affected:

- (modified) flang/runtime/CMakeLists.txt (+2) 


``````````diff
diff --git a/flang/runtime/CMakeLists.txt b/flang/runtime/CMakeLists.txt
index 7cc720e2df9af..f651ea83664eb 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

``````````

</details>


https://github.com/llvm/llvm-project/pull/126778


More information about the flang-commits mailing list