Skip to content

Conversation

@kou
Copy link
Member

@kou kou commented Jan 11, 2023

Which issue does this PR close?

Closes #26394

Rationale for this change

We require at least CMake 3.5 for now.

What changes are included in this PR?

Add workaround for CMake < 3.11.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

…mported target

It requires CMake 3.11 or later.
@github-actions
Copy link

@github-actions
Copy link

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

@kou
Copy link
Member Author

kou commented Jan 11, 2023

@github-actions crossbow submit verify-rc-source-python-*

@github-actions
Copy link

Revision: 851e235

Submitted crossbow builds: ursacomputing/crossbow @ actions-4dd4c2aaf3

Task Status
verify-rc-source-python-linux-almalinux-8-amd64 Github Actions
verify-rc-source-python-linux-conda-latest-amd64 Github Actions
verify-rc-source-python-linux-ubuntu-18.04-amd64 Github Actions
verify-rc-source-python-linux-ubuntu-20.04-amd64 Github Actions
verify-rc-source-python-linux-ubuntu-22.04-amd64 Github Actions
verify-rc-source-python-macos-amd64 Github Actions
verify-rc-source-python-macos-arm64 Github Actions
verify-rc-source-python-macos-conda-amd64 Github Actions

@kou
Copy link
Member Author

kou commented Jan 11, 2023

@github-actions crossbow submit verify-rc-source-python-*

@github-actions
Copy link

Revision: 04ffaef

Submitted crossbow builds: ursacomputing/crossbow @ actions-207bedcc18

Task Status
verify-rc-source-python-linux-almalinux-8-amd64 Github Actions
verify-rc-source-python-linux-conda-latest-amd64 Github Actions
verify-rc-source-python-linux-ubuntu-18.04-amd64 Github Actions
verify-rc-source-python-linux-ubuntu-20.04-amd64 Github Actions
verify-rc-source-python-linux-ubuntu-22.04-amd64 Github Actions
verify-rc-source-python-macos-amd64 Github Actions
verify-rc-source-python-macos-arm64 Github Actions
verify-rc-source-python-macos-conda-amd64 Github Actions

Copy link
Member

@assignUser assignUser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this, looking forward to April :D

In FindNumpy something got moixed up :)

Comment on lines 100 to 102
target_include_directories(Python3::NumPy PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
${NUMPY_INCLUDE_DIRS})
set_target_properties(Python3::Module PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be:

Suggested change
target_include_directories(Python3::NumPy PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
${NUMPY_INCLUDE_DIRS})
set_target_properties(Python3::Module PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
set_target_properties(Python3::Module PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
${NUMPY_INCLUDE_DIRS})

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, this is broken code...
We should use set_target_properties() + Python3::NumPy here.

@kou
Copy link
Member Author

kou commented Jan 12, 2023

@github-actions crossbow submit verify-rc-source-python-*

@github-actions
Copy link

Revision: a909789

Submitted crossbow builds: ursacomputing/crossbow @ actions-674f83daa6

Task Status
verify-rc-source-python-linux-almalinux-8-amd64 Github Actions
verify-rc-source-python-linux-conda-latest-amd64 Github Actions
verify-rc-source-python-linux-ubuntu-18.04-amd64 Github Actions
verify-rc-source-python-linux-ubuntu-20.04-amd64 Github Actions
verify-rc-source-python-linux-ubuntu-22.04-amd64 Github Actions
verify-rc-source-python-macos-amd64 Github Actions
verify-rc-source-python-macos-arm64 Github Actions
verify-rc-source-python-macos-conda-amd64 Github Actions

@kou
Copy link
Member Author

kou commented Jan 12, 2023

@github-actions crossbow submit verify-rc-source-python-*

@github-actions
Copy link

Revision: 2175f99

Submitted crossbow builds: ursacomputing/crossbow @ actions-5106bd145f

Task Status
verify-rc-source-python-linux-almalinux-8-amd64 Github Actions
verify-rc-source-python-linux-conda-latest-amd64 Github Actions
verify-rc-source-python-linux-ubuntu-18.04-amd64 Github Actions
verify-rc-source-python-linux-ubuntu-20.04-amd64 Github Actions
verify-rc-source-python-linux-ubuntu-22.04-amd64 Github Actions
verify-rc-source-python-macos-amd64 Github Actions
verify-rc-source-python-macos-arm64 Github Actions
verify-rc-source-python-macos-conda-amd64 Github Actions

@kou
Copy link
Member Author

kou commented Jan 12, 2023

+1

@kou kou merged commit 2e3683b into apache:master Jan 12, 2023
@kou kou deleted the python-cmake-3.11 branch January 12, 2023 20:42
@ursabot
Copy link

ursabot commented Jan 14, 2023

Benchmark runs are scheduled for baseline = 427a865 and contender = 2e3683b. 2e3683b 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 ⬇️0.54% ⬆️0.0%] test-mac-arm
[Finished ⬇️0.51% ⬆️0.0%] ursa-i9-9960x
[Finished ⬇️0.65% ⬆️0.12%] ursa-thinkcentre-m75q
Buildkite builds:
[Finished] 2e3683b7 ec2-t3-xlarge-us-east-2
[Failed] 2e3683b7 test-mac-arm
[Finished] 2e3683b7 ursa-i9-9960x
[Finished] 2e3683b7 ursa-thinkcentre-m75q
[Finished] 427a865f ec2-t3-xlarge-us-east-2
[Failed] 427a865f test-mac-arm
[Finished] 427a865f ursa-i9-9960x
[Finished] 427a865f 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 Jan 14, 2023

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

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.

[Python] Use of target_include_directories on imported targets requires cmake >= 3.11

3 participants