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

GH-35143: [R][C++] Fixed shape tensor causes broken build on OSX #35154

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

rok
Copy link
Member

@rok rok commented Apr 15, 2023

Rationale for this change

std::reinterpret_pointer_cast was introduced with FixedShapeTensor PR (#34797) but is not available on OSX (see #35143).

What changes are included in this PR?

This change switches to using internal::checked_pointer_cast.

Are these changes tested?

Change is tested in CI, but should also be verified on crossbow.

Are there any user-facing changes?

No.

@rok rok requested a review from paleolimbot April 15, 2023 15:50
@github-actions
Copy link

@github-actions
Copy link

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

@rok rok force-pushed the 35143 branch 2 times, most recently from ec88927 to e3ef8ff Compare April 15, 2023 22:18
@rok
Copy link
Member Author

rok commented Apr 16, 2023

@github-actions crossbow submit verify-rc-source-cpp-macos-*

@github-actions
Copy link

Revision: 75a091f

Submitted crossbow builds: ursacomputing/crossbow @ actions-2d2b1993f0

Task Status
verify-rc-source-cpp-macos-amd64 Github Actions
verify-rc-source-cpp-macos-arm64 Github Actions
verify-rc-source-cpp-macos-conda-amd64 Github Actions

@rok
Copy link
Member Author

rok commented Apr 16, 2023

@github-actions crossbow submit r-binary-packages

@github-actions
Copy link

Revision: 75a091f

Submitted crossbow builds: ursacomputing/crossbow @ actions-f9fd62314b

Task Status
r-binary-packages Github Actions

@rok
Copy link
Member Author

rok commented Apr 16, 2023

@github-actions crossbow submit r-binary-packages

@github-actions
Copy link

Revision: 75a091f

Submitted crossbow builds: ursacomputing/crossbow @ actions-c5fa4612d6

Task Status
r-binary-packages Github Actions

@rok
Copy link
Member Author

rok commented Apr 17, 2023

@paleolimbot mac builds now pass.

Copy link
Member

@paleolimbot paleolimbot left a comment

Choose a reason for hiding this comment

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

Thank you!!

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Apr 17, 2023
@paleolimbot paleolimbot merged commit 5605cf5 into apache:main Apr 17, 2023
raulcd pushed a commit that referenced this pull request Apr 17, 2023
)

### Rationale for this change

`std::reinterpret_pointer_cast` was introduced with FixedShapeTensor PR (#34797) but is not available on OSX (see #35143).

### What changes are included in this PR?

This change switches to using `internal::checked_pointer_cast`.

### Are these changes tested?

Change is tested in CI, but should also be verified on crossbow.

### Are there any user-facing changes?

No.
* Closes: #35143

Authored-by: Rok Mihevc <rok@mihevc.org>
Signed-off-by: Dewey Dunnington <dewey@voltrondata.com>
@ursabot
Copy link

ursabot commented Apr 19, 2023

Benchmark runs are scheduled for baseline = 94b3423 and contender = 5605cf5. 5605cf5 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
[Finished ⬇️1.02% ⬆️0.0%] ursa-i9-9960x
[Finished ⬇️0.52% ⬆️0.03%] ursa-thinkcentre-m75q
Buildkite builds:
[Finished] 5605cf5d ec2-t3-xlarge-us-east-2
[Failed] 5605cf5d test-mac-arm
[Finished] 5605cf5d ursa-i9-9960x
[Finished] 5605cf5d ursa-thinkcentre-m75q
[Finished] 94b34233 ec2-t3-xlarge-us-east-2
[Failed] 94b34233 test-mac-arm
[Finished] 94b34233 ursa-i9-9960x
[Finished] 94b34233 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 Apr 19, 2023

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

liujiacheng777 pushed a commit to LoongArch-Python/arrow that referenced this pull request May 11, 2023
apache#35154)

### Rationale for this change

`std::reinterpret_pointer_cast` was introduced with FixedShapeTensor PR (apache#34797) but is not available on OSX (see apache#35143).

### What changes are included in this PR?

This change switches to using `internal::checked_pointer_cast`.

### Are these changes tested?

Change is tested in CI, but should also be verified on crossbow.

### Are there any user-facing changes?

No.
* Closes: apache#35143

Authored-by: Rok Mihevc <rok@mihevc.org>
Signed-off-by: Dewey Dunnington <dewey@voltrondata.com>
ArgusLi pushed a commit to Bit-Quill/arrow that referenced this pull request May 15, 2023
apache#35154)

### Rationale for this change

`std::reinterpret_pointer_cast` was introduced with FixedShapeTensor PR (apache#34797) but is not available on OSX (see apache#35143).

### What changes are included in this PR?

This change switches to using `internal::checked_pointer_cast`.

### Are these changes tested?

Change is tested in CI, but should also be verified on crossbow.

### Are there any user-facing changes?

No.
* Closes: apache#35143

Authored-by: Rok Mihevc <rok@mihevc.org>
Signed-off-by: Dewey Dunnington <dewey@voltrondata.com>
rtpsw pushed a commit to rtpsw/arrow that referenced this pull request May 16, 2023
apache#35154)

### Rationale for this change

`std::reinterpret_pointer_cast` was introduced with FixedShapeTensor PR (apache#34797) but is not available on OSX (see apache#35143).

### What changes are included in this PR?

This change switches to using `internal::checked_pointer_cast`.

### Are these changes tested?

Change is tested in CI, but should also be verified on crossbow.

### Are there any user-facing changes?

No.
* Closes: apache#35143

Authored-by: Rok Mihevc <rok@mihevc.org>
Signed-off-by: Dewey Dunnington <dewey@voltrondata.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.

[R][C++] Fixed shape tensor causes broken build on OSX
3 participants