diff options
| author | mfornace <mfornace@users.noreply.github.com> | 2020-09-11 12:12:04 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-11 12:12:04 -0700 |
| commit | 946fa300e7529c9739e9edbd19f82e8a8975d5bf (patch) | |
| tree | dac8f432a00729448b4bd074c5bd7e314f9e6e6f /ports/taskflow | |
| parent | 59115f6e3a8efe55f24ec224fd61abdfb8bfc604 (diff) | |
| download | vcpkg-946fa300e7529c9739e9edbd19f82e8a8975d5bf.tar.gz vcpkg-946fa300e7529c9739e9edbd19f82e8a8975d5bf.zip | |
[taskflow] Update cpp-taskflow 2.2.0 to taskflow 2.6.0 (#13140)
* Update to 2.5.0
* Disable unit test building; 2.5.0 uses BUILD_TESTING flag
* Attempt to add /bigobj since I'm not sure how to disable building examples target
* Fix build error when building x64 targets
* Add more to the patch, remove sections with add_executable from CMakeLists.txt
* Guard with BUILD_TEST, put compile option in
* Disable CUDA
* Change name of package to taskflow
* Add patch so it's back to Cpp-Taskflow::Cpp-Taskflow...
* Update CONTROL
* Move - down to Port-Version.
* Add taskflow 2.6.0
* Update cpp-taskflow to 2.4.0 and disable test building
* Change 'cpp-taskflow' to merely depend on 'taskflow'.
* Remove osx skip.
* Fix up portfile and remove patch file since not needed for header-only
* Case fix for Linux
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports/taskflow')
| -rw-r--r-- | ports/taskflow/CONTROL | 4 | ||||
| -rw-r--r-- | ports/taskflow/portfile.cmake | 29 |
2 files changed, 33 insertions, 0 deletions
diff --git a/ports/taskflow/CONTROL b/ports/taskflow/CONTROL new file mode 100644 index 000000000..6bdca9e43 --- /dev/null +++ b/ports/taskflow/CONTROL @@ -0,0 +1,4 @@ +Source: taskflow
+Version: 2.6.0
+Description: Fast Parallel Tasking Programming Library using Modern C++.
+Homepage: https://github.com/taskflow/taskflow
diff --git a/ports/taskflow/portfile.cmake b/ports/taskflow/portfile.cmake new file mode 100644 index 000000000..1e87d0b56 --- /dev/null +++ b/ports/taskflow/portfile.cmake @@ -0,0 +1,29 @@ +# header-only library
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO taskflow/taskflow
+ REF v2.6.0
+ SHA512 43b023c7d744ae1e0baf6f504f32da481e950ec5cc34fe5511e4bbb8905203e4726917ee103b1c02544a75c6216c2ca481034be810b61a35511a3d7a2b278133
+ HEAD_REF master
+)
+
+vcpkg_configure_cmake(
+ SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
+ OPTIONS
+ -DTF_BUILD_BENCHMARKS=OFF
+ -DTF_BUILD_CUDA=OFF
+ -DTF_BUILD_TESTS=OFF
+ -DTF_BUILD_EXAMPLES=OFF
+ -DBUILD_TESTING=OFF
+ -DCMAKE_CUDA_COMPILER=OFF
+)
+
+vcpkg_install_cmake()
+
+vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Taskflow)
+
+file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
+
+# Handle copyright
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
