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

[C++] conda-forge sets build type in CMAKE_ARGS #37266

Closed
pitrou opened this issue Aug 21, 2023 · 1 comment · Fixed by #37272
Closed

[C++] conda-forge sets build type in CMAKE_ARGS #37266

pitrou opened this issue Aug 21, 2023 · 1 comment · Fixed by #37272

Comments

@pitrou
Copy link
Member

pitrou commented Aug 21, 2023

Describe the bug, including details regarding any error messages, version, and platform.

As a result of conda-forge/ctng-compiler-activation-feedstock#94, conda-forge has started putting CMAKE_BUILD_TYPE in CMAKE_ARGS.

This is breaking CI builds for us:
https://github.com/apache/arrow/actions/runs/5904814214/job/16017685263?pr=37174

Component(s)

C++

@pitrou
Copy link
Member Author

pitrou commented Aug 21, 2023

@kou

pitrou added a commit to pitrou/arrow that referenced this issue Aug 21, 2023
Since CMAKE_ARGS could in some circumstances (conda-forge) override CMAKE_BUILD_TYPE, pass it first and let our own choice override it.
pitrou added a commit that referenced this issue Aug 22, 2023
* Closes: #32766
* Closes: #37266

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
@pitrou pitrou added this to the 14.0.0 milestone Aug 22, 2023
loicalleyne pushed a commit to loicalleyne/arrow that referenced this issue Nov 13, 2023
…#37272)

* Closes: apache#32766
* Closes: apache#37266

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment