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

Update ReproducibleBuilds.md with cygwin details #3973

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

judovana
Copy link
Contributor

@judovana judovana commented Oct 4, 2024

Few notes I learned when launched through cygwin. Still not complete, but the parts covered inthis readme are moreover done

@github-actions github-actions bot added the documentation Issues that request updates to our documentation label Oct 4, 2024
@karianna
Copy link
Contributor

karianna commented Oct 5, 2024

@judovana linter failures

@judovana
Copy link
Contributor Author

judovana commented Oct 7, 2024

nice! ty!

@judovana judovana force-pushed the comparableReadmeUpdate branch 2 times, most recently from 51b4092 to b4d4b09 Compare October 7, 2024 11:36
@judovana
Copy link
Contributor Author

judovana commented Oct 7, 2024

goodnow. Thanx again!

tooling/reproducible/ReproducibleBuilds.md Outdated Show resolved Hide resolved
tooling/reproducible/ReproducibleBuilds.md Outdated Show resolved Hide resolved
tooling/reproducible/ReproducibleBuilds.md Outdated Show resolved Hide resolved
tooling/reproducible/ReproducibleBuilds.md Outdated Show resolved Hide resolved
tooling/reproducible/ReproducibleBuilds.md Outdated Show resolved Hide resolved
tooling/reproducible/ReproducibleBuilds.md Outdated Show resolved Hide resolved
tooling/reproducible/ReproducibleBuilds.md Outdated Show resolved Hide resolved
tooling/reproducible/ReproducibleBuilds.md Outdated Show resolved Hide resolved
tooling/reproducible/ReproducibleBuilds.md Outdated Show resolved Hide resolved
tooling/reproducible/ReproducibleBuilds.md Outdated Show resolved Hide resolved
Copy link
Contributor

@karianna karianna left a comment

Choose a reason for hiding this comment

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

A few comments to go

@judovana
Copy link
Contributor Author

TYVM! @andrew-m-leonard wdyt?

In cygwin, you must handle the trailing `\r` otherwise it will fail later:

```bash
JAVA_VENDOR="$($JDK_DIR/bin/java -XshowSettings 2>&1| grep 'java.vendor = ' | sed 's/.* = //' | sed 's/\r.*//' )"
Copy link
Contributor

Choose a reason for hiding this comment

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

The other URLs ought to be handled if we're doing this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thsi was just example. In addition targeted to of removing the \r You have listing of all fo them in th e readem. I would not repeat them all here. I fyou insists, I will copypaste them all.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think just remove this, this is assuming someone is using a "script" to get these, when I wrote this I was simply running the command, and copy and pasting from the terminal, hence "\r" does not come into it...
Lets keep this doc simple please

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure! As you wish. Removed. I had kept jsut inline "sed \r away as eg: sed 's/\r.*//' is usually enough."

- Thus, it is recommended to launch this via `cmd -c` or preferably by an executable `.bat` file such as:

```bash
pushd "$MSVSC/BUILD/TOOLS"
Copy link
Contributor

Choose a reason for hiding this comment

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

@judovana I think this is far too complex for "doc"... I am thinking we need a helper script that does all this for a user... called something like "SetupReproEnv.bat" and "SetupComparableEnv.bat", we then make this doc very simple....thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have finished the publishable script yesterday. Will make PR with it today I think

Copy link
Contributor

Choose a reason for hiding this comment

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

that would be great, thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note that that script is nto that simple. Depnending on MSVS, MSVC lcoations, cygwin, architectures and so on...:(

Copy link
Contributor Author

@judovana judovana Oct 11, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issues that request updates to our documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants