Browse Source
fix boost patch, clang-cl fetch > json
fix boost patch, clang-cl fetch > json
Signed-off-by: crueter <crueter@eden-emu.dev>pull/348/head
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
6 changed files with 57 additions and 67 deletions
-
50.patch/boost/0001-clang-cl.patch
-
48CMakeLists.txt
-
3CMakeModules/CPM.cmake
-
2CMakeModules/CPMUtil.cmake
-
17cpmfile.json
-
4tools/cpm-fetch.sh
@ -1,24 +1,26 @@ |
|||||
diff -ruN a/libs/cobalt/include/boost/cobalt/concepts.hpp b/libs/cobalt/include/boost/cobalt/concepts.hpp
|
|
||||
--- a/libs/cobalt/include/boost/cobalt/concepts.hpp 2025-04-12 18:25:53.791233755 +0200
|
|
||||
+++ b/libs/cobalt/include/boost/cobalt/concepts.hpp 2025-04-12 18:29:50.304496166 +0200
|
|
||||
@@ -62,7 +62,7 @@
|
|
||||
template <typename T> |
|
||||
concept with_get_executor = requires (T& t) |
|
||||
{ |
|
||||
- {t.get_executor()} -> asio::execution::executor;
|
|
||||
+ t.get_executor();
|
|
||||
}; |
|
||||
|
|
||||
|
|
||||
diff -ruN a/libs/context/CMakeLists.txt b/libs/context/CMakeLists.txt
|
|
||||
--- a/libs/context/CMakeLists.txt 2025-04-12 18:25:53.847233801 +0200
|
|
||||
+++ b/libs/context/CMakeLists.txt 2025-04-12 18:29:33.436479899 +0200
|
|
||||
@@ -189,7 +189,7 @@
|
|
||||
|
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") |
|
||||
set_property(SOURCE ${ASM_SOURCES} APPEND PROPERTY COMPILE_OPTIONS "-x" "assembler-with-cpp") |
|
||||
- elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
|
||||
+ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT MSVC)
|
|
||||
set_property(SOURCE ${ASM_SOURCES} APPEND PROPERTY COMPILE_OPTIONS "-Wno-unused-command-line-argument") |
|
||||
endif() |
|
||||
|
|
||||
|
diff --git a/libs/cobalt/include/boost/cobalt/concepts.hpp b/libs/cobalt/include/boost/cobalt/concepts.hpp
|
||||
|
index d49f2ec..a9bdb80 100644
|
||||
|
--- a/libs/cobalt/include/boost/cobalt/concepts.hpp
|
||||
|
+++ b/libs/cobalt/include/boost/cobalt/concepts.hpp
|
||||
|
@@ -62,7 +62,7 @@ struct enable_awaitables
|
||||
|
template <typename T> |
||||
|
concept with_get_executor = requires (T& t) |
||||
|
{ |
||||
|
- {t.get_executor()} -> asio::execution::executor;
|
||||
|
+ t.get_executor();
|
||||
|
}; |
||||
|
|
||||
|
|
||||
|
diff --git a/libs/context/CMakeLists.txt b/libs/context/CMakeLists.txt
|
||||
|
index 5870537..f8c3e61 100644
|
||||
|
--- a/libs/context/CMakeLists.txt
|
||||
|
+++ b/libs/context/CMakeLists.txt
|
||||
|
@@ -189,7 +189,7 @@ if(BOOST_CONTEXT_IMPLEMENTATION STREQUAL "fcontext")
|
||||
|
|
||||
|
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") |
||||
|
set_property(SOURCE ${ASM_SOURCES} APPEND PROPERTY COMPILE_OPTIONS "-x" "assembler-with-cpp") |
||||
|
- elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
|
+ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT MSVC)
|
||||
|
set_property(SOURCE ${ASM_SOURCES} APPEND PROPERTY COMPILE_OPTIONS "-Wno-unused-command-line-argument") |
||||
|
endif() |
||||
|
|
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue