Monads/Promises have been our go to tools for expressing concurrency.
However, they seem to divide up our language.
class Libgccjit < Formula | |
# This is a spin-off of the GCC formula and they should remain as close as possible. | |
desc "JIT library for the GNU compiler collection" | |
homepage "https://gcc.gnu.org/" | |
if Hardware::CPU.arch == :arm64 | |
# Branch from the Darwin maintainer of GCC with Apple Silicon support, | |
# located at https://github.com/iains/gcc-darwin-arm64 and | |
# backported with his help to gcc-10 branch. Too big for a patch. | |
url "https://github.com/DiningPhilosophersCo/gcc/archive/gcc-10-arm-20210429.tar.gz" | |
sha256 "e22d39545e3ab50eb9cb14b4624fa08eb450f47c73e9e2d245ff96c1e99dca5c" |
{ | |
"dependencies": { | |
"ocaml": "4.6.x", | |
"@opam/ocaml-lsp-server": "ocaml/ocaml-lsp:ocaml-lsp-server.opam" | |
}, | |
"resolutions": { | |
"@opam/dune": { | |
"source": "https://github.com/ocaml/dune/releases/download/2.5.1/dune-2.5.1.tbz#6c09f4d53e9169498ab017597c4343ceb00f6ead", | |
"override": { | |
"buildsInSource": true, |
#! /bin/bash | |
# If org name is reasonml then REST_BASE will be: https://dev.azure.com/reasonml/ | |
REST_BASE="https://dev.azure.com/esy-ocaml/" | |
PROJ="esy-ocaml" | |
BUILD_STAGINGDIRECTORY="$PWD" | |
AGENT_OS="WINDOWS_NT" | |
SYSTEM_PULLREQUEST_TARGETBRANCH="master" | |
ESY__CI_CACHE_VERSION=v1 | |
# REST_BASE="${SYSTEM_TEAMFOUNDATIONCOLLECTIONURI}" |
(defun load-esy-env () | |
"Loads esy env" | |
(let* ((env-json-str (shell-command-to-string "esy command-env --json")) | |
(json-key-type 'string) | |
(env-pairs (json-read-from-string env-json-str))) | |
(progn | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
(make-local-variable 'process-environment) |
(defun load-esy-env () | |
"Loads esy env" | |
(let* ((env-json-str (shell-command-to-string "esy command-env --json")) | |
(json-key-type 'string) | |
(env-pairs (json-read-from-string env-json-str))) | |
(progn | |
$ opam switch create 4.08.0+msvc64c -y --debug | |
00:00.008 GSTATE LOAD-GLOBAL-STATE @ C:\OCaml64\home\manas\.opam | |
00:00.010 RSTATE LOAD-REPOSITORY-STATE @ C:\OCaml64\home\manas\.opam | |
00:00.075 RSTATE Loaded C:\OCaml64\home\manas\.opam\repo\state.cache in 0.065s | |
00:00.109 RSTATE Cache found | |
00:00.125 SWACT create_empty_switch at 4.08.0+msvc64c | |
00:00.125 SYSTEM mkdir C:\OCaml64\home\manas\.opam\4.08.0+msvc64c | |
00:00.129 SYSTEM mkdir C:\OCaml64\home\manas\.opam\4.08.0+msvc64c\lib | |
00:00.129 SYSTEM mkdir C:\OCaml64\home\manas\.opam\4.08.0+msvc64c\lib\stublibs | |
00:00.129 SYSTEM mkdir C:\OCaml64\home\manas\.opam\4.08.0+msvc64c\lib\toplevel |
let libpaths_str = Sys.getenv "libpath" in | |
let libpaths = Str.split (Str.regexp ";") libpaths_str in | |
let libpaths = libpaths @ [ | |
"C:/Program Files (x86)/Windows Kits/10/Lib/10.0.17134.0/um/x64"; | |
"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/lib/x64"; | |
"C:/Program Files (x86)/Windows Kits/10/Lib/10.0.17134.0/ucrt/x64"; | |
"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.15.26726/lib/onecore/x64" | |
] in | |
let resolved_paths = List.map (fun base -> let as_is = Filename.concat base fn in | |
let with_lib = Filename.concat base (fn ^ ".lib") in |
``` | |
http fetch GET 404 https://registry.npmjs.org/@opam%2fbos 1439ms | |
40 silly fetchPackageMetaData error for @opam/bos@^0.2.0 404 Not Found: @opam/bos@^0.2.0 | |
41 http fetch GET 404 https://registry.npmjs.org/@opam%2flogs 1631ms | |
42 silly fetchPackageMetaData error for @opam/logs@^0.6.2 404 Not Found: @opam/logs@^0.6.2 | |
43 http fetch GET 404 https://registry.npmjs.org/@opam%2ffmt 1915ms | |
44 silly fetchPackageMetaData error for @opam/fmt@^0.8.4 404 Not Found: @opam/fmt@^0.8.4 | |
45 http fetch GET 404 https://registry.npmjs.org/@opam%2fppx_expect 1927ms | |
46 silly fetchPackageMetaData error for @opam/ppx_expect@v0.11.0 404 Not Found: @opam/ppx_expect@v0.11.0 |