We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dff941e commit 87d6f4cCopy full SHA for 87d6f4c
Makefile
@@ -36,6 +36,12 @@ compile: _touch
36
$(PYTHON) setup.py build_ext --inplace
37
38
39
+compile-fast:
40
+ rm -fr $(ROOT)/gel/datatypes/datatypes.c
41
+ rm -fr $(ROOT)/gel/protocol/protocol.c
42
+ $(PYTHON) setup.py build_ext --inplace
43
+
44
45
gen-errors:
46
edb gen-errors --import "$(echo "from edgedb.errors._base import *"; echo "from edgedb.errors.tags import *")" \
47
--extra-all "_base.__all__" --stdout --client > $(ROOT)/.errors
setup.py
@@ -38,7 +38,10 @@
CYTHON_DEPENDENCY = "Cython(>=3.0.11,<3.1.0)"
-CFLAGS = ["-O2"]
+if flag := os.environ.get('EDGEDB_OPT_CFLAG'):
+ CFLAGS = [flag]
+else:
+ CFLAGS = ["-O2"]
SYSTEM = sys.platform
if SYSTEM != "win32":
0 commit comments