Skip to content

Commit

Permalink
Merge branch 'graph-ir' into tidy-ir
Browse files Browse the repository at this point in the history
# Conflicts:
#	compiler/shared/test/diff-ir/IR.mls
  • Loading branch information
waterlens committed Aug 3, 2024
2 parents 1684793 + 92457ca commit 43cc4f0
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/shared/test/diff-ir/cpp/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CXX := clang++
CFLAGS := $(CFLAGS) -O3 -Wall -Wextra -std=c++20 -I. -I/opt/homebrew/include -Wno-inconsistent-missing-override
LDFLAGS := $(LDFLAGS) -L/opt/homebrew/lib -lmimalloc -lgmp
CFLAGS := $(CFLAGS) -O3 -Wall -Wextra -std=c++20 -I. -Wno-inconsistent-missing-override
LDFLAGS := $(LDFLAGS) -lmimalloc -lgmp
SRC :=
INCLUDES = mlsprelude.h
DST :=
Expand Down
97 changes: 97 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 33 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
description = "mlscript";

inputs.nixpkgs.url = "github:NixOS/nixpkgs";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.sbt-deriv.url = "github:zaninime/sbt-derivation";
inputs.sbt-deriv.inputs.nixpkgs.follows = "nixpkgs";

outputs = { self, nixpkgs, flake-utils, sbt-deriv }:
flake-utils.lib.eachDefaultSystem
(system:
let
sbtOverlay = self: super: {
sbt = super.sbt.override { jre = super.jdk17; };
};
pkgs = import nixpkgs {
inherit system;
overlays = [ sbtOverlay ];
};
in with pkgs; {
devShells.default = mkShell {
buildInputs = [
clang
gnumake
boost
gmp
mimalloc
sbt
nodejs
];
};
});
}

0 comments on commit 43cc4f0

Please sign in to comment.