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

add some conf packages #27381

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
29 changes: 29 additions & 0 deletions packages/conf-lld/conf-lld.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
opam-version: "2.0"
maintainer: "Léo Andrès <[email protected]>"
authors: "The LLVM team"
homepage: "http://llvm.org"
bug-reports: "https://llvm.org/bugs/"
license: "MIT"
build: [
["wasm-ld" "-version"]
]
depends: [
"conf-bash" {build}
]
depexts: [
["lld"] { os-family = "alpine" }
["lld"] { os-family = "arch" }
["lld"] { os-family = "debian" }
["llvm"] { os-family = "homebrew" }
["lld"] { os-family = "open-suse" }
["lld"] { os-family = "suse" }
["lld"] { os-family = "ubuntu" }

["lld"] { os-distribution = "centos" }
["lld"] { os-distribution = "fedora" }
["lld"] { os-distribution = "homebrew" }
["lld"] { os-distribution = "nixos" }
["lld"] { os-distribution = "ol" }
]
synopsis: "Virtual package relying on lld installation"
flags: conf
30 changes: 30 additions & 0 deletions packages/conf-rust-llvm/conf-rust-llvm.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
opam-version: "2.0"
maintainer: "Léo Andrès <[email protected]>"
authors: "Léo Andrès <[email protected]>"
homepage: "https://github.com/ocaml/opam-repository"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
license: "MIT"
build: [
["which" "rust-lld"]
]
depends: [
"conf-bash" {build}
zapashcanon marked this conversation as resolved.
Show resolved Hide resolved
]
depexts: [
["rust-llvm"] { os-family = "alpine" }
["rust-llvm"] { os-family = "arch" }
["rust-llvm"] { os-family = "debian" }
["rust-llvm"] { os-family = "homebrew" }
["rust-llvm"] { os-family = "open-suse" }
["rust-llvm"] { os-family = "suse" }
["rust-llvm"] { os-family = "ubuntu" }

["rust-llvm"] { os-distribution = "centos" }
["rust-llvm"] { os-distribution = "fedora" }
["rust-llvm"] { os-distribution = "homebrew" }
["rust-llvm"] { os-distribution = "nixos" }
["rust-llvm"] { os-distribution = "ol" }

]
synopsis: "Virtual package relying on an installation of the integration of Rust with LLVM tools"
flags: conf
30 changes: 30 additions & 0 deletions packages/conf-rust-wasm/conf-rust-wasm.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
opam-version: "2.0"
maintainer: "Léo Andrès <[email protected]>"
authors: "Léo Andrès <[email protected]>"
homepage: "https://github.com/ocaml/opam-repository"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
license: "MIT"
build: [
["sh" "-c" "rustc --print target-list | grep -q 'wasm32-unknown-unknown'" ]
]
depends: [
"conf-bash" {build}
zapashcanon marked this conversation as resolved.
Show resolved Hide resolved
"conf-rust" {build}
]
depexts: [
["libstd-rust-dev-wasm32"] { os-family = "alpine" }
zapashcanon marked this conversation as resolved.
Show resolved Hide resolved
["libstd-rust-dev-wasm32"] { os-family = "arch" }
zapashcanon marked this conversation as resolved.
Show resolved Hide resolved
["libstd-rust-dev-wasm32"] { os-family = "debian" }
["libstd-rust-dev-wasm32"] { os-family = "homebrew" }
["libstd-rust-dev-wasm32"] { os-family = "open-suse" }
["libstd-rust-dev-wasm32"] { os-family = "suse" }
["libstd-rust-dev-wasm32"] { os-family = "ubuntu" }

["libstd-rust-dev-wasm32"] { os-distribution = "centos" }
["libstd-rust-dev-wasm32"] { os-distribution = "fedora" }
["libstd-rust-dev-wasm32"] { os-distribution = "homebrew" }
["libstd-rust-dev-wasm32"] { os-distribution = "nixos" }
["libstd-rust-dev-wasm32"] { os-distribution = "ol" }
]
synopsis: "Virtual package relying on an installation of standard Rust libraries including development files, needed to cross-compile Rust programs to the wasm32-unknown-unknown and wasm32-wasip1/wasm32-wasip2 targets"
flags: conf
Loading