singular: disable vspace on aarch64

authored by

Mauricio Collares and committed by
Masanori Ogino
090165d7 cd7cf594

+18
+3
pkgs/applications/science/math/singular/default.nix
··· 52 # add aarch64 support to cpu-check.m4. copied from redhat. 53 ./redhat-aarch64.patch 54 55 # the newest version of ax-prog-cc-for-build.m4 seems to trigger 56 # linker errors. see 57 # https://github.com/alsa-project/alsa-firmware/issues/3 for a
··· 52 # add aarch64 support to cpu-check.m4. copied from redhat. 53 ./redhat-aarch64.patch 54 55 + # vspace causes hangs in modstd and other libraries on aarch64 56 + ./disable-vspace-on-aarch64.patch 57 + 58 # the newest version of ax-prog-cc-for-build.m4 seems to trigger 59 # linker errors. see 60 # https://github.com/alsa-project/alsa-firmware/issues/3 for a
+15
pkgs/applications/science/math/singular/disable-vspace-on-aarch64.patch
···
··· 1 + diff --git a/kernel/mod2.h b/kernel/mod2.h 2 + index 867fcae47..2abd84f23 100644 3 + --- a/kernel/mod2.h 4 + +++ b/kernel/mod2.h 5 + @@ -60,8 +60,10 @@ 6 + 7 + /* define for parallel processes with shared memory */ 8 + #ifndef __CCYGWIN__ 9 + +#ifndef SI_CPU_AARCH64 10 + #define HAVE_VSPACE 1 11 + #endif 12 + +#endif 13 + 14 + /*#define PROFILING*/ 15 + #ifdef PROFILING