Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
a41eaa9
Add curl try_compile parameters
Apr 18, 2021
1fddc96
Update OpenSSL and AWS SDK for C++ port versions
ahmedalnuaimi Apr 18, 2021
d9ee2ea
[vcpkg baseline][marble] Disable find I18n
Apr 18, 2021
8cca02b
update version record
Apr 18, 2021
c0e2f49
Merge branch 'dev/jack/fix_baseline_20210418' of https://github.com/J…
ahmedalnuaimi Apr 18, 2021
a0c4c26
Update versions/a-/aws-sdk-cpp.json
JackBoosY Apr 19, 2021
49f07bd
Update versions/o-/openssl.json
JackBoosY Apr 19, 2021
f6a81c1
Merge branch 'master' of https://github.com/Microsoft/vcpkg into aws_…
ahmedalnuaimi Apr 19, 2021
f0002c6
Merge branch 'master' of https://github.com/Microsoft/vcpkg into aws_…
ahmedalnuaimi Apr 19, 2021
aaace18
Merge branch 'master' of https://github.com/Microsoft/vcpkg into aws_…
ahmedalnuaimi Apr 20, 2021
e3a99fc
Fix port-versions after merging master branch
ahmedalnuaimi Apr 20, 2021
a5cfcf0
Merge branch 'master' of https://github.com/Microsoft/vcpkg into aws_…
ahmedalnuaimi Apr 20, 2021
93d03ba
Update versions/a-/aws-sdk-cpp.json
JackBoosY Apr 21, 2021
dc310c3
Update versions/o-/openssl.json
JackBoosY Apr 21, 2021
21b623d
Merge branch 'master' of https://github.com/Microsoft/vcpkg into aws_…
ahmedalnuaimi Apr 24, 2021
7125a75
Fix merge conflicts
ahmedalnuaimi Apr 24, 2021
cac3bd2
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 9, 2021
e0b3e53
Merge master branch
ahmedalnuaimi May 9, 2021
b560006
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 11, 2021
82e47c2
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 12, 2021
a23a565
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 13, 2021
7b892a7
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 13, 2021
304de30
Refactor OpenSSL's build script
ahmedalnuaimi May 14, 2021
452616d
Refactor OpenSSL's build script
ahmedalnuaimi May 14, 2021
bda7e58
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 17, 2021
86d8a6e
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 18, 2021
71d1197
Fix version
ahmedalnuaimi May 18, 2021
5d7b786
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 19, 2021
784bafb
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 19, 2021
b785eff
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 20, 2021
6f20bbb
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 21, 2021
b6b2a7f
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 21, 2021
257bb1c
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 26, 2021
87a257e
Fix WASM build
ahmedalnuaimi May 26, 2021
89b05d3
Fix version
ahmedalnuaimi May 26, 2021
879832e
Fix disabled flags
ahmedalnuaimi May 26, 2021
57d09f7
Disable treating warnings as errors
ahmedalnuaimi May 26, 2021
37ab023
Disable treating warnings as errors
ahmedalnuaimi May 26, 2021
38c294e
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 27, 2021
c50e01f
Fix hashes
ahmedalnuaimi May 27, 2021
da5e313
fix indentation
strega-nil May 28, 2021
04cf1f5
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi May 28, 2021
a3fe3a4
[aws-sdk-cpp] use the powershell file to generate
strega-nil May 28, 2021
4a62a53
Merge branch 'aws_sdk_ios' of https://github.com/ahmedyarub/vcpkg int…
ahmedalnuaimi May 29, 2021
2684293
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi Jun 1, 2021
cdda52e
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi Jun 2, 2021
de8874a
Merge branch 'master' of https://github.com/microsoft/vcpkg into aws_…
ahmedalnuaimi Jun 2, 2021
336a689
Fix versions after merging
ahmedalnuaimi Jun 2, 2021
179813f
Fix versions after merging
ahmedalnuaimi Jun 2, 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
2 changes: 1 addition & 1 deletion ports/aws-c-common/disable-internal-crt-option.patch
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ index 249b7d5..41a31e2 100644
- list(APPEND AWS_C_FLAGS "${_FLAGS}")
-
else()
list(APPEND AWS_C_FLAGS -Wall -Werror -Wstrict-prototypes)
list(APPEND AWS_C_FLAGS -Wall -Wstrict-prototypes)

12 changes: 12 additions & 0 deletions ports/aws-c-common/disable_warnings_as_errors.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/cmake/AwsCFlags.cmake b/cmake/AwsCFlags.cmake
--- a/cmake/AwsCFlags.cmake (revision 4a21a1c0757083a16497fea27886f5f20ccdf334)
+++ b/cmake/AwsCFlags.cmake (date 1622068907622)
@@ -48,7 +48,7 @@
list(APPEND AWS_C_FLAGS "${_FLAGS}")

else()
- list(APPEND AWS_C_FLAGS -Wall -Werror -Wstrict-prototypes)
+ list(APPEND AWS_C_FLAGS -Wall -Wstrict-prototypes)

if(NOT SET_PROPERTIES_NO_WEXTRA)
list(APPEND AWS_C_FLAGS -Wextra)
11 changes: 6 additions & 5 deletions ports/aws-c-common/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ vcpkg_from_github(
HEAD_REF master
PATCHES
disable-error-4068.patch # This patch fixes dependency port compilation failure
disable_warnings_as_errors.patch # Ref https://github.com/awslabs/aws-c-common/pull/798
disable-internal-crt-option.patch # Disable internal crt option because vcpkg contains crt processing flow
fix-cmake-target-path.patch # Shared libraries and static libraries are not built at the same time
disable_outline_atomics.patch # Disables -moutline-atomics flag which is not supported for wasm32 and Android
Expand All @@ -22,14 +23,14 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/aws-c-common/cmake)
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake)

file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/debug/include
${CURRENT_PACKAGES_DIR}/debug/lib/aws-c-common
${CURRENT_PACKAGES_DIR}/lib/aws-c-common
)
${CURRENT_PACKAGES_DIR}/debug/include
${CURRENT_PACKAGES_DIR}/debug/lib/aws-c-common
${CURRENT_PACKAGES_DIR}/lib/aws-c-common
)

vcpkg_copy_pdbs()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)

# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
42 changes: 42 additions & 0 deletions ports/aws-sdk-cpp/compute_build_only.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,15 @@ endif()
if("application-insights" IN_LIST FEATURES)
list(APPEND BUILD_ONLY application-insights)
endif()
if("applicationcostprofiler" IN_LIST FEATURES)
list(APPEND BUILD_ONLY applicationcostprofiler)
endif()
if("appmesh" IN_LIST FEATURES)
list(APPEND BUILD_ONLY appmesh)
endif()
if("apprunner" IN_LIST FEATURES)
list(APPEND BUILD_ONLY apprunner)
endif()
if("appstream" IN_LIST FEATURES)
list(APPEND BUILD_ONLY appstream)
endif()
Expand Down Expand Up @@ -293,9 +299,18 @@ endif()
if("events" IN_LIST FEATURES)
list(APPEND BUILD_ONLY events)
endif()
if("finspace" IN_LIST FEATURES)
list(APPEND BUILD_ONLY finspace)
endif()
if("finspace-data" IN_LIST FEATURES)
list(APPEND BUILD_ONLY finspace-data)
endif()
if("firehose" IN_LIST FEATURES)
list(APPEND BUILD_ONLY firehose)
endif()
if("fis" IN_LIST FEATURES)
list(APPEND BUILD_ONLY fis)
endif()
if("fms" IN_LIST FEATURES)
list(APPEND BUILD_ONLY fms)
endif()
Expand Down Expand Up @@ -449,6 +464,12 @@ endif()
if("lex-models" IN_LIST FEATURES)
list(APPEND BUILD_ONLY lex-models)
endif()
if("lexv2-models" IN_LIST FEATURES)
list(APPEND BUILD_ONLY lexv2-models)
endif()
if("lexv2-runtime" IN_LIST FEATURES)
list(APPEND BUILD_ONLY lexv2-runtime)
endif()
if("license-manager" IN_LIST FEATURES)
list(APPEND BUILD_ONLY license-manager)
endif()
Expand All @@ -461,6 +482,12 @@ endif()
if("logs" IN_LIST FEATURES)
list(APPEND BUILD_ONLY logs)
endif()
if("lookoutequipment" IN_LIST FEATURES)
list(APPEND BUILD_ONLY lookoutequipment)
endif()
if("lookoutmetrics" IN_LIST FEATURES)
list(APPEND BUILD_ONLY lookoutmetrics)
endif()
if("lookoutvision" IN_LIST FEATURES)
list(APPEND BUILD_ONLY lookoutvision)
endif()
Expand Down Expand Up @@ -512,6 +539,9 @@ endif()
if("meteringmarketplace" IN_LIST FEATURES)
list(APPEND BUILD_ONLY meteringmarketplace)
endif()
if("mgn" IN_LIST FEATURES)
list(APPEND BUILD_ONLY mgn)
endif()
if("migrationhub-config" IN_LIST FEATURES)
list(APPEND BUILD_ONLY migrationhub-config)
endif()
Expand Down Expand Up @@ -542,6 +572,9 @@ endif()
if("networkmanager" IN_LIST FEATURES)
list(APPEND BUILD_ONLY networkmanager)
endif()
if("nimble" IN_LIST FEATURES)
list(APPEND BUILD_ONLY nimble)
endif()
if("opsworks" IN_LIST FEATURES)
list(APPEND BUILD_ONLY opsworks)
endif()
Expand Down Expand Up @@ -629,6 +662,9 @@ endif()
if("s3" IN_LIST FEATURES)
list(APPEND BUILD_ONLY s3)
endif()
if("s3-crt" IN_LIST FEATURES)
list(APPEND BUILD_ONLY s3-crt)
endif()
if("s3-encryption" IN_LIST FEATURES)
list(APPEND BUILD_ONLY s3-encryption)
endif()
Expand Down Expand Up @@ -710,6 +746,12 @@ endif()
if("ssm" IN_LIST FEATURES)
list(APPEND BUILD_ONLY ssm)
endif()
if("ssm-contacts" IN_LIST FEATURES)
list(APPEND BUILD_ONLY ssm-contacts)
endif()
if("ssm-incidents" IN_LIST FEATURES)
list(APPEND BUILD_ONLY ssm-incidents)
endif()
if("sso" IN_LIST FEATURES)
list(APPEND BUILD_ONLY sso)
endif()
Expand Down
29 changes: 23 additions & 6 deletions ports/aws-sdk-cpp/generateFeatures.ps1
Original file line number Diff line number Diff line change
@@ -1,17 +1,34 @@
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)][string]$ExtractedSources,
[Parameter(Mandatory=$true)][string]$ManifestIn,
[Parameter(Mandatory=$true)][string]$ManifestOut,
[Parameter(Mandatory=$true)][string]$CMakeFragmentFile,
[Parameter(Mandatory=$false)][string]$vcpkg = "vcpkg"
[Parameter(Mandatory=$true)][string]$SourcesRef,
[Parameter(Mandatory=$false)][string]$PortDirectory = $PSScriptRoot,
[Parameter(Mandatory=$false)][string]$vcpkg = "$PSScriptRoot/../../vcpkg"
)

$ErrorActionPreference = "Stop"

$ManifestIn = "$PortDirectory/vcpkg.in.json"
$ManifestOut = "$PortDirectory/vcpkg.json"
$CMakeFragmentFile = "$PortDirectory/compute_build_only.cmake"

$ExtractedSources = "${env:TEMP}/aws-sdk-cpp-generateFeatures-$SourcesRef"
if (-not (Test-Path $ExtractedSources)) {
if (Test-Path "$ExtractedSources.tmp") {
Remove-Item -Force "$ExtractedSources.tmp"
}
git clone "https://github.com/aws/aws-sdk-cpp" "$ExtractedSources.tmp" | Out-Host
git -c "$ExtractedSources.tmp" checkout $SourcesRef
Move-Item "$ExtractedSources.tmp" "$ExtractedSources"
}
Write-Host "Using sources directory: $ExtractedSources"


$subfolders = Get-Item $ExtractedSources\aws-cpp-sdk-*

$manifest = Get-Content $ManifestIn | ConvertFrom-Json
$manifest | Add-Member `
-NotePropertyName '$note' `
-NotePropertyValue 'Automatically generated by generateFeatures.ps1'
$manifest | Add-Member -NotePropertyName 'features' -NotePropertyValue @{}

$cmakefragmenttext = @("# Automatically generated by generateFeatures.ps1")
Expand Down Expand Up @@ -53,4 +70,4 @@ foreach ($subfolder in $subfolders)
Write-Verbose ($cmakefragmenttext -join "`n")
[IO.File]::WriteAllText($CMakeFragmentFile, ($cmakefragmenttext -join "`n") +"`n")

vcpkg format-manifest --feature-flags=-manifests $ManifestOut
& $vcpkg format-manifest --feature-flags=-manifests $ManifestOut
2 changes: 1 addition & 1 deletion ports/aws-sdk-cpp/vcpkg.in.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "aws-sdk-cpp",
"version": "1.8.126",
"port-version": 8,
"port-version": 10,
"description": "AWS SDK for C++",
"homepage": "https://github.com/aws/aws-sdk-cpp",
"dependencies": [
Expand Down
45 changes: 44 additions & 1 deletion ports/aws-sdk-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"$note": "Automatically generated by generateFeatures.ps1",
"name": "aws-sdk-cpp",
"version": "1.8.126",
"port-version": 9,
"port-version": 10,
"description": "AWS SDK for C++",
"homepage": "https://github.com/aws/aws-sdk-cpp",
"dependencies": [
Expand Down Expand Up @@ -70,9 +71,15 @@
"application-insights": {
"description": "C++ SDK for the AWS application-insights service"
},
"applicationcostprofiler": {
"description": "C++ SDK for the AWS applicationcostprofiler service"
},
"appmesh": {
"description": "C++ SDK for the AWS appmesh service"
},
"apprunner": {
"description": "C++ SDK for the AWS apprunner service"
},
"appstream": {
"description": "C++ SDK for the AWS appstream service"
},
Expand Down Expand Up @@ -316,9 +323,18 @@
"events": {
"description": "C++ SDK for the AWS events service"
},
"finspace": {
"description": "C++ SDK for the AWS finspace service"
},
"finspace-data": {
"description": "C++ SDK for the AWS finspace-data service"
},
"firehose": {
"description": "C++ SDK for the AWS firehose service"
},
"fis": {
"description": "C++ SDK for the AWS fis service"
},
"fms": {
"description": "C++ SDK for the AWS fms service"
},
Expand Down Expand Up @@ -472,6 +488,12 @@
"lex-models": {
"description": "C++ SDK for the AWS lex-models service"
},
"lexv2-models": {
"description": "C++ SDK for the AWS lexv2-models service"
},
"lexv2-runtime": {
"description": "C++ SDK for the AWS lexv2-runtime service"
},
"license-manager": {
"description": "C++ SDK for the AWS license-manager service"
},
Expand All @@ -484,6 +506,12 @@
"logs": {
"description": "C++ SDK for the AWS logs service"
},
"lookoutequipment": {
"description": "C++ SDK for the AWS lookoutequipment service"
},
"lookoutmetrics": {
"description": "C++ SDK for the AWS lookoutmetrics service"
},
"lookoutvision": {
"description": "C++ SDK for the AWS lookoutvision service"
},
Expand Down Expand Up @@ -535,6 +563,9 @@
"meteringmarketplace": {
"description": "C++ SDK for the AWS meteringmarketplace service"
},
"mgn": {
"description": "C++ SDK for the AWS mgn service"
},
"migrationhub-config": {
"description": "C++ SDK for the AWS migrationhub-config service"
},
Expand Down Expand Up @@ -565,6 +596,9 @@
"networkmanager": {
"description": "C++ SDK for the AWS networkmanager service"
},
"nimble": {
"description": "C++ SDK for the AWS nimble service"
},
"opsworks": {
"description": "C++ SDK for the AWS opsworks service"
},
Expand Down Expand Up @@ -652,6 +686,9 @@
"s3": {
"description": "C++ SDK for the AWS s3 service"
},
"s3-crt": {
"description": "C++ SDK for the AWS s3-crt service"
},
"s3-encryption": {
"description": "C++ SDK for the AWS s3-encryption service"
},
Expand Down Expand Up @@ -733,6 +770,12 @@
"ssm": {
"description": "C++ SDK for the AWS ssm service"
},
"ssm-contacts": {
"description": "C++ SDK for the AWS ssm-contacts service"
},
"ssm-incidents": {
"description": "C++ SDK for the AWS ssm-incidents service"
},
"sso": {
"description": "C++ SDK for the AWS sso service"
},
Expand Down
Loading