-
-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New package: google-cloud-cpp #5991
base: dev
Are you sure you want to change the base?
Conversation
Google Cloud Platform C++ Client Libraries
@@ -15,6 +15,9 @@ package("google-cloud-cpp") | |||
if package:is_plat("android") then | |||
raise("package(google-cloud-cpp) unsupported on android due to package(grpc) is unsupported on android yet.") | |||
end | |||
if package:is_plat("mingw") then | |||
raise("package(google-cloud-cpp) unsupported on android due to package(grpc) is unsupported on mingw yet.") | |||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checking for Minimal target version of Xcode for macosx (arm64) ... 14.5
note: the following packages are unsupported on mingw/i386:
-> grpc v1.62.1 [from:google-cloud-cpp, license:Apache-2.0]
Wonder why google cloud client cpp is not supported on Android |
grpc
kill cross|arm and BSD
a bug of clang. |
@programdir/core/main.lua:329: @programdir/modules/async/runjobs.lua:325: @programdir/core/sandbox/modules/os.lua:202: cannot change directory /tmp/.xmake1001/241216/xmake-repo/test, not found this directory No such file or directory
grpc/grpc#37210 |
We need to unbundle deps. [100/1118] C:\Windows\system32\cmd.exe /C "cd /D C:\Users\runneradmin\AppData\Local\.xmake\cache\packages\2412\g\google-cloud-cpp\2.32.0\source\build_8d23c6b5\external\googleapis\src && "C:\Program Files\CMake\bin\cmake.exe" -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P C:/Users/runneradmin/AppData/Local/.xmake/cache/packages/2412/g/google-cloud-cpp/2.32.0/source/build_8d23c6b5/external/googleapis/src/googleapis_download-stamp/download-googleapis_download.cmake && "C:\Program Files\CMake\bin\cmake.exe" -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P C:/Users/runneradmin/AppData/Local/.xmake/cache/packages/2412/g/google-cloud-cpp/2.32.0/source/build_8d23c6b5/external/googleapis/src/googleapis_download-stamp/verify-googleapis_download.cmake && "C:\Program Files\CMake\bin\cmake.exe" -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P C:/Users/runneradmin/AppData/Local/.xmake/cache/packages/2412/g/google-cloud-cpp/2.32.0/source/build_8d23c6b5/external/googleapis/src/googleapis_download-stamp/extract-googleapis_download.cmake && "C:\Program Files\CMake\bin\cmake.exe" -E touch C:/Users/runneradmin/AppData/Local/.xmake/cache/packages/2412/g/google-cloud-cpp/2.32.0/source/build_8d23c6b5/external/googleapis/src/googleapis_download-stamp/googleapis_download-download"
-- Downloading...
dst='C:/Users/runneradmin/AppData/Local/.xmake/cache/packages/2412/g/google-cloud-cpp/2.32.0/source/build_8d23c6b5/external/googleapis/src/d675ec222c431e3346ba8aaf0027392fe8b3d90c.tar.gz'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/googleapis/googleapis/archive/d675ec222c431e3346ba8aaf0027392fe8b3d90c.tar.gz'
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- verifying file...
file='C:/Users/runneradmin/AppData/Local/.xmake/cache/packages/2412/g/google-cloud-cpp/2.32.0/source/build_8d23c6b5/external/googleapis/src/d675ec222c431e3346ba8aaf0027392fe8b3d90c.tar.gz'
-- Downloading... done
-- extracting...
src='C:/Users/runneradmin/AppData/Local/.xmake/cache/packages/2412/g/google-cloud-cpp/2.32.0/source/build_8d23c6b5/external/googleapis/src/d675ec222c431e3346ba8aaf0027392fe8b3d90c.tar.gz'
dst='C:/Users/runneradmin/AppData/Local/.xmake/cache/packages/2412/g/google-cloud-cpp/2.32.0/source/build_8d23c6b5/external/googleapis/src/googleapis_download'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done |
can I have an example for how to do this |
grpc is optional deps, we can make a option first. |
|
||
on_load(function (package) | ||
if package:config("shared") then | ||
package:add("deps","protobuf-cpp",{shared= true}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add spaces " , "
{configs = {shared = true}}
if package:is_plat("wasm") then | ||
raise("package(google-cloud-cpp) unsupported on wasm due to package(grpc) is unsupported on wasm yet.") | ||
end | ||
if package:is_plat("mingw") then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we just use
on_install("linux", "windows", ...)
to limit platforms instead of on_check
Google Cloud Platform C++ Client Libraries