quil-lang / quilc

The optimizing Quil compiler.
Apache License 2.0
452 stars 73 forks source link

A couple of libquilc fixes #851

Closed kartik-s closed 1 year ago

kartik-s commented 1 year ago

This PR does two things:

notmgsk commented 1 year ago

@kartik-s I also need this diff

diff --git a/lib/Makefile b/lib/Makefile
index 85826ee..a14c2ab 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -3,7 +3,7 @@
 all: libquilc.dylib

 libquilc.core libquilc.c libquilc.h libquilc.py: src/libquilc.lisp
-       sbcl --load "$<"
+       sbcl --dynamic-space-size 4096 --load "src/build-image.lisp"

 libquilc.dylib: libquilc.core libquilc.c
        gcc -dynamiclib -o $@ libquilc.c -lsbcl