forked from libimobiledevice-win32/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cpp-taskflow] Update to 2.5.0 (microsoft#12923)
Co-authored-by: JackBoosY <[email protected]>
- Loading branch information
Showing
3 changed files
with
38 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Source: cpp-taskflow | ||
Version: 2.2.0-1 | ||
Version: 2.5.0 | ||
Description: Fast Parallel Tasking Programming Library using Modern C++. | ||
Homepage: https://github.com/taskflow/taskflow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 9beec931..6782f1d5 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -89,7 +89,7 @@ target_compile_options( | ||
$<$<CXX_COMPILER_ID:AppleClang>:-Wall -Wextra -Wfatal-errors> | ||
$<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:Clang>>:-Wall -Wextra -Wfatal-errors> | ||
$<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:GNU>>:-Wall -Wextra -Wfatal-errors> | ||
- $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:MSVC>>:/W3 /permissive-> | ||
+ $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:MSVC>>:/bigobj /W3 /permissive-> | ||
#$<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler=-Wall,-Wextra,-Wfatal-errors> | ||
#$<$<CXX_COMPILER_ID:Clang>:-Wall -Wextra -Wfatal-errors> | ||
#$<$<CXX_COMPILER_ID:GNU>:-Wall -Wextra -Wfatal-errors> | ||
@@ -219,6 +219,8 @@ target_include_directories(${PROJECT_NAME} INTERFACE | ||
# Example program | ||
# ----------------------------------------------------------------------------- | ||
|
||
+if(BUILD_TEST) | ||
+ | ||
message(STATUS "Building examples ...") | ||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${TF_EXAMPLE_DIR}) | ||
|
||
@@ -617,6 +619,8 @@ add_test(cuda_kmeans.1000.16C16G ${TF_UTEST_CUDA_KMEANS} -tc=kmeans.1000.16C16G) | ||
|
||
endif(CMAKE_CUDA_COMPILER) | ||
|
||
+endif() | ||
+ | ||
# ----------------------------------------------------------------------------- | ||
# Benchmarking (enabled by TF_BUILD_BENCHMARKS) | ||
# ----------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters