Title: [276965] trunk/Source/WTF
Revision
276965
Author
cdu...@apple.com
Date
2021-05-04 10:14:36 -0700 (Tue, 04 May 2021)

Log Message

Drop std::filesystem logic in PlatformJSCOnly.cmake
https://bugs.webkit.org/show_bug.cgi?id=225355

Reviewed by Alex Christensen.

Drop std::filesystem logic in PlatformJSCOnly.cmake as it is no longer needed after r276946.

* wtf/PlatformJSCOnly.cmake:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (276964 => 276965)


--- trunk/Source/WTF/ChangeLog	2021-05-04 17:09:17 UTC (rev 276964)
+++ trunk/Source/WTF/ChangeLog	2021-05-04 17:14:36 UTC (rev 276965)
@@ -1,3 +1,14 @@
+2021-05-04  Chris Dumez  <cdu...@apple.com>
+
+        Drop std::filesystem logic in PlatformJSCOnly.cmake
+        https://bugs.webkit.org/show_bug.cgi?id=225355
+
+        Reviewed by Alex Christensen.
+
+        Drop std::filesystem logic in PlatformJSCOnly.cmake as it is no longer needed after r276946.
+
+        * wtf/PlatformJSCOnly.cmake:
+
 2021-05-03  Kimmo Kinnunen  <kkinnu...@apple.com>
 
         [GPUP] Move GPUProcess WebGL to Experimental Feature

Modified: trunk/Source/WTF/wtf/PlatformJSCOnly.cmake (276964 => 276965)


--- trunk/Source/WTF/wtf/PlatformJSCOnly.cmake	2021-05-04 17:09:17 UTC (rev 276964)
+++ trunk/Source/WTF/wtf/PlatformJSCOnly.cmake	2021-05-04 17:14:36 UTC (rev 276965)
@@ -159,31 +159,3 @@
 list(APPEND WTF_LIBRARIES
     Threads::Threads
 )
-
-if (COMPILER_IS_GCC_OR_CLANG)
-    # <filesystem> vs <experimental/filesystem>
-    set(FILESYSTEM_TEST_SOURCE "
-        #include <filesystem>
-        int main() { std::filesystem::path p1(\"\"); std::filesystem::status(p1); }
-    ")
-    set(CMAKE_REQUIRED_FLAGS "--std=c++17")
-    check_cxx_source_compiles("${FILESYSTEM_TEST_SOURCE}" STD_FILESYSTEM_IS_AVAILABLE)
-    if (NOT STD_FILESYSTEM_IS_AVAILABLE)
-        set(EXPERIMENTAL_FILESYSTEM_TEST_SOURCE "
-            #include <experimental/filesystem>
-            int main() {
-                std::experimental::filesystem::path p1(\"//home\");
-                std::experimental::filesystem::status(p1);
-            }
-        ")
-        set(CMAKE_REQUIRED_LIBRARIES stdc++fs)
-        check_cxx_source_compiles("${EXPERIMENTAL_FILESYSTEM_TEST_SOURCE}" STD_EXPERIMENTAL_FILESYSTEM_IS_AVAILABLE)
-        unset(CMAKE_REQUIRED_LIBRARIES)
-        if (STD_EXPERIMENTAL_FILESYSTEM_IS_AVAILABLE)
-            list(APPEND WTF_LIBRARIES
-                stdc++fs
-            )
-        endif ()
-    endif ()
-    unset(CMAKE_REQUIRED_FLAGS)
-endif ()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to