Skip to content

Delete osx_cc_wrapper.sh#390

Open
keith wants to merge 5 commits intomainfrom
ks/delete-osx_cc_wrapper.sh
Open

Delete osx_cc_wrapper.sh#390
keith wants to merge 5 commits intomainfrom
ks/delete-osx_cc_wrapper.sh

Conversation

@keith
Copy link
Copy Markdown
Member

@keith keith commented Mar 27, 2025

This was only used to fix the install_name of shared libraries, which is
now obsolete since they are set correctly by the crosstool with
-install_name. This was fixed in 7.4.0+ bazelbuild/bazel@4956dff

@keith
Copy link
Copy Markdown
Member Author

keith commented Mar 27, 2025

should see on CI that it's still required for bazel before 8.x

@keith keith force-pushed the ks/delete-osx_cc_wrapper.sh branch 4 times, most recently from 3bd73fb to 04c9a0d Compare March 28, 2025 19:03
@keith
Copy link
Copy Markdown
Member Author

keith commented Mar 28, 2025

looks like this works with 7.x even though --incompatible_macos_set_install_name wasn't flipped, i guess that means the fixes made it in there and then it works because we just ignore the flag value in this PR (since it's no longer valid to be disabled with this change)

@keith keith force-pushed the ks/delete-osx_cc_wrapper.sh branch from 04c9a0d to 76b5579 Compare March 31, 2025 19:16
@keith keith marked this pull request as ready for review March 31, 2025 19:17
@keith keith force-pushed the ks/delete-osx_cc_wrapper.sh branch from 76b5579 to 032b73c Compare March 31, 2025 19:26
@brentleyjones
Copy link
Copy Markdown
Collaborator

Looks like bazelbuild/bazel@4956dff is what fixed it. Not sure we should move our minimum up to 7.4.0 just yet?

@keith
Copy link
Copy Markdown
Member Author

keith commented Mar 31, 2025

yea good point we can wait a bit

@keith keith marked this pull request as draft March 31, 2025 19:27
keith added 2 commits April 10, 2026 16:38
This was only used to fix the install_name of shared libraries, which is
now obsolete since they are set correctly by the crosstool with
`-install_name`.
@keith keith force-pushed the ks/delete-osx_cc_wrapper.sh branch from 032b73c to d476874 Compare April 10, 2026 23:39
@keith keith marked this pull request as ready for review April 10, 2026 23:49
@keith keith requested a review from adincebic as a code owner April 10, 2026 23:49
@keith
Copy link
Copy Markdown
Member Author

keith commented Apr 10, 2026

probably fine to make 7.4.0 our min now?

@adincebic
Copy link
Copy Markdown
Contributor

probably fine to make 7.4.0 our min now?

IMO yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants