Skip to content

Commit

Permalink
Rename the file and set CFLAGS in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ajblane committed Aug 4, 2018
1 parent 5c471bb commit 24f22b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ SSE_S := $(shell grep -o sse /proc/cpuinfo | head -n 1)
ifeq ("$(BUILD_AVX)","1")
CFLAGS += -mavx -mavx2 -DENABLE_AVX
else
ifeq ("$(BUILD_SSE)"_$(SSE_S),"1"_sse)
ifeq ("$(BUILD_FPGA_ACCEL)","1")
CFLAGS += -DENABLE_FPGA_ACCEL
else
ifeq("$(BUILD_SSE)"_$(SSE_S),"1"_sse)
CFLAGS += -msse2 -DENABLE_SSE
endif
endif
Expand All @@ -40,7 +43,7 @@ include mk/opencl.mk
endif

ifeq ("$(BUILD_FPGA_ACCEL)","1")
include mk/fpgaaccel.mk
include mk/fpga-accel.mk
endif

ifeq ("$(BUILD_JNI)","1")
Expand Down
Empty file added mk/fpga-accel.mk
Empty file.
1 change: 0 additions & 1 deletion mk/fpgaaccel.mk

This file was deleted.

0 comments on commit 24f22b0

Please sign in to comment.