Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
15ccc18
Fix Aws Crypto Abstraction Layer and S2N builds
ahmedalnuaimi Sep 20, 2021
683ecf0
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Sep 21, 2021
a83331c
Fix aws-c-cal build
ahmedalnuaimi Sep 21, 2021
06221dc
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Sep 21, 2021
1156fe3
Revert changes
ahmedalnuaimi Sep 22, 2021
8ad7404
[s2n] update to 1.1.0
Sep 22, 2021
8bbbfb0
Merge remote-tracking branch 'camarois/update-s2n-port' into ay/aws_sdk
ahmedalnuaimi Sep 22, 2021
6959a1e
Do not build tests for any of AWS SDK for C++ dependencies
ahmedalnuaimi Sep 22, 2021
3e397fe
Update versions
ahmedalnuaimi Sep 22, 2021
e60bad2
Fix indentation
ahmedalnuaimi Sep 22, 2021
aa34937
Fix indentation
ahmedalnuaimi Sep 22, 2021
7ec9f2b
Remove redundant flags
ahmedalnuaimi Sep 22, 2021
8101e0e
Remove redundant options
ahmedalnuaimi Sep 22, 2021
e622131
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Sep 22, 2021
f74a82d
Update ports/aws-c-auth/portfile.cmake
Sep 23, 2021
53f1266
Update ports/aws-c-cal/002-no-exe-no-tests.patch
Sep 23, 2021
136e92d
Update ports/aws-c-cal/portfile.cmake
Sep 23, 2021
d50de3f
Update ports/aws-c-cal/portfile.cmake
Sep 23, 2021
fb80bbc
Update ports/aws-c-compression/portfile.cmake
Sep 23, 2021
d94fe04
Update ports/aws-crt-cpp/portfile.cmake
Sep 23, 2021
56505bd
Update ports/aws-checksums/portfile.cmake
Sep 23, 2021
4f900eb
Update ports/aws-c-event-stream/portfile.cmake
Sep 23, 2021
a932942
Update ports/aws-c-s3/portfile.cmake
Sep 23, 2021
4846746
Update ports/aws-c-http/portfile.cmake
Sep 23, 2021
df9e904
Update ports/aws-c-io/portfile.cmake
Sep 23, 2021
d235ed9
Update ports/aws-c-mqtt/portfile.cmake
Sep 23, 2021
99f7c56
Simplify patch
ahmedalnuaimi Sep 23, 2021
09d4e32
Update versions
ahmedalnuaimi Sep 23, 2021
0c70a24
Replace deprecated methods
ahmedalnuaimi Sep 23, 2021
ec81592
Update versions
ahmedalnuaimi Sep 23, 2021
513ccfc
Fix dependencies of OpenSSL
ahmedalnuaimi Sep 23, 2021
c72f201
Fix dependencies of OpenSSL
ahmedalnuaimi Sep 23, 2021
d63a003
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Sep 23, 2021
3be7379
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Sep 23, 2021
f7bcf5b
Update ports/aws-c-cal/portfile.cmake
Sep 24, 2021
4ffced5
Update ports/aws-c-io/portfile.cmake
Sep 24, 2021
281bfb1
Update ports/aws-c-io/portfile.cmake
Sep 24, 2021
958ebc4
Merge branch 'ay/aws_sdk' of https://github.com/ahmedyarub/vcpkg into…
ahmedalnuaimi Sep 24, 2021
bf1260f
Fix versions
ahmedalnuaimi Sep 24, 2021
7f9057b
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
Sep 24, 2021
c72c81d
Merge branch 'ay/aws_sdk' of https://github.com/ahmedyarub/vcpkg into…
Sep 24, 2021
0c969ac
Revert quotation mark change
Sep 24, 2021
8d00fc0
Revert quotation mark change
Sep 24, 2021
96bd5a1
Revert quotation mark change
Sep 24, 2021
2f461ec
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Sep 24, 2021
3195276
Merge branch 'ay/aws_sdk' of https://github.com/ahmedyarub/vcpkg into…
ahmedalnuaimi Sep 24, 2021
d666f45
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Sep 25, 2021
9d2e362
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal Sep 29, 2021
8de6008
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
Oct 27, 2021
887ebf1
Patch AWS CRT for C++ for iOS build
Oct 27, 2021
353e149
Remove redundant flags
Oct 27, 2021
f4edd53
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
Oct 27, 2021
12da0eb
Fix indentation
Oct 27, 2021
a73777f
Update versions
Oct 27, 2021
80da995
Update versions
Oct 27, 2021
b63508c
Fix aws-c-cal build
ahmedalnuaimi Oct 27, 2021
946bff8
Update versions
ahmedalnuaimi Oct 27, 2021
e96d20f
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Oct 27, 2021
0073896
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Oct 28, 2021
bc839c4
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Oct 29, 2021
a4c6bfa
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Oct 29, 2021
1531005
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Oct 29, 2021
ffc19dc
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 1, 2021
2d75cde
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 1, 2021
a551fa1
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 1, 2021
b2f6bd2
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 3, 2021
b6b408d
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 4, 2021
2274249
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 4, 2021
3377aa3
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 4, 2021
c94212c
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 5, 2021
67b0d46
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 6, 2021
13bb024
Update versions
ahmedalnuaimi Nov 6, 2021
5fea618
Update versions
ahmedalnuaimi Nov 6, 2021
34eeb2f
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 8, 2021
387ead5
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 9, 2021
6751051
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 9, 2021
421241b
Update versions
ahmedalnuaimi Nov 9, 2021
c658696
Update versions
ahmedalnuaimi Nov 9, 2021
206eeb2
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 9, 2021
d67a4e8
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 10, 2021
dea0737
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 11, 2021
c9f2316
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 11, 2021
ce6724e
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 11, 2021
cc24258
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 12, 2021
592724b
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 13, 2021
2fb7d4a
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 14, 2021
66e0179
Fix library paths for Windows shared builds
ahmedalnuaimi Nov 14, 2021
2e693b3
Revert compiler check
ahmedalnuaimi Nov 14, 2021
61c3324
Update versions
ahmedalnuaimi Nov 14, 2021
1c2d08e
Fix indentation
ahmedalnuaimi Nov 15, 2021
a78ecfe
Update versions
ahmedalnuaimi Nov 15, 2021
5c29109
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 15, 2021
f21a55b
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 16, 2021
5cd10b8
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 16, 2021
e349e26
Fix indentation
ahmedalnuaimi Nov 17, 2021
70dfde8
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 17, 2021
4453297
Fix indentation
ahmedalnuaimi Nov 17, 2021
a0a37e9
Fix indentation
ahmedalnuaimi Nov 17, 2021
f79d473
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 17, 2021
d5b83b9
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 17, 2021
20f4799
Update versions/o-/openssl.json
Nov 19, 2021
09675d4
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 19, 2021
6d70281
Merge branch 'master' of https://github.com/microsoft/vcpkg into ay/a…
ahmedalnuaimi Nov 20, 2021
5082a15
Merge branch 'ay/aws_sdk' of https://github.com/ahmedyarub/vcpkg into…
ahmedalnuaimi Nov 20, 2021
f26ec6a
Update versions
ahmedalnuaimi Nov 20, 2021
66e86e7
Update versions
ahmedalnuaimi Nov 20, 2021
ed64724
Update versions
ahmedalnuaimi Nov 20, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ports/aws-c-auth/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ vcpkg_cmake_configure(
PREFER_NINJA
OPTIONS
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files
-DBUILD_TESTING=FALSE
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
)

vcpkg_cmake_install()
Expand Down
1 change: 1 addition & 0 deletions ports/aws-c-auth/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "aws-c-auth",
"version": "0.6.3",
"port-version": 1,
"description": "C99 library implementation of AWS client-side authentication: standard credentials providers and signing.",
"homepage": "https://github.com/awslabs/aws-c-auth",
"supports": "!arm & !uwp",
Expand Down
20 changes: 20 additions & 0 deletions ports/aws-c-cal/002-no-exe-no-tests.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Index: CMakeLists.txt
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt (revision aa89aa4950074babe84762413f39bd364ecaf944)
+++ b/CMakeLists.txt (date 1632228755789)
@@ -173,11 +173,3 @@
install(FILES ${EXPORT_MODULES}
DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/modules"
COMPONENT Development)
-
-if (NOT CMAKE_CROSSCOMPILING AND NOT BYO_CRYPTO)
- add_subdirectory(bin/sha256_profile)
- include(CTest)
- if (BUILD_TESTING)
- add_subdirectory(tests)
- endif()
-endif()
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
12 changes: 5 additions & 7 deletions ports/aws-c-cal/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,25 @@ vcpkg_from_github(
REF aa89aa4950074babe84762413f39bd364ecaf944 # v0.5.11
SHA512 b92ae3cb14d26dfe48cb903df56f7df91a4dc0ab2e5ea4f095c72b0b7e0a2582f1324c73eb42c080bcb0a59a3dfc37cd2912037fc8e5f7df8433899749fca63c
HEAD_REF master
PATCHES fix-cmake-target-path.patch
PATCHES
001-fix-cmake-target-path.patch
002-no-exe-no-tests.patch
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
PREFER_NINJA
OPTIONS
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files
-DBUILD_TESTING=FALSE
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
)

Comment thread
ahmedyarub marked this conversation as resolved.
vcpkg_cmake_install()

vcpkg_cmake_config_fixup(CONFIG_PATH lib/aws-c-cal/cmake)

vcpkg_copy_tools(
TOOL_NAMES sha256_profile
AUTO_CLEAN
)
Comment thread
ahmedyarub marked this conversation as resolved.

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/bin"
"${CURRENT_PACKAGES_DIR}/debug/bin"
)
Expand Down
1 change: 1 addition & 0 deletions ports/aws-c-cal/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "aws-c-cal",
"version": "0.5.11",
"port-version": 1,
"description": "C99 wrapper for cryptography primitives.",
"homepage": "https://github.com/awslabs/aws-c-cal",
"supports": "!arm & !uwp",
Expand Down
2 changes: 2 additions & 0 deletions ports/aws-c-common/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ vcpkg_from_github(
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
PREFER_NINJA
OPTIONS
-DBUILD_TESTING=FALSE
)

vcpkg_cmake_install()
Expand Down
2 changes: 2 additions & 0 deletions ports/aws-c-common/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"name": "aws-c-common",
"version": "0.6.9",
"port-version": 1,
"description": "AWS common library for C",
"homepage": "https://github.com/awslabs/aws-c-common",
"supports": "!arm & !uwp",
"dependencies": [
"openssl",
{
"name": "vcpkg-cmake",
"host": true
Expand Down
1 change: 1 addition & 0 deletions ports/aws-c-compression/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ vcpkg_cmake_configure(
PREFER_NINJA
OPTIONS
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files
-DBUILD_TESTING=FALSE
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
)

vcpkg_cmake_install()
Expand Down
1 change: 1 addition & 0 deletions ports/aws-c-compression/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "aws-c-compression",
"version": "0.2.14",
"port-version": 1,
"description": "C99 implementation of huffman encoding/decoding",
"homepage": "https://github.com/awslabs/aws-c-compression",
"supports": "!arm & !uwp",
Expand Down
1 change: 1 addition & 0 deletions ports/aws-c-event-stream/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ vcpkg_cmake_configure(
PREFER_NINJA
OPTIONS
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common"
-DBUILD_TESTING=FALSE
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
)

vcpkg_cmake_install()
Expand Down
1 change: 1 addition & 0 deletions ports/aws-c-event-stream/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "aws-c-event-stream",
"version": "0.2.7",
"port-version": 1,
"description": "C99 implementation of the vnd.amazon.event-stream content-type.",
"homepage": "https://github.com/awslabs/aws-c-event-stream",
"supports": "!arm & !uwp",
Expand Down
6 changes: 1 addition & 5 deletions ports/aws-c-http/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,13 @@ vcpkg_cmake_configure(
PREFER_NINJA
OPTIONS
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files
-DBUILD_TESTING=FALSE
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
)

vcpkg_cmake_install()

vcpkg_cmake_config_fixup(CONFIG_PATH lib/aws-c-http/cmake)

vcpkg_copy_tools(
TOOL_NAMES elasticurl
AUTO_CLEAN
)
Comment thread
ahmedyarub marked this conversation as resolved.

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/bin"
Expand Down
1 change: 1 addition & 0 deletions ports/aws-c-http/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "aws-c-http",
"version": "0.6.5",
"port-version": 1,
"description": "C99 implementation of the HTTP/1.1 and HTTP/2 specifications",
"homepage": "https://github.com/awslabs/aws-c-http",
"supports": "!arm & !uwp",
Expand Down
1 change: 1 addition & 0 deletions ports/aws-c-io/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ vcpkg_cmake_configure(
PREFER_NINJA
OPTIONS
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files
-DBUILD_TESTING=FALSE
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
)

vcpkg_cmake_install()
Expand Down
1 change: 1 addition & 0 deletions ports/aws-c-io/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "aws-c-io",
"version": "0.10.7",
"port-version": 1,
"description": "Handles all IO and TLS work for application protocols.",
"homepage": "https://github.com/awslabs/aws-c-io",
"supports": "!arm & !uwp",
Expand Down
6 changes: 1 addition & 5 deletions ports/aws-c-mqtt/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,13 @@ vcpkg_cmake_configure(
PREFER_NINJA
OPTIONS
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files
-DBUILD_TESTING=FALSE
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
)

vcpkg_cmake_install()

vcpkg_cmake_config_fixup(CONFIG_PATH lib/aws-c-mqtt/cmake)

vcpkg_copy_tools(
TOOL_NAMES elastipubsub
AUTO_CLEAN
)
Comment thread
ahmedyarub marked this conversation as resolved.

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/bin"
Expand Down
1 change: 1 addition & 0 deletions ports/aws-c-mqtt/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "aws-c-mqtt",
"version": "0.7.6",
"port-version": 1,
"description": "C99 implementation of the MQTT 3.1.1 specification.",
"homepage": "https://github.com/awslabs/aws-c-mqtt",
"supports": "!arm & !uwp",
Expand Down
1 change: 1 addition & 0 deletions ports/aws-c-s3/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ vcpkg_cmake_configure(
PREFER_NINJA
OPTIONS
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files
-DBUILD_TESTING=FALSE
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
)

vcpkg_cmake_install()
Expand Down
1 change: 1 addition & 0 deletions ports/aws-c-s3/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "aws-c-s3",
"version": "0.1.25",
"port-version": 1,
"description": "C99 library implementation for communicating with the S3 service, designed for maximizing throughput on high bandwidth EC2 instances.",
"homepage": "https://github.com/awslabs/aws-c-s3",
"supports": "!arm & !uwp",
Expand Down
1 change: 1 addition & 0 deletions ports/aws-checksums/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ vcpkg_cmake_configure(
OPTIONS
"-DSTATIC_CRT=${STATIC_CRT_LNK}"
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files
-DBUILD_TESTING=FALSE
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
)

vcpkg_cmake_install()
Expand Down
1 change: 1 addition & 0 deletions ports/aws-checksums/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "aws-checksums",
"version": "0.1.11",
"port-version": 1,
"description": "Cross-Platform HW accelerated CRC32c and CRC32 with fallback to efficient SW implementations.",
"homepage": "https://github.com/awslabs/aws-checksums",
"supports": "!arm & !windows",
Expand Down
14 changes: 7 additions & 7 deletions ports/aws-crt-cpp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ vcpkg_from_github(
fix-cmake-target-path.patch
)

string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" STATIC_CRT)
if(MSVC)
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "static" STATIC_CRT)

set(EXTRA_ARGS "-DSTATIC_CRT=${STATIC_CRT}")
endif()

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
OPTIONS
"-DSTATIC_CRT=${STATIC_CRT}"
${EXTRA_ARGS}
"-DBUILD_DEPS=OFF"
"-DCMAKE_MODULE_PATH=${CURRENT_INSTALLED_DIR}/share/aws-c-common" # use extra cmake files
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
-DBUILD_TESTING=FALSE
)

vcpkg_cmake_install()

vcpkg_cmake_config_fixup(CONFIG_PATH lib/aws-crt-cpp/cmake)

vcpkg_copy_tools(
TOOL_NAMES elasticurl_cpp
AUTO_CLEAN
)
Comment thread
ahmedyarub marked this conversation as resolved.

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/bin"
Expand Down
2 changes: 1 addition & 1 deletion ports/aws-crt-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "aws-crt-cpp",
"version": "0.15.1",
"port-version": 1,
"port-version": 2,
"description": "Cross-Platform HW accelerated CRC32c and CRC32 with fallback to efficient SW implementations.",
"homepage": "https://github.com/awslabs/aws-crt-cpp",
"supports": "!arm & !uwp",
Expand Down
21 changes: 9 additions & 12 deletions ports/aws-sdk-cpp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,16 @@ vcpkg_from_github(
string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "dynamic" FORCE_SHARED_CRT)

set(EXTRA_ARGS)
if(VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_IOS)
if(APPLE)
Comment thread
ahmedyarub marked this conversation as resolved.
Outdated
set(rpath "@loader_path")
set(EXTRA_ARGS
"-DCURL_HAS_H2_EXITCODE=0"
"-DCURL_HAS_H2_EXITCODE__TRYRUN_OUTPUT=\"\""
"-DCURL_HAS_TLS_PROXY_EXITCODE=0"
"-DCURL_HAS_TLS_PROXY_EXITCODE__TRYRUN_OUTPUT=\"\""
)
if(VCPKG_TARGET_IS_IOS)
set(EXTRA_ARGS
"-DCURL_HAS_H2_EXITCODE=0"
"-DCURL_HAS_H2_EXITCODE__TRYRUN_OUTPUT=\"\""
"-DCURL_HAS_TLS_PROXY_EXITCODE=0"
"-DCURL_HAS_TLS_PROXY_EXITCODE__TRYRUN_OUTPUT=\"\""
)
endif()
elseif (VCPKG_TARGET_IS_ANDROID)
set(EXTRA_ARGS "-DTARGET_ARCH=ANDROID"
"-DGIT_EXECUTABLE=--invalid-git-executable--"
Expand All @@ -28,11 +30,6 @@ elseif (VCPKG_TARGET_IS_ANDROID)
"-DANDROID_BUILD_ZLIB=FALSE"
"-DANDROID_BUILD_CURL=FALSE"
"-DANDROID_BUILD_OPENSSL=FALSE"
"-DENABLE_HW_OPTIMIZATION=OFF"
"-DCURL_HAS_H2_EXITCODE=0"
"-DCURL_HAS_H2_EXITCODE__TRYRUN_OUTPUT=\"\""
"-DCURL_HAS_TLS_PROXY_EXITCODE=0"
"-DCURL_HAS_TLS_PROXY_EXITCODE__TRYRUN_OUTPUT=\"\""
)
else()
set(rpath "\$ORIGIN")
Expand Down
2 changes: 1 addition & 1 deletion ports/aws-sdk-cpp/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$note": "Automatically generated by generateFeatures.ps1",
"name": "aws-sdk-cpp",
"version": "1.9.96",
"port-version": 2,
"port-version": 3,
"description": "AWS SDK for C++",
"homepage": "https://github.com/aws/aws-sdk-cpp",
"supports": "!arm & !uwp",
Expand Down
12 changes: 12 additions & 0 deletions ports/kubernetes/001-fix-destination.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/kubernetes/CMakeLists.txt b/kubernetes/CMakeLists.txt
--- a/kubernetes/CMakeLists.txt (revision 6b98698c92c59d8c63815f74ed4183fc36cde37b)
+++ b/kubernetes/CMakeLists.txt (date 1632055519986)
@@ -1563,7 +1563,7 @@
install(TARGETS ${pkgName} DESTINATION ${CMAKE_INSTALL_PREFIX})
else()
include(GNUInstallDirs)
- install(TARGETS ${pkgName} DESTINATION ${CMAKE_INSTALL_PREFIX} EXPORT ${pkgName}Targets)
+ install(TARGETS ${pkgName} EXPORT ${pkgName}Targets)

foreach(HDR_FILE ${HDRS})
get_filename_component(HDR_DIRECTORY ${HDR_FILE} DIRECTORY)
27 changes: 27 additions & 0 deletions ports/kubernetes/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
vcpkg_fail_port_install(ON_TARGET "UWP")

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO kubernetes-client/c
REF f6465c8fb099f2c8fcf1f84edd5e880610600f10
SHA512 e95a843028a352b1db881be483de5838d8795491e3125598432c4fcc10650aa9c733f96f6a63ec7fe0b1612274df46241b05cc59d0aa569a6c46b7c9db56221c
HEAD_REF master
PATCHES
001-fix-destination.patch
)

vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}/kubernetes
PREFER_NINJA)

vcpkg_cmake_install()

if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL debug)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
endif()

vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})

vcpkg_copy_pdbs()

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
20 changes: 20 additions & 0 deletions ports/kubernetes/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "kubernetes",
"version-string": "0.0.1",
"description": "Kubernetes C client",
"homepage": "https://github.com/kubernetes-client/c/",
"dependencies": [
"curl",
"libwebsockets",
"libyaml",
"openssl",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}
2 changes: 0 additions & 2 deletions ports/openssl/unix/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ vcpkg_configure_cmake(
-DPERL=${PERL}
-DMAKE=${MAKE}
-DVCPKG_CONCURRENCY=${VCPKG_CONCURRENCY}
OPTIONS_RELEASE
-DINSTALL_HEADERS=ON
Comment thread
ahmedyarub marked this conversation as resolved.
)

vcpkg_install_cmake()
Expand Down
Loading