Adding comments.

This commit is contained in:
Daniel Lemire 2019-07-04 19:10:05 -04:00
parent 0c2f58e40c
commit d7b9a29dc6
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@ if(ltoresult)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
endif()
# usage: cmake -DSIMDJSON_DISABLE_AVX=on ..
option(SIMDJSON_DISABLE_AVX "Forcefully disable AVX even if hardware supports it" OFF)
set(CMAKE_CXX_STANDARD 17)

View File

@ -13,6 +13,7 @@ architecture:=$(shell arch)
####
# If you want to specify your own target architecture,
# then define ARCHFLAGS. Otherwise, we set good default.
# E.g., type ' ARCHFLAGS="-march=nehalem" make parse '
###
ifeq ($(architecture),aarch64)
ARCHFLAGS ?= -march=armv8-a+crc+crypto