Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
e0706ba
Stress test (#3820)
gearama Jul 13, 2022
a3926d6
Fixed the metadata for better handling (#3824)
azure-sdk Jul 13, 2022
593437b
Update attestation core vcpkg dependency to latest GA version that is…
ahsonkhan Jul 15, 2022
7bf6735
Remove winhttp (#3832)
gearama Jul 15, 2022
73bb61d
Move perf.yml to eng/common (#3833)
azure-sdk Jul 15, 2022
cff96f8
Sync eng/common directory with azure-sdk-tools for PR 3656 (#3834)
azure-sdk Jul 15, 2022
c3ecbcd
Update casing for 'verison' (#3821)
azure-sdk Jul 19, 2022
b95cdcf
Print additional result summary formats to pipelines UI (#3842)
azure-sdk Jul 19, 2022
584f83c
Sync eng/common directory with azure-sdk-tools for PR 3702 (#3843)
azure-sdk Jul 20, 2022
6c74e57
Fix incorrect failure notification in vcpkg publishing (#3838)
danieljurek Jul 21, 2022
992a3a9
Helm charts (#3841)
gearama Jul 25, 2022
8cb8a43
Sync eng/common directory with azure-sdk-tools for PR 3661 (#3846)
azure-sdk Jul 25, 2022
ea2d3ad
Sync eng/common directory with azure-sdk-tools for PR 3735 (#3845)
azure-sdk Jul 25, 2022
a75c95b
Increment version for keyvault releases (#3809)
azure-sdk Jul 25, 2022
c437f5a
Removed hard dependency on opentelemetry version (#3844)
LarryOsterman Jul 26, 2022
209dcae
Revert "Add full clone fallback to sparse checkout (#3661)" (#3851)
azure-sdk Jul 26, 2022
f2efced
Sync eng/common directory with azure-sdk-tools for PR 3753 (#3857)
azure-sdk Jul 27, 2022
9843c71
Bump macOs version to macos-11 (#3853)
sima-zhu Jul 28, 2022
1dab2c1
Update CHANGELOG.md
RickWinter Jul 28, 2022
9eae0df
Fix misleading step name in az module install (#3859)
azure-sdk Jul 29, 2022
86b3305
Retry poll calls on EINTR (#3858)
johnwheffner Aug 1, 2022
9a04638
Fix bad path to sample matrix json (#3860)
azure-sdk Aug 2, 2022
e8906ca
Sync eng/common directory with azure-sdk-tools for PR 3826 (#3863)
azure-sdk Aug 3, 2022
755d717
Core August releases (#3862)
antkmsft Aug 4, 2022
5a8d623
Increment version for core releases (#3865)
azure-sdk Aug 4, 2022
5411134
Storage Aug GA release (#3864)
Jinming-Hu Aug 5, 2022
bf65862
CG only runs on internal (#3866)
JonathanCrd Aug 5, 2022
93991ab
STG 79 80 81 Features (#3850)
Jinming-Hu Aug 5, 2022
5954ef7
Sync eng/common directory with azure-sdk-tools for PR 3860 (#3871)
azure-sdk Aug 5, 2022
1f82325
Storage August Preview Release (#3868)
Jinming-Hu Aug 9, 2022
b5c456c
Increment version for storage releases (#3875)
azure-sdk Aug 9, 2022
e019b3e
Fix an issue that reason phrase is missing as expected from HTTP/2 se…
keshen-msft Aug 10, 2022
c152c05
Update CODEOWNERS (#3881)
microzchang Aug 11, 2022
82d4446
updated targeted proxy version to one that properly allows consumptio…
azure-sdk Aug 15, 2022
2dd3dbe
Fix `azure-storage-blobs-cpp` beta install (#3889)
antkmsft Aug 17, 2022
634df13
Fixed #3899 - Handle new OSX version correctly; reformatted platform-…
LarryOsterman Aug 24, 2022
f8c41df
Simpler get-binarysizes check for OSX (#3901)
LarryOsterman Aug 24, 2022
9afb371
Sync eng/common directory with azure-sdk-tools for PR 3874 (#3907)
azure-sdk Aug 25, 2022
221a175
File Share Features until STG82 (#3908)
Jinming-Hu Aug 29, 2022
3756ae6
Empty file or existing file won't be created/overwritten if the blob …
Jinming-Hu Aug 30, 2022
db99ee1
Remove unnecessary checkout: none that causes conflicts with sparse c…
azure-sdk Sep 1, 2022
825d2dd
Core September Release (#3913)
antkmsft Sep 1, 2022
81b7336
Increment package version after release of azure-core (#3919)
azure-sdk Sep 1, 2022
737a09f
Migrate SkipDefaultCheckout to SkipCheckoutNone (#3916)
azure-sdk Sep 1, 2022
e29fe9b
Storage Sept Release (#3914)
Jinming-Hu Sep 6, 2022
7b68b31
Increment version for storage releases (#3924)
azure-sdk Sep 6, 2022
009fe81
Add github actions based check enforcer (#3922)
benbp Sep 7, 2022
deb847e
Add `$schema` to `cgmanifest.json` (#3918)
JamieMagee Sep 13, 2022
3fec13f
Remove SkipDefaultCheckout parameter (#3930)
azure-sdk Sep 14, 2022
0e00a3a
Compatibility improvement for striped blob (#3932)
microzchang Sep 15, 2022
17ca687
add a parameter 'condition' to the test-proxy ci invocations. (#3931)
azure-sdk Sep 15, 2022
a511ef6
storage ad-hoc release (#3934)
Jinming-Hu Sep 16, 2022
9b29538
Increment package version after release of azure-storage-blobs (#3935)
azure-sdk Sep 16, 2022
52f9437
Update `AttestationClient::AttestTpm` API to match existing `AttestOp…
penglimsft Sep 19, 2022
237c03a
Update check enforcer yaml permissions and name (#3944)
benbp Sep 19, 2022
9295737
Set VCPKG_ROOT (#3938)
danieljurek Sep 20, 2022
b809bf9
Sync the devops helper scripts between azure-sdk repo and tools repo …
azure-sdk Sep 20, 2022
14e4f52
Add Win32FileTimeConverter (#3941)
Jinming-Hu Sep 21, 2022
65ea32f
Sync eng/common directory with azure-sdk-tools for PR 4169 (#3950)
azure-sdk Sep 22, 2022
769b6c5
Enable Query() test in blob SDK (#3960)
Jinming-Hu Sep 22, 2022
68eea9a
Sync eng/common directory with azure-sdk-tools for PR 4212 (#3962)
azure-sdk Sep 22, 2022
c8d7961
Pipeline core (#3953)
gearama Sep 26, 2022
53797c8
Win32FileTimeConverter (#3967)
Jinming-Hu Sep 28, 2022
91c67f9
Sync eng/common directory with azure-sdk-tools for PR 4240 (#3965)
azure-sdk Sep 28, 2022
eb9c35d
Revert "Add Win32FileTimeConverter (#3941)" (#3966)
Jinming-Hu Sep 29, 2022
74d6b75
add test case for batch options on snapshots and versions (#3970)
Jinming-Hu Sep 30, 2022
ead6ac3
Merge feature/datalakestg82 (#3973)
Jinming-Hu Sep 30, 2022
c194034
Build subscription configuration from cloud config values (#3976)
benbp Sep 30, 2022
19deeec
fix LROs in keyvault (#3952)
gearama Oct 3, 2022
53c9da1
Pull all Websockets changes to main except for WebSockets itself. (#3…
LarryOsterman Oct 4, 2022
cc64ffa
Upadte Attestation changelog.md (#3992)
antkmsft Oct 4, 2022
8178da4
Remove cspell directive from being visible (#3993)
antkmsft Oct 4, 2022
dd2d050
Update Attestation readme.md (#3991)
antkmsft Oct 4, 2022
895a1f9
Fixed memory leak in curl (#3995)
LarryOsterman Oct 5, 2022
0a888c6
Fixup comment in unique_handle.hpp to reference curl_easy_cleanup rat…
ahsonkhan Oct 5, 2022
64292fe
Azure Core October Release (#3996)
antkmsft Oct 6, 2022
e4bf6a4
Sync eng/common directory with azure-sdk-tools for PR 4315 (#3999)
azure-sdk Oct 6, 2022
f5f2351
Increment package version after release of azure-core (#4000)
azure-sdk Oct 6, 2022
96984bd
Fix 50x errors while loading page links (#4001)
azure-sdk Oct 6, 2022
738bd51
enable datalake softdelete tests (#3974)
Jinming-Hu Oct 8, 2022
60b35a6
Small updates for core tests to work with the main automation. (#4004)
gearama Oct 8, 2022
6b9aa2f
datalakestg82/change IsServerEncrypted not nullable (#4005)
microzchang Oct 9, 2022
fa09034
Add default .assets directory to .gitignore (#4008)
JimSuplizio Oct 10, 2022
ad4bc81
Storage October release (#3975)
Jinming-Hu Oct 11, 2022
0d6624f
Increment version for storage releases (#4013)
azure-sdk Oct 11, 2022
46d009e
Key Vault October releases (#4010)
gearama Oct 11, 2022
89dc810
target version with fixes (#4003)
azure-sdk Oct 11, 2022
8fe74d2
Increment version for keyvault releases (#4014)
azure-sdk Oct 11, 2022
2bc6394
Attestation October (#4017)
LarryOsterman Oct 11, 2022
f99e9d0
Updated attestation change log to add periods for consistency (#4016)
ahsonkhan Oct 11, 2022
02e233c
Increment package version after release of azure-security-attestation…
azure-sdk Oct 12, 2022
083a88e
Bump the code owner retriver version. (#4020)
azure-sdk Oct 12, 2022
e488a81
Improved discoverability of tests; handle exceptions thrown during te…
LarryOsterman Oct 13, 2022
67d6bd1
Vcpkg macro version for customers (#3909)
vhvb1989 Oct 13, 2022
6fc0ba7
Core test (#4006)
gearama Oct 14, 2022
be4cb8f
Update VCPKG Baseline due to zlib (#4027)
gearama Oct 14, 2022
01254a6
Fixed CURL build breaks discovered by newer openssl baselines (#4034)
LarryOsterman Oct 17, 2022
5f64eea
Vcpkg baseline to latest (#4036)
gearama Oct 18, 2022
378ee6c
Removed version override for opentelemetry (#4037)
LarryOsterman Oct 19, 2022
90f1ff9
Sync eng/common directory with azure-sdk-tools for PR 3790 (#4041)
azure-sdk Oct 20, 2022
fc50c08
Storageblob (#4043)
gearama Oct 21, 2022
5ddcbe8
Upgrade cspell packages to version `^6.12.0` (#4044)
azure-sdk Oct 21, 2022
17a0ad5
Sync eng/common directory with azure-sdk-tools for PR 4480 (#4046)
azure-sdk Oct 24, 2022
6c225cd
Converted WinHTTP to Async. (#4015)
LarryOsterman Oct 24, 2022
66fd7da
Updated OpenTelemetry tests to use their own `SpanExporter` rather th…
LarryOsterman Oct 24, 2022
49ee9ea
Merge branch 'main' into larryo/syncwebsocketswithmain
LarryOsterman Oct 24, 2022
8cd99b8
Merge branch 'main' into larryo/syncwebsocketswithmain
LarryOsterman Oct 24, 2022
fd24627
[Perf] Include GA versions of core package (#4053)
mikeharder Oct 25, 2022
34485a7
Fix to for a SAL annotation (#4054)
RickWinter Oct 25, 2022
4de2423
In-memory Identity token cache (#4024)
antkmsft Oct 25, 2022
673bacb
identicalize the comments type (#4063)
gearama Oct 26, 2022
f174d97
Improve scenario matrix edge case handling (#4065)
azure-sdk Oct 26, 2022
4c55046
docV1 (#4051)
gearama Oct 27, 2022
7cc5f46
bump version to newest (#4066)
azure-sdk Oct 27, 2022
c1677fb
Async WInHTTP changes to WebSockets; fixed a couple of websocket bugs…
LarryOsterman Oct 28, 2022
b615bd9
cspell; clang-format
LarryOsterman Oct 28, 2022
214f4a3
Sync eng/common directory with azure-sdk-tools for PR 4543 (#4071)
azure-sdk Oct 28, 2022
c4b9dc4
Disable proxy test on mac
LarryOsterman Oct 28, 2022
00323d5
Fixed crash caused by premature destruction of WinHttpRequest object.
LarryOsterman Oct 28, 2022
db15e20
Disable proxy tests if proxy tests are disabled
LarryOsterman Oct 28, 2022
e2607e4
Fixed race condition shutting down connections due to TLS violations
LarryOsterman Oct 28, 2022
be693d8
cspell
LarryOsterman Oct 28, 2022
286c366
moved cspell out of doxygen comments
LarryOsterman Oct 28, 2022
198783c
moved cspell out of doxygen comments
LarryOsterman Oct 28, 2022
bb95a22
Added the ability to select OpenSSL 1.1.1n if desired. (#4045)
LarryOsterman Oct 28, 2022
64376e9
Merge branch 'Azure:main' into larryo/syncwebsocketswithmain
LarryOsterman Oct 28, 2022
ed2d7a9
Improved names of SetEvent and ResetEvent
LarryOsterman Oct 28, 2022
00b6e2c
Merge branch 'larryo/syncwebsocketswithmain' of https://github.com/La…
LarryOsterman Oct 28, 2022
e1d9693
cspell
LarryOsterman Oct 28, 2022
f801b18
clang-format
LarryOsterman Oct 28, 2022
65942c0
Traces to figure out test failure
LarryOsterman Oct 29, 2022
b4379af
More traces
LarryOsterman Oct 29, 2022
b9dba18
Another try closing the TLS cert failure window
LarryOsterman Oct 29, 2022
26662e3
More atempts at improving CI
LarryOsterman Oct 30, 2022
7c22e6b
clang-format
LarryOsterman Oct 31, 2022
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -343,3 +343,6 @@ build/
# vscode
.vscode/
.factorypath

# Default Assets restore directory
.assets
4 changes: 4 additions & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
".github/CODEOWNERS",
".gitignore",
".vscode/cspell.json",
"vcpkg-custom-ports",
"ci.yml",
"squid.conf*",
"eng/common/**/*",
Expand Down Expand Up @@ -54,6 +55,7 @@
"Deserializes",
"DFETCH",
"DMSVC",
"DVCPKG",
"docfx",
"DPAPI",
"DRUN",
Expand All @@ -73,7 +75,9 @@
"HKEY",
"HRESULT",
"IMDS",
"immutability",
"Intel",
"issecret",
"itfactor",
"iusg",
"jepio",
Expand Down
142 changes: 141 additions & 1 deletion CMakeSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,64 @@
"name": "MSVC_USE_STATIC_CRT",
"value": "True",
"type": "BOOL"
},
{
"name": "VCPKG_MANIFEST_MODE",
"value": "True",
"type": "BOOL"
}
]
},
{
"name": "x64-DebugWithTests-OpenSSL111",
"generator": "Ninja",
"configurationType": "Debug",
"inheritEnvironments": [ "msvc_x64_x64" ],
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"ctestCommandArgs": "",
"variables": [
{
"name": "VCPKG_TARGET_TRIPLET",
"value": "x64-windows-static",
"type": "STRING"
},
{
"name": "MSVC_USE_STATIC_CRT",
"value": "True",
"type": "BOOL"
},
{
"name": "VCPKG_MANIFEST_MODE",
"value": "True",
"type": "BOOL"
},
{
"name": "VCPKG_OVERLAY_PORTS",
"value": "${projectDir}\\vcpkg-custom-ports",
"type": "STRING"
},
{
"name": "INSTALL_GTEST",
"value": "False",
"type": "BOOL"
},
{
"name": "BUILD_TESTING",
"value": "True",
"type": "BOOL"
},
{
"name": "BUILD_TRANSPORT_CURL",
"value": "True",
"type": "BOOL"
},
{
"name": "BUILD_SAMPLES",
"value": "True",
"type": "BOOL"
}
]
},
Expand Down Expand Up @@ -290,7 +348,7 @@
"configurationType": "Debug",
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "-DINSTALL_GTEST=OFF -DBUILD_TESTING=ON -DBUILD_TRANSPORT_CURL=ON -DBUILD_SAMPLES=ON -DBUILD_PERFORMANCE_TESTS=ON",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"inheritEnvironments": [ "msvc_x64_x64" ],
"variables": [
Expand All @@ -299,6 +357,88 @@
"value": "x64-windows-static",
"type": "STRING"
},
{
"name": "INSTALL_GTEST",
"value": "False",
"type": "BOOL"
},
{
"name": "BUILD_TESTING",
"value": "True",
"type": "BOOL"
},
{
"name": "BUILD_SAMPLES",
"value": "True",
"type": "BOOL"
},
{
"name": "BUILD_PERFORMANCE_TESTS",
"value": "True",
"type": "BOOL"
},
{
"name": "BUILD_TRANSPORT_WINHTTP",
"value": "True",
"type": "BOOL"
},
{
"name": "BUILD_TRANSPORT_CURL",
"value": "True",
"type": "BOOL"
},
{
"name": "MSVC_USE_STATIC_CRT",
"value": "True",
"type": "BOOL"
}
]
},
{
"name": "x64-ReleaseWithPerfTest",
"generator": "Ninja",
"configurationType": "RelWithDebInfo",
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"inheritEnvironments": [ "msvc_x64_x64" ],
"variables": [
{
"name": "VCPKG_TARGET_TRIPLET",
"value": "x64-windows-static",
"type": "STRING"
},
{
"name": "INSTALL_GTEST",
"value": "False",
"type": "BOOL"
},
{
"name": "BUILD_TESTING",
"value": "True",
"type": "BOOL"
},
{
"name": "BUILD_SAMPLES",
"value": "True",
"type": "BOOL"
},
{
"name": "BUILD_PERFORMANCE_TESTS",
"value": "True",
"type": "BOOL"
},
{
"name": "BUILD_TRANSPORT_WINHTTP",
"value": "True",
"type": "BOOL"
},
{
"name": "BUILD_TRANSPORT_CURL",
"value": "True",
"type": "BOOL"
},
{
"name": "MSVC_USE_STATIC_CRT",
"value": "True",
Expand Down
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,41 @@ The following SDK library releases are available on [vcpkg](https://github.com/m

> NOTE: In case of getting linker errors when consuming the SDK on Windows, make sure that [vcpkg triplet](https://vcpkg.readthedocs.io/en/latest/users/triplets/) being consumed matches the [CRT link flags](https://docs.microsoft.com/cpp/build/reference/md-mt-ld-use-run-time-library?view=msvc-160) being set for your app or library build. See also `MSVC_USE_STATIC_CRT` build flag.

## OpenSSL Version

Several packages within the Azure SDK for C++ use the OpenSSL library. By default, the Azure SDK will use whatever the most recent version of OpenSSL is within the VCPKG repository.

If you need to use a specific version of OpenSSL, you can use the vcpkg custom ports feature to specify the version of OpenSSL to use.
For example, if you want to use OpenSSL 1.1.1, you should create a folder named `vcpkg-custom-ports` next to to your vcpkg.json file.

Navigate to your clone of the vcpkg vcpkg repo and execute "git checkout 3b3bd424827a1f7f4813216f6b32b6c61e386b2e" - this will reset your repo to the last version of OpenSSL 1.1.1
in vcpkg. Then, copy the contents of the `ports/openssl` folder from the vcpkg repo to the `vcpkg-custom-ports` folder you created earlier:

```sh
cd <your vcpkg repo>
git checkout 3b3bd424827a1f7f4813216f6b32b6c61e386b2e
cd ports
cp -r openssl <the location of the vcpkg-custom-ports directory listed above>
```

This will copy the port information for OpenSSL 1.1.1n to your vcpkg-custom-ports directory.

Once that is done, you can install the custom port of OpenSSL 1.1.1n using the vcpkg tool:

```sh
vcpkg install --overlay-ports=<path to the vcpkg-custom-ports above>
```

If you are building using CMAKE, you can instruct CMAKE to apply the overlay ports using the following command line switches:

```sh
vcpkg -DVCPKG_MANIFEST_MODE=ON -DVCPKG_OVERLAY_PORTS=<path to the vcpkg-custom-ports above> -DVCPKG_MANIFEST_DIR=<path to the directory containing the vcpkg.json file>
```

In addition, if you need to consume OpenSSL from a dynamic linked library/shared object, you can set the VCPKG triplet to reflect that you want to build the library with dynamic
entries.Set the VCPKG_you can set the environment variable to `x64-windows-static` or `x64-windows-dynamic` depending on whether you want to use the static or dynamic version of OpenSSL.
Similarly you can use the x64-linux-dynamic and x64-linux-static triplet to specify consumption of libraries as a shared object or dynamic.

## Need help

- For reference documentation visit the [Azure SDK for C++ documentation](https://azure.github.io/azure-sdk-for-cpp).
Expand Down
3 changes: 2 additions & 1 deletion cmake-modules/AddGoogleTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ macro(add_gtest TESTNAME)
else()
gtest_discover_tests(${TESTNAME}
TEST_PREFIX "${TESTNAME}."
PROPERTIES FOLDER "Tests")
PROPERTIES FOLDER "Tests"
DISCOVERY_TIMEOUT 600)
endif()
else()
add_test(${TESTNAME} ${TESTNAME})
Expand Down
2 changes: 1 addition & 1 deletion cmake-modules/AzureVcpkg.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ macro(az_vcpkg_integrate)
if(NOT DEFINED ENV{AZURE_SDK_DISABLE_AUTO_VCPKG})
# GET VCPKG FROM SOURCE
# User can set env var AZURE_SDK_VCPKG_COMMIT to pick the VCPKG commit to fetch
set(VCPKG_COMMIT_STRING f0aa678b7471497f1adedcc99f40e1599ad22f69) # default SDK tested commit
set(VCPKG_COMMIT_STRING 6ca56aeb457f033d344a7106cb3f9f1abf8f4e98) # default SDK tested commit
if(DEFINED ENV{AZURE_SDK_VCPKG_COMMIT})
set(VCPKG_COMMIT_STRING "$ENV{AZURE_SDK_VCPKG_COMMIT}") # default SDK tested commit
endif()
Expand Down
6 changes: 3 additions & 3 deletions cmake-modules/FolderList.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ macro(GetFolderList project)
DownloadDepVersion(sdk/core azure-core 1.7.1)
DownloadDepVersion(sdk/storage/azure-storage-common azure-storage-common 12.3.0)
elseif(${project} STREQUAL STORAGE_FILES_DATALAKE)
DownloadDepVersion(sdk/core azure-core 1.3.1)
DownloadDepVersion(sdk/storage/azure-storage-common azure-storage-common 12.2.2)
DownloadDepVersion(sdk/storage/azure-storage-blobs azure-storage-blobs 12.3.0)
DownloadDepVersion(sdk/core azure-core 1.7.1)
DownloadDepVersion(sdk/storage/azure-storage-common azure-storage-common 12.3.0)
DownloadDepVersion(sdk/storage/azure-storage-blobs azure-storage-blobs 12.6.2)
elseif(${project} STREQUAL STORAGE_FILES_SHARES)
DownloadDepVersion(sdk/core azure-core 1.7.1)
DownloadDepVersion(sdk/storage/azure-storage-common azure-storage-common 12.3.0)
Expand Down
11 changes: 11 additions & 0 deletions cmake-modules/PerfTest.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
macro(SetPerfDeps PACKAGE VAR_RESULT)
string(TOUPPER ${PACKAGE} SUFFIX)
string(CONCAT VAR_TRIGGER "VCPKG-" ${SUFFIX})
message(STATUS "trigger name ${VAR_TRIGGER}")
if(DEFINED ENV{${VAR_TRIGGER}})
find_package(${PACKAGE} $ENV{${VAR_TRIGGER}} EXACT)
add_compile_definitions(${VAR_RESULT}="$ENV{${VAR_TRIGGER}}")
else()
add_compile_definitions(${VAR_RESULT}="source")
endif()
endmacro()
6 changes: 1 addition & 5 deletions doc/DistributedTracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,7 @@ in-memory logger.
opentelemetry::nostd::shared_ptr<opentelemetry::trace::TracerProvider>
CreateOpenTelemetryProvider()
{
#if USE_MEMORY_EXPORTER
auto exporter = std::make_unique<opentelemetry::exporter::memory::InMemorySpanExporter>();
#else
auto exporter = std::make_unique<opentelemetry::exporter::trace::OStreamSpanExporter>();
#endif
auto exporter = std::make_unique<MyExporter>();

// simple processor
auto simple_processor = std::unique_ptr<opentelemetry::sdk::trace::SpanProcessor>(
Expand Down
Loading