Skip to content

Commit 317261e

Browse files
authored
Merge branch 'master' into deprecate-ubuntu-23-04
2 parents 8e088cf + 74dca85 commit 317261e

File tree

3 files changed

+11
-16
lines changed

3 files changed

+11
-16
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ unreleased
22
----------
33

44
- Deprecate Ubuntu 23.04. (@punchagan, #213)
5+
- Deprecate Fedora 38. (@mtelvers, #211)
6+
- Deprecate Debian 10. (@shonfeder, #210)
57
- Add Ubuntu 24.04. (@mtelvers, #205)
68
- Add Fedora 40, deprecate Fedora 37. (@mtelvers, #203)
79
- Add Fedora 39. (@MisterDA #200)

src-opam/distro.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,16 +385,16 @@ let distro_status (d : t) : status =
385385
| `Archlinux `Latest -> `Active `Tier3
386386
| `CentOS `V7 -> `Active `Tier3
387387
| `CentOS (`V6 | `V8) -> `Deprecated
388-
| `Debian (`V7 | `V8 | `V9) -> `Deprecated
389-
| `Debian (`V10 | `V11) -> `Active `Tier2
388+
| `Debian (`V7 | `V8 | `V9 | `V10) -> `Deprecated
389+
| `Debian `V11 -> `Active `Tier2
390390
| `Debian `V12 -> `Active `Tier1
391391
| `Debian `Testing -> `Active `Tier3
392392
| `Debian `Unstable -> `Active `Tier3
393393
| `Fedora
394394
( `V21 | `V22 | `V23 | `V24 | `V25 | `V26 | `V27 | `V28 | `V29 | `V30
395-
| `V31 | `V32 | `V33 | `V34 | `V35 | `V36 | `V37 ) ->
395+
| `V31 | `V32 | `V33 | `V34 | `V35 | `V36 | `V37 | `V38 ) ->
396396
`Deprecated
397-
| `Fedora (`V38 | `V39 | `V40) -> `Active `Tier2
397+
| `Fedora (`V39 | `V40) -> `Active `Tier2
398398
| `OracleLinux `V7 -> `Deprecated
399399
| `OracleLinux (`V8 | `V9) -> `Active `Tier3
400400
| `OpenSUSE

src-opam/opam.ml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,27 +53,20 @@ let install_opam_from_source ?(add_default_link = true) ?(prefix = "/usr/local")
5353
let install_opam_from_source_windows ?cyg ?prefix
5454
?(enable_0install_solver = false) ?(with_vendored_deps = false)
5555
?(msvs = false) ~branch ~hash () =
56-
(* Although opam's readme states it can autodetec the environment
57-
with MSVS, it doesn't always work. It's set explicitly here. *)
58-
let msvs_env =
59-
{|eval $(msvs-detect --arch=x64) && export PATH="$MSVS_PATH:$PATH" && export LIB="$MSVS_LIB" && export INCLUDE="$MSVS_INC" && |}
60-
and ocaml_port = "OCAML_PORT=msvc64 " in
6156
Windows.Cygwin.run_sh ?cyg
6257
"cd /tmp/opam-sources && cp -P -R -p . ../opam-build-%s && cd \
6358
../opam-build-%s && git checkout %s && git config --global --add \
6459
safe.directory /tmp/opam-build-%s"
6560
branch branch hash branch
61+
@@ Windows.Cygwin.run_sh ?cyg "cd /tmp/opam-build-%s && make compiler %s"
62+
branch
63+
(if msvs then "OCAML_PORT=msvc64" else "")
6664
@@ Windows.Cygwin.run_sh ?cyg
67-
"cd /tmp/opam-build-%s && %smake compiler %s&& make lib-pkg" branch
68-
(if msvs then msvs_env else "")
69-
(if msvs then ocaml_port else "")
70-
@@ Windows.Cygwin.run_sh ?cyg
71-
"cd /tmp/opam-build-%s && %s./configure --enable-cold-check %s%s%s%s && \
65+
"cd /tmp/opam-build-%s && ./configure --enable-cold-check %s%s%s%s && \
7266
make && make install"
7367
branch
74-
(if msvs then msvs_env else "")
7568
(if msvs then "" else "--with-private-runtime")
76-
(if with_vendored_deps then "" else "--with-vendored_deps")
69+
(if with_vendored_deps then " --with-vendored_deps" else "")
7770
(Option.fold prefix ~none:"" ~some:(fun prefix ->
7871
Printf.sprintf {| --prefix="%s"|} prefix))
7972
(if enable_0install_solver then " --with-0install-solver" else "")

0 commit comments

Comments
 (0)