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

build: The setup-adapters.sh script fails to run on macOS #11592

Closed
wants to merge 1 commit into from

Conversation

czentgr
Copy link
Collaborator

@czentgr czentgr commented Nov 19, 2024

On macOS the /etc/os-release file does not exist and the script throws an error when attempting to read the LINUX_DISTRIBUTION variable.

The variable was moved in error not considering that macOS will not have /etc/os-release.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 19, 2024
Copy link

netlify bot commented Nov 19, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 0da8e67
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/673d0f0a309b660008b25a27

On macOS the /etc/os-release does not exist and the script throws an error
when attempting to read the LINUX_DISTRIBUTION variable.

The variable was moved in error not considering that macOS will not have /etc/os-release.
@czentgr
Copy link
Collaborator Author

czentgr commented Nov 19, 2024

@majetideepak FYI

@czentgr czentgr changed the title fix: setup-adapters.sh fails to run on macOS fix: The setup-adapters.sh script fails to run on macOS Nov 19, 2024
@czentgr czentgr marked this pull request as ready for review November 20, 2024 15:55
@assignUser assignUser changed the title fix: The setup-adapters.sh script fails to run on macOS build: The setup-adapters.sh script fails to run on macOS Nov 20, 2024
@assignUser assignUser added the ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall label Nov 20, 2024
@facebook-github-bot
Copy link
Contributor

@kagamiori has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

1 similar comment
@facebook-github-bot
Copy link
Contributor

@kagamiori has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@kagamiori merged this pull request in 581f3fe.

Copy link

Conbench analyzed the 1 benchmark run on commit 581f3fe4.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

athmaja-n pushed a commit to athmaja-n/velox that referenced this pull request Jan 10, 2025
…cubator#11592)

Summary:
On macOS the /etc/os-release file does not exist and the script throws an error when attempting to read the LINUX_DISTRIBUTION variable.

The variable was moved in error not considering that macOS will not have /etc/os-release.

Pull Request resolved: facebookincubator#11592

Reviewed By: kevinwilfong

Differential Revision: D66252274

Pulled By: kagamiori

fbshipit-source-id: b50e21d153f0ab35bb217cb850ae88b2b621b496
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged ready-to-merge PR that have been reviewed and are ready for merging. PRs with this tag notify the Velox Meta oncall
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants