Re: [sage-devel] Adding a C or C++ Code to The SageMath

2022-07-09 Thread Vincent Delecroix
Autotools is convenient but definitely not mandatory. cmake does a similar job. Some projects (eg flint, PARI/GP) have a home made build system that works fine. What is required is: * a configuration step that let us specify the build directory, install directory, compilers, static versus dynamic

Re: [sage-devel] Adding a C or C++ Code to The SageMath

2022-07-09 Thread friedri...@gmail.com
Hi all, I just stumbled across this thread :) and am curious, what the best way would be to add ESPRESSO to sage. Judging the package type for ESPRESSO from the sage packaging doc referenced by Matthias, I'd say its definitly not a pip package ;) however I'm not sure I understand the difference

Re: [sage-devel] Adding a C or C++ Code to The SageMath

2020-06-13 Thread Matthias Koeppe
https://doc.sagemath.org/html/en/developer/packaging.html On Saturday, June 13, 2020 at 11:17:51 AM UTC-7 hsn.ha...@gmail.com wrote: > Hello all! > > I would be most grateful if someone let me know how I should start. It > would be fine if you introduced to me, a simple example which has been >

Re: [sage-devel] Adding a C or C++ Code to The SageMath

2020-06-13 Thread Hosein Hadipour
Hello all! I would be most grateful if someone let me know how I should start. It would be fine if you introduced to me, a simple example which has been already implented in Sage, so thst I could review it. Thanks for your time. Cheers, Hosein -- You received this message because you are sub

Re: [sage-devel] Adding a C or C++ Code to The SageMath

2020-06-07 Thread Hosein Hadipour
Thanks for your reply. What I actually want to do, is implementing the body of the following function inside the [SymbolicLogic]( https://github.com/sagemath/sage/blob/develop/src/sage/logic/logic.py) class : def simplify(self, table): """ Call a C++ implementation of the ESPR

Re: [sage-devel] Adding a C or C++ Code to The SageMath

2020-06-05 Thread Dima Pasechnik
On Fri, Jun 5, 2020 at 7:17 PM Hosein Hadipour wrote: > > Dear all, > > I am going to add an open source tool implemented by C, and C++ languages to > one of the SageMath modules. In order to linking it to the Sage, I am going > to use Cython. However, I don't know in which sage directory should

[sage-devel] Adding a C or C++ Code to The SageMath

2020-06-05 Thread Hosein Hadipour
Dear all, I am going to add an open source tool implemented by C, and C++ languages to one of the SageMath modules. In order to linking it to the Sage, I am going to use Cython. However, I don't know in which sage directory should I place the C or C++ source codes., if I want to add it to the S