-
Notifications
You must be signed in to change notification settings - Fork 80
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
7903920: Support building jtreg on FreeBSD #237
base: master
Are you sure you want to change the base?
Conversation
On FreeBSD we need to use GNU gmake instead of the BSD make program.
Hi @snake66, welcome to this OpenJDK project and thanks for contributing! We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user snake66" as summary for the issue. If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing |
❗ This change is not yet ready to be integrated. |
/covered |
Thank you! Please allow for a few business days to verify that your employer has signed the OCA. Also, please note that pull requests that are pending an OCA check will not usually be evaluated, so your patience is appreciated! |
This work is done on behalf of The FreeBSD Foundation. https://oca.opensource.oracle.com/api/v1/members/public?&search=FreeBSD |
Thanks for creating the PR, @snake66 - can you please create a JBS issue for this change? Happy to help if needed: https://bugs.openjdk.org/browse/CODETOOLS @jonathan-gibbons wrote in 8a66b3b#commitcomment-150335752
Seems like this change avoids relying on |
Thanks, I'm not sure if I have access to create issues? The credentials for the oracle account did not work.
Yes, I was unsure if those changes would pass, so I'll follow your recommendations. Do you want me to include the rest of the FreeBSD related changes to this PR, or is it preferable to do separate PR's for each change? |
Created https://bugs.openjdk.org/browse/CODETOOLS-7903920 to track this improvement to |
The regex matching in FreeBSD grep supplied by the base OS has some slight incompatibilities with GNU grep, so make sure we use the right one.
On FreeBSD installed binaries will typically be in /usr/local/bin instead of /usr/bin.
On FreeBSD we need to use GNU gmake instead of the BSD make program.
Progress
Error
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jtreg.git pull/237/head:pull/237
$ git checkout pull/237
Update a local copy of the PR:
$ git checkout pull/237
$ git pull https://git.openjdk.org/jtreg.git pull/237/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 237
View PR using the GUI difftool:
$ git pr show -t 237
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jtreg/pull/237.diff