Package: dsfmt / 2.2.3+dfsg-6
Metadata
Package | Version | Patches format |
---|---|---|
dsfmt | 2.2.3+dfsg-6 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
autotools.patch | (download) |
Makefile.am |
103 103 + 0 - 0 ! |
use autotools to build shared library This patch uses autoconf, automake, and libtool to build shared and static libraries that enable the use of dSFMT by other packages. All optimization flags of the upstream makefile are preserved, but each flag is queried for compatibility with the compiler. Options are provided for disabling the optimization flags, and for enabling SSE2 or AltiVec support. Separate libraries are built for each of the Mersenne exponents. The install target creates convenience symbolic links to the development libraries for the primarily used Mersenne exponent 19937. |
array size.patch | (download) |
dSFMT.c |
32 16 + 16 - 0 ! |
use ptrdiff_t for array size |
extern inline functions.patch | (download) |
dSFMT.h |
71 37 + 34 - 0 ! |
export inline functions when building library This patch adds a preprocessor flag DSFMT_BUILDING_LIB that when specified causes the compiler to emit symbols for inline functions, which is achieved using C99 extern inline function declarations. This allows invoking these functions in programs that dynamically load the library for use with a foreign function interface (FFI). |
require sse2 on i386.patch | (download) |
dSFMT.c |
24 24 + 0 - 0 ! |
check whether x86 cpu supports sse2 This patch adds a run-time check for the SSE2 extension by querying the CPU features using the x86 CPUID opcode. The wrapper function __get_cpuid() is provided by GCC and Clang. See <cpuid.h> for the list of supported CPU extension flags. |
require altivec on power.patch | (download) |
dSFMT.c |
25 21 + 4 - 0 ! |
check whether power cpu supports altivec This patch adds a run-time check for the Altivec extension by querying the CPU features using getauxval(AT_HWCAP), which is available since glibc 2.16. |