Skip to content
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

ORC-1455: [C++] Fix build with unused macro in CpuInfoUtil.cc #1552

Merged
merged 1 commit into from Jun 25, 2023

Conversation

wgtmac
Copy link
Member

@wgtmac wgtmac commented Jun 25, 2023

What changes were proposed in this pull request?

Move UNUSED macro under the definition of CPUINFO_ARCH_X86 in order to avoid unused macro error.

Why are the changes needed?

Without this patch, the C++ build fails on MacOS and other non-x86 machines.

How was this patch tested?

It builds successfully and passes all tests on my laptop.

@dongjoon-hyun dongjoon-hyun added this to the 1.9.1 milestone Jun 25, 2023
@dongjoon-hyun
Copy link
Member

Thank you, @wgtmac and @guiyanakuang .

@dongjoon-hyun dongjoon-hyun merged commit 0abd47b into apache:branch-1.9 Jun 25, 2023
22 checks passed
@wgtmac wgtmac deleted the ORC-1455-branch-1.9 branch February 27, 2024 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants