swfft: Add patch to make it build (#17196)

This commit is contained in:
Mosè Giordano 2020-06-23 09:17:32 +01:00 committed by GitHub
parent 6fdf5913ab
commit 561f6d6c21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/TimingStats.h
+++ b/TimingStats.h
@@ -56,7 +56,7 @@
#define HACC_TIMINGSTATS_H
#include <math.h>
-
+#include <stdio.h>
#include <mpi.h>
// lightweight timing statistics from MPI_Wtime() calls

View File

@ -21,6 +21,10 @@ class Swfft(MakefilePackage):
depends_on('mpi')
depends_on('fftw')
# fix error
# TimingStats.h:94:35: error: 'printf' was not declared in this scope
patch('include-stdio_h.patch')
tags = ['proxy-app', 'ecp-proxy-app']
@property