Skip to content

Commit

Permalink
Rename "local" CFLAGS to COMP_FLAGS. Addresses issue Chia-Network#267.
Browse files Browse the repository at this point in the history
  • Loading branch information
AmineKhaldi committed Aug 16, 2021
1 parent 2fa323f commit 89a9ec8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -88,7 +88,7 @@ set(STBIN "OFF" CACHE STRING "")
set(FP_METHD "INTEG;INTEG;INTEG;MONTY;LOWER;SLIDE" CACHE STRING "")

if(NOT MSVC)
set(CFLAGS "-O3 -funroll-loops -fomit-frame-pointer" CACHE STRING "")
set(COMP_FLAGS "-O3 -funroll-loops -fomit-frame-pointer" CACHE STRING "")
endif()

set(FP_PMERS "off" CACHE STRING "")
Expand Down
5 changes: 3 additions & 2 deletions src/CMakeLists.txt
Expand Up @@ -4,14 +4,15 @@ set (CMAKE_CXX_STANDARD 17)
if (DEFINED ENV{RELIC_MAIN})
set(RELIC_GIT_TAG "origin/main")
else ()
set(RELIC_GIT_TAG "b7b2266a0e4ee6f628f61d3ab638f524a18b52f1")
# This is currently anchored to upstream b7b2266a0e4ee6f628f61d3ab638f524a18b52f1
set(RELIC_GIT_TAG "d20d97c046da2c1689916569e9895b48a4693624")
endif ()

message(STATUS "Relic will be built from: ${RELIC_GIT_TAG}")

FetchContent_Declare(
relic
GIT_REPOSITORY https://github.com/relic-toolkit/relic.git
GIT_REPOSITORY https://github.com/AmineKhaldi/relic.git
GIT_TAG ${RELIC_GIT_TAG}
)
FetchContent_MakeAvailable(relic)
Expand Down

0 comments on commit 89a9ec8

Please sign in to comment.