Adding comments.
This commit is contained in:
parent
0c2f58e40c
commit
d7b9a29dc6
|
@ -5,6 +5,7 @@ if(ltoresult)
|
||||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
|
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# usage: cmake -DSIMDJSON_DISABLE_AVX=on ..
|
||||||
option(SIMDJSON_DISABLE_AVX "Forcefully disable AVX even if hardware supports it" OFF)
|
option(SIMDJSON_DISABLE_AVX "Forcefully disable AVX even if hardware supports it" OFF)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
|
1
Makefile
1
Makefile
|
@ -13,6 +13,7 @@ architecture:=$(shell arch)
|
||||||
####
|
####
|
||||||
# If you want to specify your own target architecture,
|
# If you want to specify your own target architecture,
|
||||||
# then define ARCHFLAGS. Otherwise, we set good default.
|
# then define ARCHFLAGS. Otherwise, we set good default.
|
||||||
|
# E.g., type ' ARCHFLAGS="-march=nehalem" make parse '
|
||||||
###
|
###
|
||||||
ifeq ($(architecture),aarch64)
|
ifeq ($(architecture),aarch64)
|
||||||
ARCHFLAGS ?= -march=armv8-a+crc+crypto
|
ARCHFLAGS ?= -march=armv8-a+crc+crypto
|
||||||
|
|
Loading…
Reference in New Issue