[libc-commits] [libc] 2b66417 - [libc] Fix accidentally using system file on GPU

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Wed Aug 21 18:09:06 PDT 2024


Author: Joseph Huber
Date: 2024-08-21T20:08:55-05:00
New Revision: 2b66417d08d8e87f42cd154370ad1722ae7842c8

URL: https://github.com/llvm/llvm-project/commit/2b66417d08d8e87f42cd154370ad1722ae7842c8
DIFF: https://github.com/llvm/llvm-project/commit/2b66417d08d8e87f42cd154370ad1722ae7842c8.diff

LOG: [libc] Fix accidentally using system file on GPU

Summary:
Forgot to delete this

Added: 
    

Modified: 
    libc/src/stdio/scanf_core/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/src/stdio/scanf_core/CMakeLists.txt b/libc/src/stdio/scanf_core/CMakeLists.txt
index 5c00ae0c9973c2..a8935d464417c2 100644
--- a/libc/src/stdio/scanf_core/CMakeLists.txt
+++ b/libc/src/stdio/scanf_core/CMakeLists.txt
@@ -105,8 +105,6 @@ if(LIBC_TARGET_OS_IS_GPU)
       libc.src.stdio.getc
       libc.src.stdio.ungetc
       libc.src.stdio.ferror
-    COMPILE_OPTIONS
-      -DLIBC_COPT_STDIO_USE_SYSTEM_FILE
   )
 elseif(TARGET libc.src.__support.File.file OR (NOT LLVM_LIBC_FULL_BUILD))
   add_header_library(


        


More information about the libc-commits mailing list