forked from FFTW/fftw3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix libfftw3/libfftw3_threads chicken-egg problem
On most systems we want to build libfftw3 first, so that libfftw3_threads can depend upon libfftw3. When producing a single combined-thread library (e.g. on Windows) we want the opposite, so that libfftw3 can include libfftw3_threads.
- Loading branch information
1 parent
4bcfb67
commit 747ece1
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,10 +26,15 @@ threads.h dft-vrank-geq1.c ct.c rdft-vrank-geq1.c hc2hc.c \ | |
vrank-geq1-rdft2.c f77api.c f77funcs.h | ||
libfftw3@PREC_SUFFIX@_threads_la_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS) | ||
libfftw3@PREC_SUFFIX@_threads_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ | ||
if !COMBINED_THREADS | ||
libfftw3@PREC_SUFFIX@_threads_la_LIBADD = ../libfftw3@[email protected] | ||
endif | ||
|
||
libfftw3@PREC_SUFFIX@_omp_la_SOURCES = api.c conf.c openmp.c \ | ||
threads.h dft-vrank-geq1.c ct.c rdft-vrank-geq1.c hc2hc.c \ | ||
vrank-geq1-rdft2.c f77api.c f77funcs.h | ||
libfftw3@PREC_SUFFIX@_omp_la_CFLAGS = $(AM_CFLAGS) $(OPENMP_CFLAGS) | ||
libfftw3@PREC_SUFFIX@_omp_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ | ||
if !COMBINED_THREADS | ||
libfftw3@PREC_SUFFIX@_omp_la_LIBADD = ../libfftw3@[email protected] | ||
endif |