Skip to content

Conversation

@kou
Copy link
Member

@kou kou commented Aug 27, 2023

Rationale for this change

GH-34295 changed meaning of ARROW_COMPUTE. ARROW_COMPUTE=ON means that "all compute kerenels are enabled" not "compute module is enabled".

arrow-compute.pc is for detecting ARROW_COMPUTE. So arrow-compute.pc should be installed only when ARROW_COMPUTE=ON.

What changes are included in this PR?

Add missing if (ARROW_COMPUTE).

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

@github-actions
Copy link

⚠️ GitHub issue #37408 has been automatically assigned in GitHub to PR creator.

@kou
Copy link
Member Author

kou commented Aug 29, 2023

+1

@kou kou merged commit 5720f7c into apache:main Aug 29, 2023
@kou kou deleted the cpp-compute-pc branch August 29, 2023 00:25
@kou kou removed the awaiting committer review Awaiting committer review label Aug 29, 2023
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit 5720f7c.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about possible false positives for unstable benchmarks that are known to sometimes produce them.

loicalleyne pushed a commit to loicalleyne/arrow that referenced this pull request Nov 13, 2023
…E=ON (apache#37409)

### Rationale for this change

apacheGH-34295  changed meaning of `ARROW_COMPUTE`. `ARROW_COMPUTE=ON` means that "all compute kerenels are enabled" not "compute module is enabled".

`arrow-compute.pc`  is for detecting `ARROW_COMPUTE`. So `arrow-compute.pc` should be installed only when `ARROW_COMPUTE=ON`.

### What changes are included in this PR?

Add missing `if (ARROW_COMPUTE)`.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes.
* Closes: apache#37408

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
dgreiss pushed a commit to dgreiss/arrow that referenced this pull request Feb 19, 2024
…E=ON (apache#37409)

### Rationale for this change

apacheGH-34295  changed meaning of `ARROW_COMPUTE`. `ARROW_COMPUTE=ON` means that "all compute kerenels are enabled" not "compute module is enabled".

`arrow-compute.pc`  is for detecting `ARROW_COMPUTE`. So `arrow-compute.pc` should be installed only when `ARROW_COMPUTE=ON`.

### What changes are included in this PR?

Add missing `if (ARROW_COMPUTE)`.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes.
* Closes: apache#37408

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
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.

[C++] libdata/pkgconfig/arrow-compute.pc is installed when COMPUTE is disabled with -DARROW_COMPUTE=FALSE

1 participant