Skip to content

feature: add --prefix to configure script#11172

Merged
rgrinberg merged 1 commit intomainfrom
ps/rr/feature__add___prefix_to_configure_script
Dec 8, 2024
Merged

feature: add --prefix to configure script#11172
rgrinberg merged 1 commit intomainfrom
ps/rr/feature__add___prefix_to_configure_script

Conversation

@rgrinberg
Copy link
Copy Markdown
Member

In symmetric with --prefix in the install command.

Fix #10229

Signed-off-by: Rudi Grinberg me@rgrinberg.com

@rgrinberg rgrinberg force-pushed the ps/rr/feature__add___prefix_to_configure_script branch 3 times, most recently from a5e61a1 to dff53ed Compare December 8, 2024 01:10
@rgrinberg rgrinberg force-pushed the ps/rr/feature__add___prefix_to_configure_script branch 3 times, most recently from 7229d34 to bc5bb6b Compare December 8, 2024 10:52
In symmetry with --prefix in the install command.

Fix #10229

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>

<!-- ps-id: 0a9b3e1e-91d9-4ccf-8780-2210fe3d656c -->

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg rgrinberg force-pushed the ps/rr/feature__add___prefix_to_configure_script branch from bc5bb6b to b44190d Compare December 8, 2024 16:07
@rgrinberg rgrinberg merged commit bca9e65 into main Dec 8, 2024
@rgrinberg rgrinberg deleted the ps/rr/feature__add___prefix_to_configure_script branch December 8, 2024 18:11
Leonidas-from-XIV added a commit to Leonidas-from-XIV/dune that referenced this pull request Dec 12, 2024
When building dune this change gets promoted when rebuilding. To prevent
it leaking into unrelated PRs this PR adds it explicitely.

Signed-off-by: Marek Kubica <marek@tarides.com>
Leonidas-from-XIV added a commit that referenced this pull request Dec 13, 2024
When building dune this change gets promoted when rebuilding. To prevent
it leaking into unrelated PRs this PR adds it explicitely.

Signed-off-by: Marek Kubica <marek@tarides.com>
chris-armstrong pushed a commit to chris-armstrong/dune that referenced this pull request Jan 29, 2025
In symmetry with --prefix in the install command.

Fix ocaml#10229

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Signed-off-by: Chris Armstrong <chris-armstrong@users.noreply.github.com>
chris-armstrong pushed a commit to chris-armstrong/dune that referenced this pull request Jan 29, 2025
When building dune this change gets promoted when rebuilding. To prevent
it leaking into unrelated PRs this PR adds it explicitely.

Signed-off-by: Marek Kubica <marek@tarides.com>
Signed-off-by: Chris Armstrong <chris-armstrong@users.noreply.github.com>
maiste added a commit to maiste/opam-repository that referenced this pull request Mar 31, 2025
CHANGES:

### Fixed

- Support HaikuOS: don't call `execve` since it's not allowed if other pthreads
  have been created. The fact that Haiku can't call `execve` from other threads
  than the principal thread of a process (a team in haiku jargon), is a
  discrepancy to POSIX and hence there is a [bug about
  it](https://dev.haiku-os.org/ticket/18665). (@Sylvain78, ocaml/dune#10953)
- Fix flag ordering in generated Merlin configurations (ocaml/dune#11503, @voodoos, fixes
  ocaml/merlin#1900, reported by @vouillon)

### Added

- Add `(format-dune-file <src> <dst>)` action. It provides a replacement to
  `dune format-dune-file` command.  (ocaml/dune#11166, @nojb)
- Allow the `--prefix` flag when configuring dune with `ocaml configure.ml`.
  This allows to set the prefix just like `$ dune install --prefix`. (ocaml/dune#11172,
  @rgrinberg)
- Allow arguments starting with `+` in preprocessing definitions (starting with
  `(lang dune 3.18)`). (@amonteiro, ocaml/dune#11234)
- Support for opam `(maintenance_intent ...)` in dune-project (ocaml/dune#11274, @art-w)
- Validate opam `maintenance_intent` (ocaml/dune#11308, @art-w)
- Support `not` in package dependencies constraints (ocaml/dune#11404, @art-w, reported
  by @hannesm)

### Changed

- Warn when failing to discover root due to reads failing. The previous
  behavior was to abort. (@KoviRobi, ocaml/dune#11173)
- Use shorter path for inline-tests artifacts. (@hhugo, ocaml/dune#11307)
- Allow dash in `dune init` project name (ocaml/dune#11402, @art-w, reported by @saroupille)
- On Windows, under heavy load, file delete operations can sometimes fail due to
  AV programs, etc. Guard against it by retrying the operation up to 30x with a
  1s waiting gap (ocaml/dune#11437, fixes ocaml/dune#11425, @MSoegtropIMC)
- Cache: we now only store the executable permission bit for files (ocaml/dune#11541,
  fixes ocaml/dune#11533, @ElectreAAS)
- Display negative error codes on Windows in hex which is the more customary
  way to display `NTSTATUS` codes (ocaml/dune#11504, @MisterDA)
maiste added a commit to maiste/opam-repository that referenced this pull request Apr 3, 2025
CHANGES:

### Fixed

- Support HaikuOS: don't call `execve` since it's not allowed if other pthreads
  have been created. The fact that Haiku can't call `execve` from other threads
  than the principal thread of a process (a team in haiku jargon), is a
  discrepancy to POSIX and hence there is a [bug about
  it](https://dev.haiku-os.org/ticket/18665). (@Sylvain78, ocaml/dune#10953)
- Fix flag ordering in generated Merlin configurations (ocaml/dune#11503, @voodoos, fixes
  ocaml/merlin#1900, reported by @vouillon)

### Added

- Add `(format-dune-file <src> <dst>)` action. It provides a replacement to
  `dune format-dune-file` command.  (ocaml/dune#11166, @nojb)
- Allow the `--prefix` flag when configuring dune with `ocaml configure.ml`.
  This allows to set the prefix just like `$ dune install --prefix`. (ocaml/dune#11172,
  @rgrinberg)
- Allow arguments starting with `+` in preprocessing definitions (starting with
  `(lang dune 3.18)`). (@amonteiro, ocaml/dune#11234)
- Support for opam `(maintenance_intent ...)` in dune-project (ocaml/dune#11274, @art-w)
- Validate opam `maintenance_intent` (ocaml/dune#11308, @art-w)
- Support `not` in package dependencies constraints (ocaml/dune#11404, @art-w, reported
  by @hannesm)

### Changed

- Warn when failing to discover root due to reads failing. The previous
  behavior was to abort. (@KoviRobi, ocaml/dune#11173)
- Use shorter path for inline-tests artifacts. (@hhugo, ocaml/dune#11307)
- Allow dash in `dune init` project name (ocaml/dune#11402, @art-w, reported by @saroupille)
- On Windows, under heavy load, file delete operations can sometimes fail due to
  AV programs, etc. Guard against it by retrying the operation up to 30x with a
  1s waiting gap (ocaml/dune#11437, fixes ocaml/dune#11425, @MSoegtropIMC)
- Cache: we now only store the executable permission bit for files (ocaml/dune#11541,
  fixes ocaml/dune#11533, @ElectreAAS)
- Display negative error codes on Windows in hex which is the more customary
  way to display `NTSTATUS` codes (ocaml/dune#11504, @MisterDA)
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.

man dir does not change as specified by --mandir

3 participants