File tree 2 files changed +4
-9
lines changed
2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ builds:
30
30
- CC=o64-clang
31
31
- CXX=o64-clang++
32
32
- CGO_LDFLAGS={{ .Env.CGO_LDFLAGS_DEFAULT_DARWIN }}
33
- - CGO_CFLAGS={{ .Env.CGO_CFLAGS_DEFAULT }}
33
+ - CGO_CFLAGS={{ .Env.CGO_CFLAGS_DEFAULT }} -D__BLST_PORTABLE__
34
34
tags : [ nosqlite, noboltdb, nosilkworm]
35
35
flags :
36
36
- -trimpath
@@ -416,7 +416,7 @@ builds:
416
416
env :
417
417
- CC=x86_64-linux-gnu-gcc
418
418
- CXX=x86_64-linux-gnu-g++
419
- - CGO_CFLAGS={{ .Env.CGO_CFLAGS_DEFAULT }}
419
+ - CGO_CFLAGS={{ .Env.CGO_CFLAGS_DEFAULT }} -D__BLST_PORTABLE__
420
420
- CGO_LDFLAGS={{ .Env.CGO_LDFLAGS_DEFAULT }}
421
421
tags : [ nosqlite, noboltdb, nosilkworm ]
422
422
flags :
Original file line number Diff line number Diff line change @@ -26,13 +26,8 @@ CGO_CFLAGS += -DMDBX_DISABLE_VALIDATION=0 # Can disable it on CI by separated PR
26
26
# CGO_CFLAGS += -DMDBX_ENABLE_PGOP_STAT=0 # Disabled by default, but may be useful for performance debugging
27
27
CGO_CFLAGS += -DMDBX_ENV_CHECKPID=0 # Erigon doesn't do fork() syscall
28
28
29
- # If it is arm64 or aarch64, then we need to use portable version of blst. use or with stringw "arm64" and "aarch64" to support both
30
- ifeq ($(shell uname -m) , arm64)
31
- CGO_CFLAGS += -D__BLST_PORTABLE__
32
- endif
33
- ifeq ($(shell uname -m) , aarch64)
34
- CGO_CFLAGS += -D__BLST_PORTABLE__
35
- endif
29
+
30
+ CGO_CFLAGS += -D__BLST_PORTABLE__
36
31
37
32
# Configure GOAMD64 env.variable for AMD64 architecture:
38
33
ifeq ($(shell uname -m) ,x86_64)
You can’t perform that action at this time.
0 commit comments