ClickHouse/contrib/aws-cmake/AwsThreadAffinity.cmake

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
455 B
CMake
Raw Normal View History

2022-11-21 21:29:40 +00:00
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0.
# Check if the platform supports setting thread affinity
# (important for hitting full NIC entitlement on NUMA architectures)
function(aws_set_thread_affinity_method target)
2023-11-14 06:24:41 +00:00
# This code has been cut, because I don't care about it.
target_compile_definitions(${target} PRIVATE -DAWS_AFFINITY_METHOD=AWS_AFFINITY_METHOD_NONE)
2022-11-21 21:29:40 +00:00
endfunction()