Skip to content

Commit

Permalink
sagemathgh-38669: Remove giac integration from GiNaC
Browse files Browse the repository at this point in the history
Phase one of sagemath#38668

AFAICS it's not doing anything anyway.

URL: sagemath#38669
Reported by: Michael Orlitzky
Reviewer(s):
  • Loading branch information
Release Manager committed Sep 19, 2024
2 parents 8f77cc4 + 1025ed7 commit 3728907
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 619 deletions.
4 changes: 2 additions & 2 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tarball=configure-VERSION.tar.gz
sha1=d2f8c0bc6c40a0e3e8f7cb0deebee5e7bc7da501
sha256=cde422cec1dc104f4f4b1369167a17cc77519186180bfc14322d078881581c50
sha1=340a651757a7ddca66bb75748de129b53ed78b60
sha256=95ce520780fe2a19a3cb7b2e4c10028f766545ddd672b9f0226c889a994d97b6
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
27fce1faa78ef19b8c43287016f0acbdf0fa169a
796a63b643b81da540aec10df2e22395561047f1
2 changes: 1 addition & 1 deletion src/sage/symbolic/expression.pyx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# distutils: sources = sage/symbolic/ginac/add.cpp sage/symbolic/ginac/archive.cpp sage/symbolic/ginac/assume.cpp sage/symbolic/ginac/basic.cpp sage/symbolic/ginac/cmatcher.cpp sage/symbolic/ginac/constant.cpp sage/symbolic/ginac/context.cpp sage/symbolic/ginac/ex.cpp sage/symbolic/ginac/expair.cpp sage/symbolic/ginac/expairseq.cpp sage/symbolic/ginac/exprseq.cpp sage/symbolic/ginac/fderivative.cpp sage/symbolic/ginac/function.cpp sage/symbolic/ginac/function_info.cpp sage/symbolic/ginac/infinity.cpp sage/symbolic/ginac/infoflagbase.cpp sage/symbolic/ginac/inifcns.cpp sage/symbolic/ginac/inifcns_comb.cpp sage/symbolic/ginac/inifcns_gamma.cpp sage/symbolic/ginac/inifcns_hyperb.cpp sage/symbolic/ginac/inifcns_hyperg.cpp sage/symbolic/ginac/inifcns_nstdsums.cpp sage/symbolic/ginac/inifcns_orthopoly.cpp sage/symbolic/ginac/inifcns_trans.cpp sage/symbolic/ginac/inifcns_trig.cpp sage/symbolic/ginac/inifcns_zeta.cpp sage/symbolic/ginac/lst.cpp sage/symbolic/ginac/matrix.cpp sage/symbolic/ginac/mpoly-giac.cpp sage/symbolic/ginac/mpoly-ginac.cpp sage/symbolic/ginac/mpoly-singular.cpp sage/symbolic/ginac/mpoly.cpp sage/symbolic/ginac/mul.cpp sage/symbolic/ginac/normal.cpp sage/symbolic/ginac/numeric.cpp sage/symbolic/ginac/operators.cpp sage/symbolic/ginac/order.cpp sage/symbolic/ginac/power.cpp sage/symbolic/ginac/print.cpp sage/symbolic/ginac/pseries.cpp sage/symbolic/ginac/py_funcs.cpp sage/symbolic/ginac/registrar.cpp sage/symbolic/ginac/relational.cpp sage/symbolic/ginac/remember.cpp sage/symbolic/ginac/sum.cpp sage/symbolic/ginac/symbol.cpp sage/symbolic/ginac/templates.cpp sage/symbolic/ginac/upoly-ginac.cpp sage/symbolic/ginac/useries.cpp sage/symbolic/ginac/utils.cpp sage/symbolic/ginac/wildcard.cpp
# distutils: sources = sage/symbolic/ginac/add.cpp sage/symbolic/ginac/archive.cpp sage/symbolic/ginac/assume.cpp sage/symbolic/ginac/basic.cpp sage/symbolic/ginac/cmatcher.cpp sage/symbolic/ginac/constant.cpp sage/symbolic/ginac/context.cpp sage/symbolic/ginac/ex.cpp sage/symbolic/ginac/expair.cpp sage/symbolic/ginac/expairseq.cpp sage/symbolic/ginac/exprseq.cpp sage/symbolic/ginac/fderivative.cpp sage/symbolic/ginac/function.cpp sage/symbolic/ginac/function_info.cpp sage/symbolic/ginac/infinity.cpp sage/symbolic/ginac/infoflagbase.cpp sage/symbolic/ginac/inifcns.cpp sage/symbolic/ginac/inifcns_comb.cpp sage/symbolic/ginac/inifcns_gamma.cpp sage/symbolic/ginac/inifcns_hyperb.cpp sage/symbolic/ginac/inifcns_hyperg.cpp sage/symbolic/ginac/inifcns_nstdsums.cpp sage/symbolic/ginac/inifcns_orthopoly.cpp sage/symbolic/ginac/inifcns_trans.cpp sage/symbolic/ginac/inifcns_trig.cpp sage/symbolic/ginac/inifcns_zeta.cpp sage/symbolic/ginac/lst.cpp sage/symbolic/ginac/matrix.cpp sage/symbolic/ginac/mpoly-ginac.cpp sage/symbolic/ginac/mpoly-singular.cpp sage/symbolic/ginac/mpoly.cpp sage/symbolic/ginac/mul.cpp sage/symbolic/ginac/normal.cpp sage/symbolic/ginac/numeric.cpp sage/symbolic/ginac/operators.cpp sage/symbolic/ginac/order.cpp sage/symbolic/ginac/power.cpp sage/symbolic/ginac/print.cpp sage/symbolic/ginac/pseries.cpp sage/symbolic/ginac/py_funcs.cpp sage/symbolic/ginac/registrar.cpp sage/symbolic/ginac/relational.cpp sage/symbolic/ginac/remember.cpp sage/symbolic/ginac/sum.cpp sage/symbolic/ginac/symbol.cpp sage/symbolic/ginac/templates.cpp sage/symbolic/ginac/upoly-ginac.cpp sage/symbolic/ginac/useries.cpp sage/symbolic/ginac/utils.cpp sage/symbolic/ginac/wildcard.cpp
# distutils: language = c++
# distutils: libraries = flint gmp SINGULAR_LIBRARIES
# distutils: extra_compile_args = -std=c++11 SINGULAR_CFLAGS
Expand Down
16 changes: 0 additions & 16 deletions src/sage/symbolic/ginac/basic.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,6 @@ struct _object;
typedef _object PyObject;
#endif

#ifdef PYNAC_HAVE_LIBGIAC
namespace giac
{
class gen;
template <class T> class tensor;
typedef class tensor<gen> polynome;
}
namespace GiNaC
{
struct ex_is_less;
}
#endif

namespace GiNaC {

class ex;
Expand Down Expand Up @@ -315,9 +302,6 @@ class basic : public refcounted
const basic & clearflag(unsigned f) const {flags &= ~f; return *this;}

void ensure_if_modifiable() const;
#ifdef PYNAC_HAVE_LIBGIAC
const giac::polynome to_polynome(ex_int_map& map, exvector& revmap);
#endif

// member variables
tinfo_t tinfo_key; ///< type info
Expand Down
3 changes: 0 additions & 3 deletions src/sage/symbolic/ginac/ex.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,6 @@ class ex {
ex to_rational(lst & repl_lst) const;
ex to_polynomial(exmap & repl) const;
ex to_polynomial(lst & repl_lst) const;
#ifdef PYNAC_HAVE_LIBGIAC
const giac::polynome to_polynome(ex_int_map& map, exvector& revmap) const;
#endif
const CanonicalForm to_canonical(ex_int_umap& map,
power_ocvector_map& pomap, exvector& revmap) const;
void collect_powers(power_ocvector_map& pomap) const;
Expand Down
Loading

0 comments on commit 3728907

Please sign in to comment.