this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add conf-msvc32.1 and conf-msvc64.1

These packages can only be installed if a suitable Visual Studio
installation containing the Microsoft C compiler and macro assembler can
be found.

The two packages use msvs-detect to construct a .config file containing
the required environment variable changes necessary to make this
compiler available. These variables can then be used in the build-env or
setenv fields of dependent packages.

Both packages can be installed simultaneously; dependent packages are
required to ensure that only one toolchain is actually in the
environment at any given time.

The packages fail to install if a compiler cannot be found - opam
presently lacks an expressive enough depext system to be able to do
anything further.

+84
+42
packages/conf-msvc32/conf-msvc32.1/opam
··· 1 + opam-version: "2.0" 2 + synopsis: "Microsoft C Compiler Environment Settings (32-bit x86)" 3 + description: """ 4 + This package uses msvs-tools to find additional values required for the 5 + environment in order to use the x86 (32-bit) Microsoft C compiler (cl). 6 + 7 + After installation, the package's variables indicate the required values: 8 + - conf-msvc32:msvs-bin, conf-msvc32:msvs-inc and conf-msvc32:msvc-lib are values 9 + to be added to PATH, INCLUDE and LIB respectively. In opam 2.2, they should be 10 + added using x-env-path-rewrite set to false, as they contain multiple 11 + directories. 12 + - conf-msvc32:package is the name of the Visual Studio package providing the 13 + compiler (e.g. Visual Studio Community 2022) 14 + - conf-msvc32:ml is the name of the assembler (usually "ml") 15 + - conf-msvc32:script is the vcvarsall or setenv script which was queried by 16 + msvs-detect to provide this information 17 + """ 18 + maintainer: "David Allsopp <david.allsopp@metastack.com>" 19 + authors: "David Allsopp" 20 + license: "BSD-3-clause" 21 + homepage: "https://github.com/metastack/msvs-tools#readme" 22 + bug-reports: "https://github.com/metastack/msvs-tools/issues" 23 + depends: ["msvs-detect"] 24 + available: os = "win32" 25 + flags: conf 26 + build: ["bash" "%{msvs-detect:share}%\\msvs-opam" "x86_32" name "%{msvs-detect:share}%\\msvs-detect"] 27 + post-messages: [ 28 + """ 29 + A suitable Visual Studio installation could not be found for x86. 30 + Visual Studio can be obtained from https://visualstudio.microsoft.com""" 31 + {failure} 32 + 33 + """ 34 + The Microsoft C compiler has been located in the environment which suggests opam 35 + is running either from a Tools Command Prompt or from another wrapper which is 36 + updating the environment variables. 37 + 38 + opam has not altered these environment settings, but you will need to ensure 39 + that future invocations of opam are done from the same environment, or the 40 + compiler will be unavailable.""" 41 + {success & _:msvs-bin = ""} 42 + ]
+42
packages/conf-msvc64/conf-msvc64.1/opam
··· 1 + opam-version: "2.0" 2 + synopsis: "Microsoft C Compiler Environment Settings (64-bit x86_64)" 3 + description: """ 4 + This package uses msvs-tools to find additional values required for the 5 + environment in order to use the x86_64 (64-bit) Microsoft C compiler (cl). 6 + 7 + After installation, the package's variables indicate the required values: 8 + - conf-msvc64:msvs-bin, conf-msvc64:msvs-inc and conf-msvc64:msvc-lib are values 9 + to be added to PATH, INCLUDE and LIB respectively. In opam 2.2, they should be 10 + added using x-env-path-rewrite set to false, as they contain multiple 11 + directories. 12 + - conf-msvc64:package is the name of the Visual Studio package providing the 13 + compiler (e.g. Visual Studio Community 2022) 14 + - conf-msvc64:ml is the name of the assembler (usually "ml64") 15 + - conf-msvc64:script is the vcvarsall or setenv script which was queried by 16 + msvs-detect to provide this information 17 + """ 18 + maintainer: "David Allsopp <david.allsopp@metastack.com>" 19 + authors: "David Allsopp" 20 + license: "BSD-3-clause" 21 + homepage: "https://github.com/metastack/msvs-tools#readme" 22 + bug-reports: "https://github.com/metastack/msvs-tools/issues" 23 + depends: ["msvs-detect"] 24 + available: os = "win32" 25 + flags: conf 26 + build: ["bash" "%{msvs-detect:share}%\\msvs-opam" "x86_64" name "%{msvs-detect:share}%\\msvs-detect"] 27 + post-messages: [ 28 + """ 29 + A suitable Visual Studio installation could not be found for x86_64. 30 + Visual Studio can be obtained from https://visualstudio.microsoft.com""" 31 + {failure} 32 + 33 + """ 34 + The Microsoft C compiler has been located in the environment which suggests opam 35 + is running either from a Tools Command Prompt or from another wrapper which is 36 + updating the environment variables. 37 + 38 + opam has not altered these environment settings, but you will need to ensure 39 + that future invocations of opam are done from the same environment, or the 40 + compiler will be unavailable.""" 41 + {success & _:msvs-bin = ""} 42 + ]