On Thu, Jun 24, 2021 at 9:13 AM Kazuyoshi Furutaka
<[email protected]> wrote:
>
> Yes, with this patch in build/pkgs/pynac/patches/, I finally succeeded in 
> building 9.4.beta3 from git source using clang!
>
> Thanks, Dima-san!
It's a pleasure.
>
> The Maxima issue is not yet solved, though...
You are talking about using gcc to build Sage, right?

At least for me, ecl  uses clang if it was built with clang.

>
> 2021年6月23日水曜日 19:06:52 UTC+9 [email protected]:
>>
>> On Wed, Jun 23, 2021 at 10:49 AM Kazuyoshi Furutaka
>> <[email protected]> wrote:
>> >
>> >
>> >
>> > 2021年6月23日水曜日 17:37:42 UTC+9 [email protected]:
>> >>
>> >> On Tue, Jun 22, 2021 at 11:57 PM Volker Braun <[email protected]> wrote:
>> >> >
>> >> > I'm running Fedora 34 and 9.4.beta3 builds fine (x86_64). It did 
>> >> > compile the included gcc.
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > On Tuesday, June 22, 2021 at 11:50:00 PM UTC+2 [email protected] wrote:
>> >> >>
>> >> >>
>> >> >>
>> >> >> On Tue, 22 Jun 2021, 22:16 Kazuyoshi Furutaka, 
>> >> >> <[email protected]> wrote:
>> >> >>>
>> >> >>> On the other hand, build of gcc-10.3 failed. Then, what to do?
>> >> >>
>> >> >>
>> >> >> use another compiler.
>> >> >> e.g. you can use clang
>> >> >>
>> >> >> dnf install clang
>> >> >>
>> >> >> then run Sages configure as follows
>> >> >>
>> >> >> CC=clang CXX=clang++ ./configure
>> >> >>
>> >> >> and then
>> >> >>
>> >> >> make
>> >> >>
>> >> >>
>> >> >> This configuration is not tested much on Linux, but on macOS this is 
>> >> >> the compiler used in our builds.
>> >>
>> >> such a configuration is able to build Sage on Fedora 32, and only one
>> >> doctest fails.
>> >> It uses clang 10.0.1.
>> >>
>> >
>> > I did the same on Fedora 34 (x86_64).
>> > It did not finish because there were too many errors in building 
>> > pynac-0.7.27.p8...
>> you most probably need https://github.com/pynac/pynac/pull/375
>>
>> diff --git a/ginac/numeric.h b/ginac/numeric.h
>> index d620660..50b2b3d 100644
>> --- a/ginac/numeric.h
>> +++ b/ginac/numeric.h
>> @@ -51,6 +51,7 @@
>> #include "ex.h"
>>
>> #include <gmp.h>
>> +#include <limits>
>> #include <stdexcept>
>> #include <vector>
>> #include <iostream>
>>
>> which should be in Sage soon.
>>
>>
>> > (log attached)
>> >
>> > Kazuyoshi
>> >
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "sage-devel" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an 
>> > email to [email protected].
>> > To view this discussion on the web visit 
>> > https://groups.google.com/d/msgid/sage-devel/694bbf80-46d6-4603-bebb-7f9a50fbb88fn%40googlegroups.com.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/86d550e0-8a74-4190-927d-1a7f3f4b8c71n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq3tJ-PftNn%2BLwEcbnXgBAguKRr2q7pC7Npirw4fKSbKVw%40mail.gmail.com.

Reply via email to