mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:19:01 +08:00
[vcpkg baseline][async-simple] Fix race during cmake configure (#36764)
Disable optional dependencies. I don't know what caused the race condition but it seems to be fixed. - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [x] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file. ``` -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE CMake Error: Running 'C:/PROGRA~1/MICROS~1/2022/ENTERP~1/Common7/IDE/COMMON~1/MICROS~1/CMake/Ninja/ninja.exe' '-C' 'D:/b/async-simple/src/v1.3-3db60bdafc.clean/CMakeFiles/CMakeTmp' '-t' 'recompact' failed with: ninja: error: loading 'build.ninja': The system cannot find the file specified. ```
This commit is contained in:
parent
6978381401
commit
a56d892ac7
@ -8,15 +8,18 @@ vcpkg_from_github(
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
DISABLE_PARALLEL_CONFIGURE
|
||||
OPTIONS
|
||||
-DASYNC_SIMPLE_ENABLE_TESTS=OFF
|
||||
-DASYNC_SIMPLE_BUILD_DEMO_EXAMPLE=OFF
|
||||
-DASYNC_SIMPLE_ENABLE_ASAN=OFF
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Benchmark=ON
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Aio=ON
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME "async_simple")
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME async_simple)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
@ -28,4 +31,4 @@ if (LIB_CNT EQUAL 0)
|
||||
endif()
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" COPYONLY)
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "async-simple",
|
||||
"version": "1.3",
|
||||
"port-version": 1,
|
||||
"description": "Simple, light-weight and easy-to-use asynchronous components.",
|
||||
"homepage": "https://github.com/alibaba/async_simple",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2a01ce2f978c1616b22f05ef599bfed1f080a626",
|
||||
"version": "1.3",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "f2ba1d445f31f11bc0311be0de36f56fc40531da",
|
||||
"version": "1.3",
|
||||
|
@ -286,7 +286,7 @@
|
||||
},
|
||||
"async-simple": {
|
||||
"baseline": "1.3",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"asynch": {
|
||||
"baseline": "2019-09-21",
|
||||
|
Loading…
Reference in New Issue
Block a user