-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
synopsis: | ||
"Bindings to the `cuda` and `nvrtc` libraries with a unified interface" | ||
description: | ||
"Bindings to manually selected parts of `lcuda` and `lnvrtc`, with a few types and conversion functions to facilitate use." | ||
maintainer: ["Lukasz Stafiniak"] | ||
authors: ["Lukasz Stafiniak"] | ||
license: "MIT" | ||
tags: ["cuda" "jit" "nvrtc"] | ||
homepage: "https://github.com/lukstafi/ocaml-cudajit" | ||
doc: "https://github.com/lukstafi/ocaml-cudajit/blob/master/README.md" | ||
bug-reports: "https://github.com/lukstafi/ocaml-cudajit/issues" | ||
depends: [ | ||
"ocaml" {>= "4.08"} | ||
"dune" {>= "3.11"} | ||
"ctypes" {>= "0.14.0"} | ||
"ctypes-foreign" | ||
"sexplib0" | ||
"ppx_sexp_conv" | ||
"ppx_expect" | ||
"conf-cuda" | ||
"odoc" {with-doc} | ||
] | ||
build: [ | ||
["dune" "subst"] {dev} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/lukstafi/ocaml-cudajit.git" | ||
post-messages: [ | ||
"NOTE: CUDA drivers are outside the scope of system packages and might need to be installed manually." | ||
{failure & !conf-cuda-config:is_wsl} | ||
"NOTE: double-check if CUDA drivers for Windows are installed and Linux libraries don't hide WSL stubs; see: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#network-repo-installation-for-wsl" | ||
{failure & conf-cuda-config:is_wsl} | ||
] | ||
url { | ||
src: | ||
"https://github.com/lukstafi/ocaml-cudajit/archive/refs/tags/0.4.1.tar.gz" | ||
checksum: [ | ||
"md5=f21ceda9106bdcc289b02762fa718168" | ||
"sha512=f155913d78f2de11c776c321cc756850090beb06e87b58da2ff6209463e7ce4d85eba15c6daf39aaed1b228809f6c17f70684e424219a4897883b6cc1c439f35" | ||
] | ||
} |