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

[WIP] Build for 4.13.0+trunk with dune.2.8.1 #230

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Among other things, dune-configurator allows one to:
- import #define from OCaml header files
- generate config.h file
"""
maintainer: ["Jane Street Group, LLC <[email protected]>"]
authors: ["Jane Street Group, LLC <[email protected]>"]
maintainer: ["Jane Street Group, LLC"]
authors: ["Jane Street Group, LLC"]
license: "MIT"
homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
opam-version: "2.0"
synopsis: "Private libraries of Dune"
description: """
!!!!!!!!!!!!!!!!!!!!!!
!!!!! DO NOT USE !!!!!
!!!!!!!!!!!!!!!!!!!!!!

This package contains code that is shared between various dune-xxx
packages. However, it is not meant for public consumption and provides
no stability guarantee.
"""
maintainer: ["Jane Street Group, LLC"]
authors: ["Jane Street Group, LLC"]
license: "MIT"
homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
bug-reports: "https://github.com/ocaml/dune/issues"
depends: [
"dune" {>= "2.8"}
"ocaml" {>= "4.08"}
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/ocaml/dune.git"
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@doc" {with-doc}
]
]
x-commit-hash: "b796156167490e777131403f651e83779e954000"
url {
src: "https://github.com/ocaml/dune/releases/download/2.8.1/dune-2.8.1.tbz"
checksum: [
"sha256=e7b405c75af321ce6518aa8e70ebdd403dbcc2ede931713e69c2b5addda4bd44"
"sha512=300c9f5074af5db78c8ffb17b4a1c402fce322d9af4b213aa847bfd9f9fd053e757182f3da8b207f2d24afbd609a227e8c0e57ef038ab236322229c41e240c43"
]
}
18 changes: 13 additions & 5 deletions dependencies/packages/dune/dune.2.8.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ several opam roots/switches simultaneously. This helps maintaining
packages across several versions of OCaml and gives cross-compilation
for free.
"""
maintainer: ["Jane Street Group, LLC <[email protected]>"]
authors: ["Jane Street Group, LLC <[email protected]>"]
maintainer: ["Jane Street Group, LLC"]
authors: ["Jane Street Group, LLC"]
license: "MIT"
homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
Expand All @@ -37,9 +37,9 @@ conflicts: [
dev-repo: "git+https://github.com/ocaml/dune.git"
build: [
# opam 2 sets OPAM_SWITCH_PREFIX, so we don't need a hardcoded path
["ocaml" "configure.ml" "--libdir" lib] {opam-version < "2"}
["ocaml" "bootstrap.ml" "-j" jobs]
["./dune.exe" "build" "-p" name "--profile" "dune-bootstrap" "-j" jobs]
# ["ocaml" "configure.ml" "--libdir" lib] {opam-version < "2"}
# ["ocaml" "bootstrap.ml" "-j" jobs]
# ["./dune.exe" "build" "-p" name "--profile" "dune-bootstrap" "-j" jobs]
]
depends: [
# Please keep the lower bound in sync with .github/workflows/workflow.yml,
Expand All @@ -48,6 +48,14 @@ depends: [
"base-unix"
"base-threads"
]
# HACK: link out to a system dune installation setup in the master makefile
# This was done as a workaround for dune breakage with trunk until better
# solutions arrive
install: [
["ln" "-s" "%{root}%/sys_dune/bin/dune" "%{bin}%/dune"]
["ln" "-s" "%{root}%/sys_dune/bin/jbuilder" "%{bin}%/jbuilder"]
["ln" "-s" "%{root}%/sys_dune/lib/dune" "%{lib}%/dune"]
]
x-commit-hash: "b796156167490e777131403f651e83779e954000"
url {
src: "https://github.com/ocaml/dune/releases/download/2.8.1/dune-2.8.1.tbz"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ build: [
]
depends: [
"dune" {>= "1.11"}
"ocaml" {>= "4.02.3" & < "4.13"}
"ocaml" {>= "4.02.3"}
]
synopsis: "Convert OCaml parsetrees between different versions"
description: """
Expand Down
44 changes: 44 additions & 0 deletions dependencies/packages/ocamlfind/ocamlfind.1.9.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
opam-version: "2.0"
synopsis: "A library manager for OCaml"
description: """
Findlib is a library manager for OCaml. It provides a convention how
to store libraries, and a file format ("META") to describe the
properties of libraries. There is also a tool (ocamlfind) for
interpreting the META files, so that it is very easy to use libraries
in programs and scripts.
"""
license: "MIT"
maintainer: "Thomas Gazagnaire <[email protected]>"
authors: "Gerd Stolpmann <[email protected]>"
homepage: "http://projects.camlcity.org/projects/findlib.html"
bug-reports: "https://github.com/ocaml/ocamlfind/issues"
depends: [
"ocaml" {>= "4.00.0"}
]
depopts: ["graphics"]
build: [
[
"./configure"
"-bindir" bin
"-sitelib" lib
"-mandir" man
"-config" "%{lib}%/findlib.conf"
"-no-custom"
"-no-camlp4" {!ocaml:preinstalled & ocaml:version >= "4.02.0"}
"-no-topfind" {ocaml:preinstalled}
]
[make "all"]
[make "opt"] {ocaml:native}
]
install: [
[make "install"]
["install" "-m" "0755" "ocaml-stub" "%{bin}%/ocaml"] {ocaml:preinstalled}
]
dev-repo: "git+https://github.com/ocaml/ocamlfind.git"
url {
src: "http://download.camlcity.org/download/findlib-1.9.1.tar.gz"
checksum: [
"md5=65e6dc9b305ccbed1267275fe180f538"
"sha512=83a05f3e310fa7cabb0475c5525f7a87c1b6bc2dc5e39f094cabfb5d944a826a5581844ba00ec1a48dd96184eb9de3c4d1055cdddee2b83c700a2de5a6dc6f84"
]
}
2 changes: 1 addition & 1 deletion dependencies/packages/ppxlib/ppxlib.0.22.0+stock/opam
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ doc: "https://ocaml-ppx.github.io/ppxlib/"
bug-reports: "https://github.com/ocaml-ppx/ppxlib/issues"
depends: [
"dune" {>= "2.7"}
"ocaml" {>= "4.04.1" & < "4.13"}
"ocaml" {>= "4.04.1"}
"ocaml-compiler-libs" {>= "v0.11.0"}
"ocaml-migrate-parsetree" {>= "2.1.0"}
"ppx_derivers" {>= "1.0"}
Expand Down