#10328: Flint-1.5.2 with ARM 32-bits
---------------------------------+------------------------------------------
Reporter: Snark | Owner: GeorgSWeber
Type: enhancement | Status: needs_review
Priority: major | Milestone:
Component: build | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Dmitrii Pasechnik | Author: Julien Puydt
Merged: | Dependencies:
---------------------------------+------------------------------------------
Description changed by jdemeyer:
Old description:
> Here is a patch for flint-1.5.2, which only modifies what gets built on
> ARM 32-bits.
>
> I can confirm that with that change, flint-1.5.2 builds -- and all tests
> end up ok.
>
> The issue has been discussed upstream ; they're ok with a sage-only
> patch, since they're focusing on flint2.
>
> I built my own spkg by :
>
> * taking the current flint spkg ;
>
> * putting the 1.5.2 version of flint in src/ instead of the current 1.5.0
> ;
>
> * copying src/longlong.h to patches/
>
> * copying the attached patch to patches/
>
> * applying it to the patches/longlong.h
>
> In spkg-install, I also added two lines :
>
> # Patched longlong.h doesn't produce invalid assembly on 32-bit ARM
>
> cp patches/longlong.h src/
>
> Then I packed it into flint-1.5.2.p1.spkg, and put it in
> ~/sage/spkg/standard/ ; removing the current flint spkg.
New description:
Here is a patch for flint-1.5.2, which only modifies what gets built on
ARM 32-bits.
I can confirm that with that change, flint-1.5.2 builds -- and all tests
end up ok.
The issue has been discussed upstream ; they're ok with a sage-only patch,
since they're focusing on flint2.
I built my own spkg by :
* taking the current flint spkg ;
* putting the 1.5.2 version of flint in src/ instead of the current 1.5.0
;
* copying src/longlong.h to patches/
* copying the attached patch to patches/
* applying it to the patches/longlong.h
In spkg-install, I also added two lines :
# Patched longlong.h doesn't produce invalid assembly on 32-bit ARM
cp patches/longlong.h src/
Then I packed it into flint-1.5.2.p1.spkg, and put it in
~/sage/spkg/standard/ ; removing the current flint spkg.
'''spkg''':
[http://boxen.math.washington.edu/home/dima/packages/flint-1.5.2.spkg]
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10328#comment:18>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.