File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,12 @@ compile: _touch
36
36
$(PYTHON ) setup.py build_ext --inplace
37
37
38
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
+
39
45
gen-errors :
40
46
edb gen-errors --import " $( echo " from edgedb.errors._base import *" ; echo " from edgedb.errors.tags import *" ) " \
41
47
--extra-all " _base.__all__" --stdout --client > $(ROOT ) /.errors
Original file line number Diff line number Diff line change 38
38
39
39
CYTHON_DEPENDENCY = "Cython(>=3.0.11,<3.1.0)"
40
40
41
- CFLAGS = ["-O2" ]
41
+ if flag := os .environ .get ('EDGEDB_OPT_CFLAG' ):
42
+ CFLAGS = [flag ]
43
+ else :
44
+ CFLAGS = ["-O2" ]
42
45
SYSTEM = sys .platform
43
46
44
47
if SYSTEM != "win32" :
You can’t perform that action at this time.
0 commit comments