ports/math/fastops/files/patch-CMakeLists.txt
Alexey Dokuchaev 3b8065a2ad math/fastops: new port had been added (+)
This small library enables acceleration of bulk calls of certain math
functions on AVX and AVX2 hardware.  Currently supported operations are
exp, log, sigmoid, and tanh.  The library is designed with extensibility
in mind.

Restrict the port to amd64 as it's inherently useless anywhere else and
does not even build at least on i386.

WWW: https://github.com/yandex/fastops
2021-10-29 10:49:55 +00:00

13 lines
456 B
Text

--- CMakeLists.txt.orig 2020-05-06 07:23:43 UTC
+++ CMakeLists.txt
@@ -3,9 +3,8 @@ cmake_minimum_required(VERSION 2.6)
project(fastops)
include_directories("${PROJECT_SOURCE_DIR}")
-set(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_SOURCE_DIR}/install)
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -O3")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
# Specify the C++ 17 language standard for
# any version of Microsoft Visual C++ Compiler