package dkml-component-staging-opam64

  1. Overview
  2. Docs
DKML component for 64-bit versions of opam

Install

Dune Dependency

Authors

Maintainers

Sources

v2.2.0-dkml20220801.tar.gz
md5=985afb173c7f038c54e584e133a19850
sha512=d6e1641730df18668e221fb7d108de3646acdcf75850d12d1948cfc22d458ca95e0d86820b654f37af38ceb168e9e548e12c7d2315a6e8904f88f8d6f8187904

Description

For 64-bit capable platforms, opam, opam-putenv and opam-installer will be in /staging-files/. But for any platform that does not support 64-bit, this package will install nothing (aka. be a no-op). Consumers of the component should place both tools/opam64 and tools/opam32 into the PATH, so that whichever is available can be used.

Published: 11 Aug 2022

README

staging-opam

The staging-opam component makes available the Opam binaries (opam, opam-installer and on Windows opam-putenv) in the staging-files directory.

These are components that can be used with dkml-install-api to generate installers.

dkml-component-staging-opam32 and dkml-component-staging-opam64

These components vary by whether distribute 32-bit or 64-bit executables. Sometimes we only distribute 64-bit for a host operating system (ex. macOS).

Executables

On Windows the binaries will end with .exe.

For a given ABI (ex. darwin_arm64) only one of opam32 or opam64's bin/opam will be present.

If you need to copy these from staging to the end-user's installation prefix, you should copy the entire %{staging-opam32:share-abi}%/bin and %{staging-opam64:share-abi}%/bin directories (one will be empty) as they may contain DLLs and shared libraries necessary for their operation.

Documentation

Man pages. The man pages will only be available if the corresponding executable is available in the 32-bit or 64-bit form. If both 32-bit and 64-bit are available, the man pages will be duplicated.

Usage

FIRST, add a dependency to your .opam file:

depends: [
  "dkml-component-staging-opam"   {>= "2.1.0"}
  # ...
]

SECOND, add the package to your currently selected Opam switch:

opam install dkml-component-staging-opam
# Alternatively, if on Windows and you have Diskuv OCaml, then:
#   with-dkml opam install dkml-component-staging-opam

Be prepared to wait several minutes while one or more Opam is being compiled for your machine.

Status

Status
Asset tests
Syntax check

Dependencies (4)

  1. diskuvbox >= "0.1.0" & build
  2. dune >= "2.9"
  3. dkml-install >= "0.2.0"
  4. ocaml >= "4.12.1~" & <= "5.0.0~"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.