Skip to content

Commit 43cc4f0

Browse files
committed
Merge branch 'graph-ir' into tidy-ir
# Conflicts: # compiler/shared/test/diff-ir/IR.mls
2 parents 1684793 + 92457ca commit 43cc4f0

File tree

3 files changed

+132
-2
lines changed

3 files changed

+132
-2
lines changed

compiler/shared/test/diff-ir/cpp/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CXX := clang++
2-
CFLAGS := $(CFLAGS) -O3 -Wall -Wextra -std=c++20 -I. -I/opt/homebrew/include -Wno-inconsistent-missing-override
3-
LDFLAGS := $(LDFLAGS) -L/opt/homebrew/lib -lmimalloc -lgmp
2+
CFLAGS := $(CFLAGS) -O3 -Wall -Wextra -std=c++20 -I. -Wno-inconsistent-missing-override
3+
LDFLAGS := $(LDFLAGS) -lmimalloc -lgmp
44
SRC :=
55
INCLUDES = mlsprelude.h
66
DST :=

flake.lock

Lines changed: 97 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
description = "mlscript";
3+
4+
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
5+
inputs.flake-utils.url = "github:numtide/flake-utils";
6+
inputs.sbt-deriv.url = "github:zaninime/sbt-derivation";
7+
inputs.sbt-deriv.inputs.nixpkgs.follows = "nixpkgs";
8+
9+
outputs = { self, nixpkgs, flake-utils, sbt-deriv }:
10+
flake-utils.lib.eachDefaultSystem
11+
(system:
12+
let
13+
sbtOverlay = self: super: {
14+
sbt = super.sbt.override { jre = super.jdk17; };
15+
};
16+
pkgs = import nixpkgs {
17+
inherit system;
18+
overlays = [ sbtOverlay ];
19+
};
20+
in with pkgs; {
21+
devShells.default = mkShell {
22+
buildInputs = [
23+
clang
24+
gnumake
25+
boost
26+
gmp
27+
mimalloc
28+
sbt
29+
nodejs
30+
];
31+
};
32+
});
33+
}

0 commit comments

Comments
 (0)