cpmech / gosl

Linear algebra, eigenvalues, FFT, Bessel, elliptic, orthogonal polys, geometry, NURBS, numerical quadrature, 3D transfinite interpolation, random numbers, Mersenne twister, probability distributions, optimisation, differential equations.
BSD 3-Clause "New" or "Revised" License
1.83k stars 145 forks source link

Allow building gosl on aarch64 #31

Closed siddhesh closed 4 years ago

siddhesh commented 5 years ago

These patches auto-generate some code to allow their cgo flags to adapt to different architectures, including aarch64. This does not complete aarch64 support, since a few tests fail due to precision issues that I am currently fixing up, but the build itself (without the go test) completes successfully with these patches.

siddhesh commented 5 years ago

BTW I'm curious to know if there's interest in updating the build system to use makefiles throughout instead of the shell scripts. I'd be happy to do that work.

cpmech commented 4 years ago

BTW I'm curious to know if there's interest in updating the build system to use makefiles throughout instead of the shell scripts. I'd be happy to do that work.

Hello (sorry for the delay).

The answer is probably no because Go "doesn't like makefiles". The idea of my shell scripts is to have them to be minimal as possible and just call Go whenever necessary.

Thanks for asking.

cpmech commented 4 years ago

Thanks for this!