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

Install .cmxs with the executable bit set #4149

Merged
merged 2 commits into from
Jan 27, 2021
Merged

Conversation

bobot
Copy link
Collaborator

@bobot bobot commented Jan 22, 2021

Fixes #4148

@bobot bobot requested a review from rgrinberg January 22, 2021 20:41
@bobot bobot changed the title Install .cmxs with the install bit set Install .cmxs with the executable bit set Jan 22, 2021
@bobot bobot force-pushed the fix_cmxs_not_exec branch 2 times, most recently from 68efb1b to 86b0015 Compare January 22, 2021 20:43
Copy link
Member

@rgrinberg rgrinberg left a comment

Choose a reason for hiding this comment

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

Looks good. Needs a changes entry and a couple of tweaks to the tests

@bobot bobot force-pushed the fix_cmxs_not_exec branch 2 times, most recently from 578770c to 5b848e1 Compare January 22, 2021 22:42
@bobot
Copy link
Collaborator Author

bobot commented Jan 22, 2021

But I don't understand why I had to run make clean; make test in order to see the other tests that were failing. Thank you for the review, I'm waiting for the CI before merging.

  Fixes ocaml#4148

Signed-off-by: François Bobot <francois.bobot@cea.fr>
@bobot bobot force-pushed the fix_cmxs_not_exec branch from 5b848e1 to 3d446a8 Compare January 23, 2021 09:40
@bobot bobot merged commit f0a31ae into ocaml:main Jan 27, 2021
@bobot bobot deleted the fix_cmxs_not_exec branch January 27, 2021 13:54
rgrinberg added a commit to rgrinberg/opam-repository that referenced this pull request Mar 29, 2021
…ne-action-plugin, dune-private-libs and dune-glob (2.8.5)

CHANGES:

- Fixed absence of executable bit for installed `.cmxs` (ocaml/dune#4149, fixes ocaml/dune#4148, @bobot)

- Fix a race in Dune cache. It was particularly easy to hit this race when using
  the cache on Windows (ocaml/dune#4406, fixes ocaml/dune#4167, @snowleopard)
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.

dune strips executable bits from cmxs files
2 participants