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

via flang-commits flang-commits at lists.llvm.org
Tue Feb 11 12:03:29 PST 2025


Author: Valentin Clement (バレンタイン クレメン)
Date: 2025-02-11T12:03:19-08:00
New Revision: 401f4b828c374a01de6acd7fd8f4a3a4245f7595

URL: https://github.com/llvm/llvm-project/commit/401f4b828c374a01de6acd7fd8f4a3a4245f7595
DIFF: https://github.com/llvm/llvm-project/commit/401f4b828c374a01de6acd7fd8f4a3a4245f7595.diff

LOG: [flang][rt] Add decimal files to device runtime (#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.

Added: 
    

Modified: 
    flang/runtime/CMakeLists.txt

Removed: 
    


################################################################################
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


        


More information about the flang-commits mailing list