diff options
author | davidovski <david@davidovski.xyz> | 2022-05-31 11:05:19 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-31 11:05:19 +0100 |
commit | 48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch) | |
tree | 00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/system/fftw | |
parent | 871b2b573f01c1b3176a0f65458b3d281b41c437 (diff) |
removed idea of repos
Diffstat (limited to 'repo/system/fftw')
-rw-r--r-- | repo/system/fftw/cycle.h.patch | 54 | ||||
-rw-r--r-- | repo/system/fftw/fftw.xibuild | 54 |
2 files changed, 0 insertions, 108 deletions
diff --git a/repo/system/fftw/cycle.h.patch b/repo/system/fftw/cycle.h.patch deleted file mode 100644 index 7e55d3e..0000000 --- a/repo/system/fftw/cycle.h.patch +++ /dev/null @@ -1,54 +0,0 @@ -diff --git a/kernel/cycle.h b/kernel/cycle.h -index a0e86f3..3ff4c0e 100644 ---- a/kernel/cycle.h -+++ b/kernel/cycle.h -@@ -368,22 +368,6 @@ INLINE_ELAPSED(inline) - #define HAVE_TICK_COUNTER - #endif - --/*----------------------------------------------------------------*/ --/* S390, courtesy of James Treacy */ --#if defined(__GNUC__) && defined(__s390__) && !defined(HAVE_TICK_COUNTER) --typedef unsigned long long ticks; -- --static __inline__ ticks getticks(void) --{ -- ticks cycles; -- __asm__("stck 0(%0)" : : "a" (&(cycles)) : "memory", "cc"); -- return cycles; --} -- --INLINE_ELAPSED(__inline__) -- --#define HAVE_TICK_COUNTER --#endif - /*----------------------------------------------------------------*/ - #if defined(__GNUC__) && defined(__alpha__) && !defined(HAVE_TICK_COUNTER) - /* -@@ -436,26 +420,6 @@ INLINE_ELAPSED(__inline) - - #define HAVE_TICK_COUNTER - #endif --/*----------------------------------------------------------------*/ --/* SGI/Irix */ --#if defined(HAVE_CLOCK_GETTIME) && defined(CLOCK_SGI_CYCLE) && !defined(HAVE_TICK_COUNTER) && !defined(__ANDROID__) --typedef struct timespec ticks; -- --static inline ticks getticks(void) --{ -- struct timespec t; -- clock_gettime(CLOCK_SGI_CYCLE, &t); -- return t; --} -- --static inline double elapsed(ticks t1, ticks t0) --{ -- return ((double)t1.tv_sec - (double)t0.tv_sec) * 1.0E9 + -- ((double)t1.tv_nsec - (double)t0.tv_nsec); --} --#define HAVE_TICK_COUNTER --#endif -- - /*----------------------------------------------------------------*/ - /* Cray UNICOS _rtc() intrinsic function */ - #if defined(HAVE__RTC) && !defined(HAVE_TICK_COUNTER) diff --git a/repo/system/fftw/fftw.xibuild b/repo/system/fftw/fftw.xibuild deleted file mode 100644 index 41dd124..0000000 --- a/repo/system/fftw/fftw.xibuild +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh - -NAME="fftw" -DESC="Discrete Fourier transform (DFT) library" - -MAKEDEPS="make tar" -DEPS="musl " - -PKG_VER=3.3.10 -SOURCE="http://www.fftw.org/fftw-$PKG_VER.tar.gz" -ADDITIONAL="cycle.h.patch " - -precisions="single double long-double" - -prepare () { - for i in $precisions; do - mkdir $i - tar -xf fftw-$PKG_VER.tar.gz -C $i - done -} - -build () { - local i; for i in $precisions; do - case "$i" in - single) cf="--enable-single";; - double) cf="";; - long-double) cf="--enable-long-double";; - esac - - case "$i" in - single | double) - cf="$cf --enable-sse2 --enable-avx";; - esac - - printf "Building for $i precision ($cf)" - cd $BUILD_ROOT/$i/fftw-$PKG_VER - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-shared \ - --enable-threads \ - $cf - make - done -} - -package () { - for i in $precisions; do - cd $BUILD_ROOT/$i/fftw-$PKG_VER - make DESTDIR=$PKG_DEST install - done -} |