From f11a798d3e9f9b4bfc16d31215bd5730606179bd Mon Sep 17 00:00:00 2001 From: Roland Schulz Date: Thu, 31 Jan 2019 09:00:24 -0800 Subject: [PATCH] Fix clfft build Change-Id: I9df2470aa02644aa4058ccce986b543374f10664 --- src/external/clFFT/README.Gromacs | 3 +++ src/external/clFFT/src/library/fft_binary_lookup.cpp | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/external/clFFT/README.Gromacs b/src/external/clFFT/README.Gromacs index 7388b9422a..f15657b980 100644 --- a/src/external/clFFT/README.Gromacs +++ b/src/external/clFFT/README.Gromacs @@ -27,3 +27,6 @@ The version of this file from the git repo has been omitted. The file src/include/clFFT.version.h is copied from src/include/clFFT.version.h.in, substituting the version number placeholders with version 2.14.0 (as in the original build script), and defining a static build option. + +To compile everything as C++ the src/library/md5sum.c is renamed to cpp and +the extern "C" is removed from src/library/fft_binary_lookup.cpp. diff --git a/src/external/clFFT/src/library/fft_binary_lookup.cpp b/src/external/clFFT/src/library/fft_binary_lookup.cpp index ff386e2837..28b4d3e280 100644 --- a/src/external/clFFT/src/library/fft_binary_lookup.cpp +++ b/src/external/clFFT/src/library/fft_binary_lookup.cpp @@ -38,10 +38,7 @@ #include #endif -extern "C" -{ #include "md5sum.h" -} // size for clGetDeviceInfo queries #define SIZE 256 -- 2.22.0