Skip to content

Commit

Permalink
add some conf packages
Browse files Browse the repository at this point in the history
  • Loading branch information
zapashcanon committed Feb 5, 2025
1 parent 278df33 commit 3c69557
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/conf-lld/conf-lld.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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 = "debian" }
["llvm"] { os-family = "homebrew" }
]
synopsis: "Virtual package relying on lld installation"
flags: conf
17 changes: 17 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,17 @@
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}
]
depexts: [
["rust-llvm"] { os-family = "debian" }
]
synopsis: "Virtual package relying on an installation of the integration of Rust with LLVM tools."
flags: conf
18 changes: 18 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,18 @@
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}
"conf-rust" {build}
]
depexts: [
["libstd-rust-dev-wasm32"] { os-family = "debian" }
]
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

0 comments on commit 3c69557

Please sign in to comment.