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

ARROW-17565: [C++] Backward compatible ${PACKAGE}_shared CMake target isn't provided #14003

Merged
merged 1 commit into from
Aug 31, 2022

Conversation

kou
Copy link
Member

@kou kou commented Aug 30, 2022

This is a follow-up of ARROW-12175 / #13892 .

We introduced ${PACKAGE}:: namespace to all exported CMake targets
such as Arrow::arrow_shared and Arrow::arrow_static, but we also
provided no-namespaced CMake targets such as arrow_shared and
arrow_static as aliases of namespaced CMake targets.

However, the logic to provide arrow_shared was buggy.

… isn't provided

This is a follow-up of ARROW-12175 / apache#13892 .

We introduced `${PACKAGE}::` namespace to all exported CMake targets
such as `Arrow::arrow_shared` and `Arrow::arrow_static` but we also
provides no namespaced CMake targets such as `arrow_share` and
`arrow_static` as aliases of namespaced CMake targets. But the
backward compatibility feature isn't worked for `_shared`.
@github-actions
Copy link

@github-actions
Copy link

⚠️ Ticket has not been started in JIRA, please click 'Start Progress'.

@pitrou
Copy link
Member

pitrou commented Aug 30, 2022

@kou Can you update https://github.com/apache/arrow/blob/master/docs/source/cpp/build_system.rst (either in this PR or as a separate JIRA)?

@kou
Copy link
Member Author

kou commented Aug 31, 2022

Sure. Sorry for missing the doc task.

I'll do it as a separated task (ARROW-17575) because reusing ARROW-17565 for document isn't suitable.

So I merge this.

@kou kou merged commit 5be95c7 into apache:master Aug 31, 2022
@kou kou deleted the cpp-cmake-no-namespace-shared branch August 31, 2022 02:06
@ursabot
Copy link

ursabot commented Aug 31, 2022

Benchmark runs are scheduled for baseline = 359eab5 and contender = 5be95c7. 5be95c7 is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Finished ⬇️0.0% ⬆️0.0%] ec2-t3-xlarge-us-east-2
[Failed] test-mac-arm
[Failed ⬇️0.27% ⬆️0.0%] ursa-i9-9960x
[Finished ⬇️0.18% ⬆️0.04%] ursa-thinkcentre-m75q
Buildkite builds:
[Finished] 5be95c7c ec2-t3-xlarge-us-east-2
[Failed] 5be95c7c test-mac-arm
[Failed] 5be95c7c ursa-i9-9960x
[Finished] 5be95c7c ursa-thinkcentre-m75q
[Finished] 359eab59 ec2-t3-xlarge-us-east-2
[Failed] 359eab59 test-mac-arm
[Failed] 359eab59 ursa-i9-9960x
[Finished] 359eab59 ursa-thinkcentre-m75q
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

@ursabot
Copy link

ursabot commented Aug 31, 2022

['Python', 'R'] benchmarks have high level of regressions.
ursa-i9-9960x

anjakefala pushed a commit to anjakefala/arrow that referenced this pull request Aug 31, 2022
… isn't provided (apache#14003)

This is a follow-up of ARROW-12175 / apache#13892 .

We introduced `${PACKAGE}::` namespace to all exported CMake targets
such as `Arrow::arrow_shared` and `Arrow::arrow_static`, but we also
provided no-namespaced CMake targets such as `arrow_shared` and
`arrow_static` as aliases of namespaced CMake targets.

However, the logic to provide `arrow_shared` was buggy.


Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
zagto pushed a commit to zagto/arrow that referenced this pull request Oct 7, 2022
… isn't provided (apache#14003)

This is a follow-up of ARROW-12175 / apache#13892 .

We introduced `${PACKAGE}::` namespace to all exported CMake targets
such as `Arrow::arrow_shared` and `Arrow::arrow_static`, but we also
provided no-namespaced CMake targets such as `arrow_shared` and
`arrow_static` as aliases of namespaced CMake targets.

However, the logic to provide `arrow_shared` was buggy.


Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
fatemehp pushed a commit to fatemehp/arrow that referenced this pull request Oct 17, 2022
… isn't provided (apache#14003)

This is a follow-up of ARROW-12175 / apache#13892 .

We introduced `${PACKAGE}::` namespace to all exported CMake targets
such as `Arrow::arrow_shared` and `Arrow::arrow_static`, but we also
provided no-namespaced CMake targets such as `arrow_shared` and
`arrow_static` as aliases of namespaced CMake targets.

However, the logic to provide `arrow_shared` was buggy.


Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants