diff --git a/math/Makefile b/math/Makefile index 17f1dddbe5de..89cacac3a106 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1,1228 +1,1229 @@ COMMENT = Mathematics SUBDIR += 4ti2 SUBDIR += GiNaC SUBDIR += Imath SUBDIR += PDL SUBDIR += R SUBDIR += R-cran-ADGofTest SUBDIR += R-cran-Amelia SUBDIR += R-cran-BsMD SUBDIR += R-cran-CVST SUBDIR += R-cran-ChangeAnomalyDetection SUBDIR += R-cran-DEoptimR SUBDIR += R-cran-DRR SUBDIR += R-cran-DoE.base SUBDIR += R-cran-FNN SUBDIR += R-cran-Formula SUBDIR += R-cran-FrF2 SUBDIR += R-cran-KFAS SUBDIR += R-cran-LearnBayes SUBDIR += R-cran-MCMCpack SUBDIR += R-cran-MSwM SUBDIR += R-cran-MatchIt SUBDIR += R-cran-Matching SUBDIR += R-cran-MatrixModels SUBDIR += R-cran-NMF SUBDIR += R-cran-RHmm SUBDIR += R-cran-RSvgDevice SUBDIR += R-cran-RcppArmadillo SUBDIR += R-cran-RcppEigen SUBDIR += R-cran-RcppRoll SUBDIR += R-cran-Rmpfr SUBDIR += R-cran-Rsolnp SUBDIR += R-cran-SQUAREM SUBDIR += R-cran-SparseM SUBDIR += R-cran-VGAM SUBDIR += R-cran-XLConnect SUBDIR += R-cran-Zelig SUBDIR += R-cran-acepack SUBDIR += R-cran-admisc SUBDIR += R-cran-alabama SUBDIR += R-cran-ash SUBDIR += R-cran-assertthat SUBDIR += R-cran-backports SUBDIR += R-cran-bdsmatrix SUBDIR += R-cran-car SUBDIR += R-cran-carData SUBDIR += R-cran-coda SUBDIR += R-cran-combinat SUBDIR += R-cran-conf.design SUBDIR += R-cran-conquer SUBDIR += R-cran-cvar SUBDIR += R-cran-date SUBDIR += R-cran-ddalpha SUBDIR += R-cran-deldir SUBDIR += R-cran-dimRed SUBDIR += R-cran-dlmodeler SUBDIR += R-cran-dplyr SUBDIR += R-cran-eRm SUBDIR += R-cran-energy SUBDIR += R-cran-exactRankTests SUBDIR += R-cran-expm SUBDIR += R-cran-forcats SUBDIR += R-cran-forecast SUBDIR += R-cran-fracdiff SUBDIR += R-cran-gbutils SUBDIR += R-cran-geepack SUBDIR += R-cran-geometry SUBDIR += R-cran-gmp SUBDIR += R-cran-gower SUBDIR += R-cran-gpclib SUBDIR += R-cran-gsl SUBDIR += R-cran-gss SUBDIR += R-cran-gtable SUBDIR += R-cran-haven SUBDIR += R-cran-hdrcde SUBDIR += R-cran-hexbin SUBDIR += R-cran-igraph SUBDIR += R-cran-influenceR SUBDIR += R-cran-inline SUBDIR += R-cran-intervals SUBDIR += R-cran-ipred SUBDIR += R-cran-irlba SUBDIR += R-cran-isoband SUBDIR += R-cran-labeling SUBDIR += R-cran-lava SUBDIR += R-cran-lazyeval SUBDIR += R-cran-linprog SUBDIR += R-cran-lme4 SUBDIR += R-cran-locfit SUBDIR += R-cran-lpSolve SUBDIR += R-cran-ltm SUBDIR += R-cran-magic SUBDIR += R-cran-maps SUBDIR += R-cran-mathjaxr SUBDIR += R-cran-matrixStats SUBDIR += R-cran-maxLik SUBDIR += R-cran-mclust SUBDIR += R-cran-mcmc SUBDIR += R-cran-memisc SUBDIR += R-cran-minqa SUBDIR += R-cran-misc3d SUBDIR += R-cran-miscTools SUBDIR += R-cran-mitools SUBDIR += R-cran-moments SUBDIR += R-cran-mvtnorm SUBDIR += R-cran-nloptr SUBDIR += R-cran-nnls SUBDIR += R-cran-nortest SUBDIR += R-cran-numDeriv SUBDIR += R-cran-numbers SUBDIR += R-cran-outliers SUBDIR += R-cran-partitions SUBDIR += R-cran-pbkrtest SUBDIR += R-cran-plot3D SUBDIR += R-cran-pls SUBDIR += R-cran-polycor SUBDIR += R-cran-polynom SUBDIR += R-cran-pracma SUBDIR += R-cran-prodlim SUBDIR += R-cran-proxy SUBDIR += R-cran-psych SUBDIR += R-cran-pwr SUBDIR += R-cran-quadprog SUBDIR += R-cran-qualityTools SUBDIR += R-cran-quantreg SUBDIR += R-cran-raster SUBDIR += R-cran-recipes SUBDIR += R-cran-rgenoud SUBDIR += R-cran-robustbase SUBDIR += R-cran-sandwich SUBDIR += R-cran-scatterplot3d SUBDIR += R-cran-sets SUBDIR += R-cran-sf SUBDIR += R-cran-sm SUBDIR += R-cran-sp SUBDIR += R-cran-spData SUBDIR += R-cran-spdep SUBDIR += R-cran-sspir SUBDIR += R-cran-stabledist SUBDIR += R-cran-statmod SUBDIR += R-cran-survey SUBDIR += R-cran-tensor SUBDIR += R-cran-terra SUBDIR += R-cran-truncnorm SUBDIR += R-cran-units SUBDIR += R-cran-uroot SUBDIR += R-cran-wk SUBDIR += R-cran-xts SUBDIR += R-cran-zoo SUBDIR += SCIP SUBDIR += SoPlex SUBDIR += aamath SUBDIR += abella SUBDIR += abs SUBDIR += acalc SUBDIR += add SUBDIR += adept SUBDIR += adol-c SUBDIR += alberta SUBDIR += algae SUBDIR += alglib SUBDIR += alps SUBDIR += alt-ergo SUBDIR += amath SUBDIR += ambit SUBDIR += amgcl SUBDIR += analitza SUBDIR += ann SUBDIR += annoy SUBDIR += antic SUBDIR += apache-commons-math SUBDIR += apc SUBDIR += apron SUBDIR += arb SUBDIR += arborx SUBDIR += aribas SUBDIR += armadillo SUBDIR += arpack++ SUBDIR += arpack-ng SUBDIR += ascent SUBDIR += asl SUBDIR += asymptote SUBDIR += atlas SUBDIR += audi SUBDIR += barvinok SUBDIR += basic-stats SUBDIR += bcal SUBDIR += bcps SUBDIR += bitwise SUBDIR += blacs SUBDIR += blahtexml SUBDIR += blas SUBDIR += blasfeo SUBDIR += blaspp SUBDIR += blaze SUBDIR += blazeiterative SUBDIR += blis SUBDIR += bliss SUBDIR += blocksolve95 SUBDIR += bonmin SUBDIR += boolector SUBDIR += brial SUBDIR += bsdnt SUBDIR += btor2tools SUBDIR += cadabra2 SUBDIR += cadical SUBDIR += cado-nfs SUBDIR += calc SUBDIR += calcium SUBDIR += calcoo SUBDIR += cantor SUBDIR += casadi SUBDIR += cbc SUBDIR += cblas SUBDIR += ccmath SUBDIR += cddlib SUBDIR += ceres-solver SUBDIR += cgal SUBDIR += cgl SUBDIR += cgl-conic SUBDIR += cglm SUBDIR += chaco SUBDIR += chryzodus SUBDIR += chuffed SUBDIR += cimod SUBDIR += clasp SUBDIR += clblas SUBDIR += clblast SUBDIR += clfft SUBDIR += clingcon SUBDIR += clingo SUBDIR += cliquer SUBDIR += cln SUBDIR += cloog SUBDIR += clp SUBDIR += clrng SUBDIR += cm SUBDIR += cmh SUBDIR += cminpack SUBDIR += cmlib SUBDIR += cocoalib SUBDIR += coin-or-data-netlib SUBDIR += coin-or-data-sample SUBDIR += coin-or-data-stochastic SUBDIR += coin-or-metis SUBDIR += coin-or-mumps SUBDIR += coinmp SUBDIR += coinutils SUBDIR += colpack SUBDIR += combblas SUBDIR += conauto SUBDIR += concorde SUBDIR += convertall SUBDIR += coq SUBDIR += cosma SUBDIR += costa SUBDIR += couenne SUBDIR += coxeter3 SUBDIR += cppad SUBDIR += creme SUBDIR += crlibm SUBDIR += cryptominisat SUBDIR += csdp SUBDIR += ctl-sat SUBDIR += cudd SUBDIR += curv SUBDIR += cvc5 SUBDIR += dbcsr SUBDIR += deal.ii + SUBDIR += dgl SUBDIR += dieharder SUBDIR += dihydrogen SUBDIR += dionysus SUBDIR += disco SUBDIR += djbfft SUBDIR += drgeo SUBDIR += dsdp SUBDIR += dune-alugrid SUBDIR += dune-common SUBDIR += dune-curvedgeometry SUBDIR += dune-fem SUBDIR += dune-foamgrid SUBDIR += dune-functions SUBDIR += dune-geometry SUBDIR += dune-grid SUBDIR += dune-grid-glue SUBDIR += dune-istl SUBDIR += dune-localfunctions SUBDIR += dune-metagrid SUBDIR += dune-multidomaingrid SUBDIR += dune-pdelab SUBDIR += dune-polygongrid SUBDIR += dune-spgrid SUBDIR += dune-typetree SUBDIR += dune-uggrid SUBDIR += dune-vtk SUBDIR += e-antic SUBDIR += eclib SUBDIR += ecos SUBDIR += edenmath SUBDIR += eigen3 SUBDIR += eispack SUBDIR += elemental SUBDIR += elementary-calculator SUBDIR += elpa SUBDIR += emc2 SUBDIR += ensmallen SUBDIR += ent SUBDIR += eprover SUBDIR += ess SUBDIR += eukleides SUBDIR += eval SUBDIR += exprtk SUBDIR += facile SUBDIR += faiss SUBDIR += fann SUBDIR += fastops SUBDIR += fcl SUBDIR += fcl05 SUBDIR += fenics-basix SUBDIR += fflas-ffpack SUBDIR += fftw SUBDIR += fftw-float SUBDIR += fftw3 SUBDIR += fftw3-float SUBDIR += fftw3-long SUBDIR += fftw3-quad SUBDIR += flann SUBDIR += flexfloat SUBDIR += flint2 SUBDIR += flintqs SUBDIR += flopc++ SUBDIR += form SUBDIR += fparser SUBDIR += fpc-fftw SUBDIR += fpc-gmp SUBDIR += fpc-numlib SUBDIR += fplll SUBDIR += freefem++ SUBDIR += fricas SUBDIR += frobby SUBDIR += fxt SUBDIR += g2o SUBDIR += galculator SUBDIR += gambit SUBDIR += gap SUBDIR += gau2grid SUBDIR += gecode SUBDIR += gemmlowp SUBDIR += geogebra SUBDIR += geogram SUBDIR += geonext SUBDIR += gexpr SUBDIR += gf2x SUBDIR += gfan SUBDIR += gfanlib SUBDIR += ggobi SUBDIR += gh-bc SUBDIR += giacxcas SUBDIR += gismo SUBDIR += givaro SUBDIR += gkmap SUBDIR += glgraph SUBDIR += glm SUBDIR += glpk SUBDIR += glucose SUBDIR += gmm++ SUBDIR += gmp SUBDIR += gmp-ecm SUBDIR += gnome-calculator SUBDIR += gnubc SUBDIR += gnumeric SUBDIR += gnuplot SUBDIR += gnuplot-lite SUBDIR += gnuplot-tex-extras SUBDIR += gp2c SUBDIR += grace SUBDIR += gravity SUBDIR += gretl SUBDIR += gri SUBDIR += grpn SUBDIR += gsl SUBDIR += half SUBDIR += hexcalc SUBDIR += heyoka SUBDIR += highs SUBDIR += hmat-oss SUBDIR += hpcombi SUBDIR += hpipm SUBDIR += hptt SUBDIR += hs-Agda SUBDIR += hs-syfco SUBDIR += hsl SUBDIR += hydrogen SUBDIR += ideep SUBDIR += ignition-math SUBDIR += igraph SUBDIR += iml SUBDIR += intx SUBDIR += ipopt SUBDIR += ised SUBDIR += jacal SUBDIR += jacop SUBDIR += jags SUBDIR += jama SUBDIR += jeuclid SUBDIR += jlatexmath SUBDIR += jsmath-fonts SUBDIR += jtransforms SUBDIR += jts SUBDIR += kahip SUBDIR += kalgebra SUBDIR += kalk SUBDIR += kalker SUBDIR += kamis SUBDIR += kbruch SUBDIR += kcalc SUBDIR += kfr SUBDIR += kig SUBDIR += kissat SUBDIR += kktdirect SUBDIR += kmplot SUBDIR += labplot SUBDIR += lambda SUBDIR += lapack SUBDIR += lapack++ SUBDIR += lapack95 SUBDIR += lapacke SUBDIR += lapackpp SUBDIR += laspack SUBDIR += latte-integrale SUBDIR += lcalc SUBDIR += ldouble SUBDIR += lean SUBDIR += lemon SUBDIR += levmar SUBDIR += lib2geom SUBDIR += libRmath SUBDIR += libbraiding SUBDIR += libccd SUBDIR += libcerf SUBDIR += libdivide SUBDIR += libfixmath SUBDIR += libflame SUBDIR += libformfactor SUBDIR += libhomfly SUBDIR += libmesh SUBDIR += libmissing SUBDIR += libnormaliz SUBDIR += libocas SUBDIR += liborigin SUBDIR += libpoly SUBDIR += libqalculate SUBDIR += libranlip SUBDIR += librdata SUBDIR += librsb SUBDIR += libsemigroups SUBDIR += libsharp2 SUBDIR += libtommath SUBDIR += libxls SUBDIR += libxlsxwriter SUBDIR += libxsmm SUBDIR += lidia SUBDIR += linbox SUBDIR += lingeling SUBDIR += linpack SUBDIR += lis SUBDIR += lll_spect SUBDIR += lmfit SUBDIR += lp_solve SUBDIR += lrcalc SUBDIR += lrng SUBDIR += lrslib SUBDIR += ltl2ba SUBDIR += m4ri SUBDIR += m4rie SUBDIR += mate-calc SUBDIR += math77 SUBDIR += mathgl SUBDIR += mathicsscript SUBDIR += mathlibtools SUBDIR += mathmod SUBDIR += mathomatic SUBDIR += mathpresso SUBDIR += matio SUBDIR += matlab-installer SUBDIR += maxima SUBDIR += mbasecalc SUBDIR += mcsim SUBDIR += mdal SUBDIR += mesquite SUBDIR += metis SUBDIR += mfem SUBDIR += mingw32-libgmp SUBDIR += minisat SUBDIR += minizinc SUBDIR += minizinc-ide SUBDIR += minizinc-solvers SUBDIR += minorminer SUBDIR += miracl SUBDIR += mlpack SUBDIR += moab SUBDIR += moo SUBDIR += mpc SUBDIR += mpdecimal SUBDIR += mpexpr SUBDIR += mpfi SUBDIR += mpfr SUBDIR += mpfrc++ SUBDIR += mpfrcx SUBDIR += mpir SUBDIR += mppp SUBDIR += mprime SUBDIR += mpsolve SUBDIR += mtrxmath SUBDIR += multichoose SUBDIR += mumps SUBDIR += mumps4 SUBDIR += munkres-cpp SUBDIR += muparser SUBDIR += muparserx SUBDIR += nanoflann SUBDIR += nauty SUBDIR += ndiff SUBDIR += newmat SUBDIR += nfft SUBDIR += ngraph SUBDIR += nlopt SUBDIR += ntl SUBDIR += ntpoly SUBDIR += numdiff SUBDIR += obake SUBDIR += ocaml-num SUBDIR += ocaml-ocamlgraph SUBDIR += ocaml-zarith SUBDIR += ocamlgsl SUBDIR += octave SUBDIR += octave-forge SUBDIR += octave-forge-actuarial SUBDIR += octave-forge-audio SUBDIR += octave-forge-automatic-differentiation SUBDIR += octave-forge-base SUBDIR += octave-forge-bim SUBDIR += octave-forge-bioinfo SUBDIR += octave-forge-biosig SUBDIR += octave-forge-bsltl SUBDIR += octave-forge-cfitsio SUBDIR += octave-forge-cgi SUBDIR += octave-forge-civil-engineering SUBDIR += octave-forge-coder SUBDIR += octave-forge-communications SUBDIR += octave-forge-control SUBDIR += octave-forge-csg-toolkit SUBDIR += octave-forge-data-smoothing SUBDIR += octave-forge-database SUBDIR += octave-forge-dataframe SUBDIR += octave-forge-dicom SUBDIR += octave-forge-divand SUBDIR += octave-forge-doctest SUBDIR += octave-forge-econometrics SUBDIR += octave-forge-fda SUBDIR += octave-forge-femoctave SUBDIR += octave-forge-fenv SUBDIR += octave-forge-fileio SUBDIR += octave-forge-financial SUBDIR += octave-forge-fits SUBDIR += octave-forge-fpl SUBDIR += octave-forge-fuzzy-logic-toolkit SUBDIR += octave-forge-ga SUBDIR += octave-forge-general SUBDIR += octave-forge-generate_html SUBDIR += octave-forge-geographiclib SUBDIR += octave-forge-geometry SUBDIR += octave-forge-gnuplot SUBDIR += octave-forge-gsl SUBDIR += octave-forge-ident SUBDIR += octave-forge-image SUBDIR += octave-forge-informationtheory SUBDIR += octave-forge-integration SUBDIR += octave-forge-internal-fluid-flow SUBDIR += octave-forge-interval SUBDIR += octave-forge-io SUBDIR += octave-forge-irsa SUBDIR += octave-forge-level-set SUBDIR += octave-forge-linear-algebra SUBDIR += octave-forge-lssa SUBDIR += octave-forge-ltfat SUBDIR += octave-forge-mapping SUBDIR += octave-forge-matgeom SUBDIR += octave-forge-mccabe-thiele SUBDIR += octave-forge-mechanics SUBDIR += octave-forge-miscellaneous SUBDIR += octave-forge-missing-functions SUBDIR += octave-forge-mpi SUBDIR += octave-forge-mqtt SUBDIR += octave-forge-msh SUBDIR += octave-forge-multicore SUBDIR += octave-forge-mvn SUBDIR += octave-forge-nan SUBDIR += octave-forge-ncarray SUBDIR += octave-forge-netcdf SUBDIR += octave-forge-nlwing2 SUBDIR += octave-forge-nnet SUBDIR += octave-forge-nurbs SUBDIR += octave-forge-oct2mat SUBDIR += octave-forge-octave-pool SUBDIR += octave-forge-octclip SUBDIR += octave-forge-octproj SUBDIR += octave-forge-odebvp SUBDIR += octave-forge-onsas SUBDIR += octave-forge-optics SUBDIR += octave-forge-optim SUBDIR += octave-forge-optiminterp SUBDIR += octave-forge-outliers SUBDIR += octave-forge-parallel SUBDIR += octave-forge-pde1dm SUBDIR += octave-forge-pkg-octave-doc SUBDIR += octave-forge-plot SUBDIR += octave-forge-ponchon-savarit SUBDIR += octave-forge-psychrometrics SUBDIR += octave-forge-pythonic SUBDIR += octave-forge-quaternion SUBDIR += octave-forge-queueing SUBDIR += octave-forge-secs1d SUBDIR += octave-forge-secs2d SUBDIR += octave-forge-secs3d SUBDIR += octave-forge-signal SUBDIR += octave-forge-simp SUBDIR += octave-forge-sockets SUBDIR += octave-forge-sole SUBDIR += octave-forge-sparsersb SUBDIR += octave-forge-specfun SUBDIR += octave-forge-special-matrix SUBDIR += octave-forge-splines SUBDIR += octave-forge-sqlite SUBDIR += octave-forge-statistics SUBDIR += octave-forge-statistics-bootstrap SUBDIR += octave-forge-stk SUBDIR += octave-forge-strings SUBDIR += octave-forge-struct SUBDIR += octave-forge-symband SUBDIR += octave-forge-symbolic SUBDIR += octave-forge-tcl-octave SUBDIR += octave-forge-tsa SUBDIR += octave-forge-velas SUBDIR += octave-forge-video SUBDIR += octave-forge-websockets SUBDIR += octave-forge-zenity SUBDIR += octave-forge-zeromq SUBDIR += octomap SUBDIR += ogdf SUBDIR += oink SUBDIR += oleo SUBDIR += onednn SUBDIR += onednn252 SUBDIR += openblas SUBDIR += openfst SUBDIR += openlibm SUBDIR += openmesh SUBDIR += opensolaris-libm SUBDIR += openturns SUBDIR += optpp SUBDIR += or-tools SUBDIR += orpie SUBDIR += osi SUBDIR += osi-conic SUBDIR += osiipopt SUBDIR += osqp SUBDIR += p5-AI-DecisionTree SUBDIR += p5-AI-Genetic SUBDIR += p5-AI-NeuralNet-BackProp SUBDIR += p5-AI-Perceptron SUBDIR += p5-Algorithm-Combinatorics SUBDIR += p5-Algorithm-CurveFit SUBDIR += p5-Algorithm-Munkres SUBDIR += p5-Alien-GSL SUBDIR += p5-Bit-ShiftReg SUBDIR += p5-Bit-Vector SUBDIR += p5-Bit-Vector-Minimal SUBDIR += p5-CAD-Calc SUBDIR += p5-Chart-Math-Axis SUBDIR += p5-Data-Float SUBDIR += p5-Date-Handler SUBDIR += p5-GIS-Distance SUBDIR += p5-GIS-Distance-Fast SUBDIR += p5-GIS-Distance-Lite SUBDIR += p5-Geo-Coordinates-UTM SUBDIR += p5-Geo-Distance SUBDIR += p5-Geo-Distance-XS SUBDIR += p5-Graph SUBDIR += p5-Math-Algebra-Symbols SUBDIR += p5-Math-Base36 SUBDIR += p5-Math-Base85 SUBDIR += p5-Math-BaseCalc SUBDIR += p5-Math-BaseCnv SUBDIR += p5-Math-Bezier SUBDIR += p5-Math-Bezier-Convert SUBDIR += p5-Math-BigInt SUBDIR += p5-Math-BigInt-FastCalc SUBDIR += p5-Math-BigInt-GMP SUBDIR += p5-Math-BigInt-Lite SUBDIR += p5-Math-BigInt-Pari SUBDIR += p5-Math-BigRat SUBDIR += p5-Math-CDF SUBDIR += p5-Math-Calc-Units SUBDIR += p5-Math-Cephes SUBDIR += p5-Math-Combinatorics SUBDIR += p5-Math-Complex SUBDIR += p5-Math-ConvexHull SUBDIR += p5-Math-Currency SUBDIR += p5-Math-Derivative SUBDIR += p5-Math-Evol SUBDIR += p5-Math-Expr SUBDIR += p5-Math-FFT SUBDIR += p5-Math-FixedPrecision SUBDIR += p5-Math-Fleximal SUBDIR += p5-Math-GMP SUBDIR += p5-Math-GMPf SUBDIR += p5-Math-GMPq SUBDIR += p5-Math-GMPz SUBDIR += p5-Math-GSL SUBDIR += p5-Math-Geometry SUBDIR += p5-Math-Geometry-Planar SUBDIR += p5-Math-Geometry-Planar-GPC SUBDIR += p5-Math-Geometry-Planar-GPC-PolygonXS SUBDIR += p5-Math-Geometry-Planar-Offset SUBDIR += p5-Math-Geometry-Voronoi SUBDIR += p5-Math-Gradient SUBDIR += p5-Math-Int128 SUBDIR += p5-Math-Int64 SUBDIR += p5-Math-Interpolate SUBDIR += p5-Math-Intersection-StraightLine SUBDIR += p5-Math-Logic SUBDIR += p5-Math-MPC SUBDIR += p5-Math-MPFR SUBDIR += p5-Math-Matrix SUBDIR += p5-Math-MatrixReal SUBDIR += p5-Math-NumberCruncher SUBDIR += p5-Math-Pari SUBDIR += p5-Math-Polygon SUBDIR += p5-Math-Polygon-Tree SUBDIR += p5-Math-Polynomial-Solve SUBDIR += p5-Math-Prime-Util SUBDIR += p5-Math-Prime-Util-GMP SUBDIR += p5-Math-Prime-XS SUBDIR += p5-Math-ProvablePrime SUBDIR += p5-Math-RPN SUBDIR += p5-Math-Random SUBDIR += p5-Math-Random-ISAAC SUBDIR += p5-Math-Random-ISAAC-XS SUBDIR += p5-Math-Random-MT SUBDIR += p5-Math-Random-MT-Auto SUBDIR += p5-Math-Random-OO SUBDIR += p5-Math-Random-Secure SUBDIR += p5-Math-RandomOrg SUBDIR += p5-Math-Round SUBDIR += p5-Math-Round-Var SUBDIR += p5-Math-Sequence SUBDIR += p5-Math-Series SUBDIR += p5-Math-SigFigs SUBDIR += p5-Math-SimpleVariable SUBDIR += p5-Math-Spline SUBDIR += p5-Math-String SUBDIR += p5-Math-Symbolic SUBDIR += p5-Math-Symbolic-Custom-CCompiler SUBDIR += p5-Math-Symbolic-Custom-Contains SUBDIR += p5-Math-Symbolic-Custom-ErrorPropagation SUBDIR += p5-Math-Symbolic-Custom-LaTeXDumper SUBDIR += p5-Math-Symbolic-Custom-Pattern SUBDIR += p5-Math-Symbolic-Custom-Simplification SUBDIR += p5-Math-Symbolic-Custom-Transformation SUBDIR += p5-Math-SymbolicX-BigNum SUBDIR += p5-Math-SymbolicX-Complex SUBDIR += p5-Math-SymbolicX-Error SUBDIR += p5-Math-SymbolicX-Inline SUBDIR += p5-Math-SymbolicX-NoSimplification SUBDIR += p5-Math-SymbolicX-ParserExtensionFactory SUBDIR += p5-Math-SymbolicX-Statistics-Distributions SUBDIR += p5-Math-TrulyRandom SUBDIR += p5-Math-Units SUBDIR += p5-Math-Utils SUBDIR += p5-Math-Vec SUBDIR += p5-Math-VecStat SUBDIR += p5-Math-VectorReal SUBDIR += p5-NetCDF SUBDIR += p5-Number-Compare SUBDIR += p5-Number-Fraction SUBDIR += p5-Number-Misc SUBDIR += p5-Number-Uncertainty SUBDIR += p5-Number-WithError SUBDIR += p5-Number-WithError-LaTeX SUBDIR += p5-Parse-Range SUBDIR += p5-Roman SUBDIR += p5-Set-IntSpan SUBDIR += p5-Set-IntSpan-Fast SUBDIR += p5-Set-IntSpan-Fast-XS SUBDIR += p5-Set-Partition SUBDIR += p5-Set-Window SUBDIR += p5-Statistics-Basic SUBDIR += p5-Statistics-Benford SUBDIR += p5-Statistics-CaseResampling SUBDIR += p5-Statistics-ChiSquare SUBDIR += p5-Statistics-Contingency SUBDIR += p5-Statistics-Descriptive SUBDIR += p5-Statistics-Descriptive-Discrete SUBDIR += p5-Statistics-Distributions SUBDIR += p5-Statistics-Forecast SUBDIR += p5-Statistics-Frequency SUBDIR += p5-Statistics-LTU SUBDIR += p5-Statistics-LineFit SUBDIR += p5-Statistics-Lite SUBDIR += p5-Statistics-OLS SUBDIR += p5-Statistics-R SUBDIR += p5-Statistics-Regression SUBDIR += p5-Statistics-TTest SUBDIR += p5-Task-Math-Symbolic SUBDIR += p5-Text-AsciiTeX SUBDIR += p5-bignum SUBDIR += palp SUBDIR += pari SUBDIR += pari_elldata SUBDIR += pari_galdata SUBDIR += pari_galpol SUBDIR += pari_nflistdata SUBDIR += pari_nftables SUBDIR += pari_seadata SUBDIR += paritwine SUBDIR += parmetis SUBDIR += parmgridgen SUBDIR += pdal SUBDIR += pear-Math_BigInteger SUBDIR += pear-Math_Combinatorics SUBDIR += pecl-bitset SUBDIR += permlib SUBDIR += petanque SUBDIR += petiga SUBDIR += pffft SUBDIR += php80-bcmath SUBDIR += php80-gmp SUBDIR += php81-bcmath SUBDIR += php81-gmp SUBDIR += php82-bcmath SUBDIR += php82-gmp SUBDIR += physcalc SUBDIR += picosat SUBDIR += piranha SUBDIR += planarity SUBDIR += plantri SUBDIR += plman SUBDIR += ploticus SUBDIR += ploticus-nox11 SUBDIR += plplot SUBDIR += poly2tri SUBDIR += polyclipper SUBDIR += polylib SUBDIR += polymake SUBDIR += primecount SUBDIR += primegen SUBDIR += primesieve SUBDIR += primesum SUBDIR += primme SUBDIR += prng SUBDIR += pspp SUBDIR += psurface SUBDIR += py-CyLP SUBDIR += py-Diofant SUBDIR += py-GridDataFormats SUBDIR += py-MutatorMath SUBDIR += py-PuLP SUBDIR += py-PyMetis SUBDIR += py-PySCIPOpt SUBDIR += py-PyWavelets SUBDIR += py-Pyomo SUBDIR += py-affine SUBDIR += py-algopy SUBDIR += py-altgraph SUBDIR += py-amply SUBDIR += py-animatplot SUBDIR += py-animatplot-ng SUBDIR += py-annoy SUBDIR += py-apgl SUBDIR += py-arviz SUBDIR += py-arybo SUBDIR += py-autograd SUBDIR += py-baycomp SUBDIR += py-bayesian-optimization SUBDIR += py-benford_py SUBDIR += py-bitmath SUBDIR += py-bitvector SUBDIR += py-bottleneck SUBDIR += py-brial SUBDIR += py-chaospy SUBDIR += py-claripy SUBDIR += py-clingcon SUBDIR += py-clingo SUBDIR += py-cma SUBDIR += py-cmaes SUBDIR += py-cmyt SUBDIR += py-colormath SUBDIR += py-contourpy SUBDIR += py-cryptominisat SUBDIR += py-cvxopt SUBDIR += py-cvxpy SUBDIR += py-cyipopt SUBDIR += py-cypari2 SUBDIR += py-deap SUBDIR += py-dionysus SUBDIR += py-disjoint-set SUBDIR += py-docplex SUBDIR += py-ducc0 SUBDIR += py-ecos SUBDIR += py-evalidate SUBDIR += py-faiss SUBDIR += py-fastcluster SUBDIR += py-fastdtw SUBDIR += py-fenics-basix SUBDIR += py-fenics-ffcx SUBDIR += py-fenics-ufl SUBDIR += py-flax SUBDIR += py-formulaic SUBDIR += py-fpylll SUBDIR += py-fraction SUBDIR += py-fsph SUBDIR += py-fvcore SUBDIR += py-gau2grid SUBDIR += py-gimmik SUBDIR += py-gmpy SUBDIR += py-gmpy2 SUBDIR += py-grandalf SUBDIR += py-graphillion SUBDIR += py-gym SUBDIR += py-gym-notices SUBDIR += py-hdbscan SUBDIR += py-hdmedians SUBDIR += py-heyoka SUBDIR += py-iminuit SUBDIR += py-intspan SUBDIR += py-iohexperimenter SUBDIR += py-ipyopt SUBDIR += py-isosurfaces SUBDIR += py-jax SUBDIR += py-kahip SUBDIR += py-keras SUBDIR += py-keras-applications SUBDIR += py-keras-preprocessing SUBDIR += py-kiwisolver SUBDIR += py-levmar SUBDIR += py-libpoly SUBDIR += py-linearmodels SUBDIR += py-lmfit SUBDIR += py-lrcalc SUBDIR += py-luminol SUBDIR += py-mapbox-earcut SUBDIR += py-mathics SUBDIR += py-mathics-scanner SUBDIR += py-matplotlib SUBDIR += py-matplotlib-inline SUBDIR += py-matplotlib-scalebar SUBDIR += py-matplotlib2 SUBDIR += py-minorminer SUBDIR += py-mip SUBDIR += py-mixsimulator SUBDIR += py-ml-dtypes SUBDIR += py-mnnpy SUBDIR += py-moarchiving SUBDIR += py-mpmath SUBDIR += py-munkres SUBDIR += py-munkres10 SUBDIR += py-ndindex SUBDIR += py-networkx SUBDIR += py-nevergrad SUBDIR += py-nlopt SUBDIR += py-numdifftools SUBDIR += py-numexpr SUBDIR += py-numpoly SUBDIR += py-numpy SUBDIR += py-numpy-groupies SUBDIR += py-numpy-stl SUBDIR += py-openTSNE SUBDIR += py-opt-einsum SUBDIR += py-optuna SUBDIR += py-or-tools SUBDIR += py-osqp SUBDIR += py-pandas SUBDIR += py-pandas-datareader SUBDIR += py-patsy SUBDIR += py-pdal SUBDIR += py-permutation SUBDIR += py-petsc4py SUBDIR += py-piranha SUBDIR += py-plastex SUBDIR += py-point-annotator SUBDIR += py-pplpy SUBDIR += py-primecountpy SUBDIR += py-primme SUBDIR += py-py-find-1st SUBDIR += py-pyFFTW SUBDIR += py-pyaudi SUBDIR += py-pybloom SUBDIR += py-pyclipper SUBDIR += py-pycosat SUBDIR += py-pygsl SUBDIR += py-pygslodeiv2 SUBDIR += py-pyhdfe SUBDIR += py-pyhull SUBDIR += py-pymc3 SUBDIR += py-pynauty SUBDIR += py-pyneqsys SUBDIR += py-pynleq2 SUBDIR += py-pynndescent SUBDIR += py-pyodeint SUBDIR += py-pyodesys SUBDIR += py-pyreadr SUBDIR += py-pyrr SUBDIR += py-pysmt SUBDIR += py-pystan SUBDIR += py-pysym SUBDIR += py-pytanque SUBDIR += py-python-fcl SUBDIR += py-python-igraph SUBDIR += py-python-louvain SUBDIR += py-python-picard SUBDIR += py-pytorchvideo SUBDIR += py-pyvtk SUBDIR += py-qdldl SUBDIR += py-quadprog SUBDIR += py-random2 SUBDIR += py-reals SUBDIR += py-rectangle-packer SUBDIR += py-roman SUBDIR += py-rpy2 SUBDIR += py-rustworkx SUBDIR += py-rvlib SUBDIR += py-scikit-umfpack SUBDIR += py-scs SUBDIR += py-seaborn SUBDIR += py-secp256k1 SUBDIR += py-seriate SUBDIR += py-simhash SUBDIR += py-slepc4py SUBDIR += py-snuggs SUBDIR += py-spectral SUBDIR += py-spglm SUBDIR += py-spint SUBDIR += py-splot SUBDIR += py-spopt SUBDIR += py-spot SUBDIR += py-spreg SUBDIR += py-spvcm SUBDIR += py-ssm SUBDIR += py-statsmodels SUBDIR += py-svgmath SUBDIR += py-sym SUBDIR += py-symengine SUBDIR += py-sympy SUBDIR += py-theano SUBDIR += py-timple SUBDIR += py-topologic SUBDIR += py-triangle SUBDIR += py-umap-learn SUBDIR += py-uncertainties SUBDIR += py-unyt SUBDIR += py-vincenty SUBDIR += py-yt SUBDIR += py-z3-solver SUBDIR += qalculate-gtk SUBDIR += qalculate-qt SUBDIR += qd SUBDIR += qhull SUBDIR += qhull7 SUBDIR += qposases SUBDIR += qrupdate SUBDIR += qtiplot-doc SUBDIR += qwtplot3d SUBDIR += randlib SUBDIR += rankwidth SUBDIR += rapid SUBDIR += readstat SUBDIR += reduce SUBDIR += reduce-psl SUBDIR += reed-solomon SUBDIR += rehearse SUBDIR += rexx-regmath SUBDIR += rkward SUBDIR += rngstreams SUBDIR += rocs SUBDIR += rpcalc SUBDIR += rubiks SUBDIR += rubygem-algebra SUBDIR += rubygem-bigdecimal SUBDIR += rubygem-enumerable-statistics SUBDIR += rubygem-expression_parser SUBDIR += rubygem-fftw3 SUBDIR += rubygem-mathn SUBDIR += rubygem-matrix SUBDIR += rubygem-mtrc SUBDIR += rubygem-narray SUBDIR += rubygem-narray_miss SUBDIR += rubygem-numru-misc SUBDIR += rubygem-numru-units SUBDIR += rubygem-prime SUBDIR += rubygem-rb-gsl SUBDIR += rumur SUBDIR += saga SUBDIR += sage SUBDIR += savage SUBDIR += sc SUBDIR += sc-im SUBDIR += scalapack SUBDIR += scalapackfx SUBDIR += scilab SUBDIR += scilab-toolbox-swt SUBDIR += scorec-core SUBDIR += scs SUBDIR += sdpa SUBDIR += secp256k1 SUBDIR += sfft SUBDIR += simd-viterbi SUBDIR += singular SUBDIR += sisl SUBDIR += slatec SUBDIR += sleef SUBDIR += slepc SUBDIR += slgrace SUBDIR += slicot SUBDIR += snns SUBDIR += solitaire SUBDIR += sound-of-sorting SUBDIR += spar SUBDIR += spblas SUBDIR += spectra SUBDIR += speedcrunch SUBDIR += spfft SUBDIR += spla SUBDIR += spooles SUBDIR += spooles-mpich SUBDIR += spot SUBDIR += sprng SUBDIR += ssht SUBDIR += stan SUBDIR += stanmath SUBDIR += stp SUBDIR += suitesparse SUBDIR += suitesparse-amd SUBDIR += suitesparse-btf SUBDIR += suitesparse-camd SUBDIR += suitesparse-ccolamd SUBDIR += suitesparse-cholmod SUBDIR += suitesparse-colamd SUBDIR += suitesparse-config SUBDIR += suitesparse-csparse SUBDIR += suitesparse-cxsparse SUBDIR += suitesparse-graphblas SUBDIR += suitesparse-klu SUBDIR += suitesparse-ldl SUBDIR += suitesparse-mongoose SUBDIR += suitesparse-rbio SUBDIR += suitesparse-spex SUBDIR += suitesparse-spqr SUBDIR += suitesparse-umfpack SUBDIR += sundials SUBDIR += superlu SUBDIR += superlu-dist SUBDIR += symengine SUBDIR += symfpu SUBDIR += symmetrica SUBDIR += symphony SUBDIR += sympol SUBDIR += sympow SUBDIR += tablix SUBDIR += taucs SUBDIR += tblis SUBDIR += testu01 SUBDIR += tetgen SUBDIR += teyjus SUBDIR += the-algorithms-c++ SUBDIR += timbl SUBDIR += tiny-bignum-c SUBDIR += tlapack SUBDIR += tmv SUBDIR += tomsfastmath SUBDIR += topaz SUBDIR += topcom SUBDIR += topologic SUBDIR += triangle SUBDIR += trlan SUBDIR += trlib SUBDIR += ttmath SUBDIR += tvmet SUBDIR += ump SUBDIR += units SUBDIR += universal SUBDIR += unuran SUBDIR += vampire SUBDIR += vdt SUBDIR += verdict SUBDIR += viennacl SUBDIR += vinci SUBDIR += visualpolylib SUBDIR += vowpal_wabbit SUBDIR += vtk8 SUBDIR += vtk9 SUBDIR += wavelib SUBDIR += wcalc SUBDIR += wfmath SUBDIR += wxmaxima SUBDIR += xblas SUBDIR += xfce4-calculator-plugin SUBDIR += xgap SUBDIR += xgraph SUBDIR += xlapack SUBDIR += xldlas SUBDIR += xlife++ SUBDIR += xplot SUBDIR += xspread SUBDIR += xtensor SUBDIR += xtensor-blas SUBDIR += xtensor-io SUBDIR += xtensor-python SUBDIR += yacas SUBDIR += yices SUBDIR += z3 SUBDIR += zarray SUBDIR += zegrapher SUBDIR += zimpl SUBDIR += zn_poly .include diff --git a/math/dgl/Makefile b/math/dgl/Makefile new file mode 100644 index 000000000000..bb8bc1f216b4 --- /dev/null +++ b/math/dgl/Makefile @@ -0,0 +1,67 @@ +PORTNAME= dgl +DISTVERSION= 1.1.0 +CATEGORIES= math # machine-learning + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Deep Graph Library +WWW= https://www.dgl.ai/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${BACKEND_DEPENDS} \ + bash:shells/bash \ + gmake:devel/gmake + +USES= cmake:testing localbase:ldflags python:build shebangfix +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= dmlc +GH_TUPLE= apache:tvm:b2e418c:tvm/third_party/tvm \ + dmlc:dlpack:e2bdd3b:dlpack/third_party/dlpack \ + dmlc:dmlc-core:bfad207:dmlc_core/third_party/dmlc-core \ + greg7mdp:parallel-hashmap:25293ce:phmap/third_party/phmap \ + herumi:xbyak:757e406:xbyak/third_party/xbyak \ + imneme:pcg-cpp:428802d:pcg/third_party/pcg \ + jlblancoc:nanoflann:4c47ca2:nanoflann/third_party/nanoflann \ + KarypisLab:METIS:1060348:metis/third_party/METIS \ + KarypisLab:GKlib:62de20c:metis_GKlib/third_party/METIS/GKlib \ + pytorch:tensorpipe:6042f1a:tensorpipe/third_party/tensorpipe \ + libuv:libuv:1dff88e:tensorpipe_libuv/third_party/tensorpipe/third_party/libuv \ + google:libnop:aa95422:tensorpipe_libnop/third_party/tensorpipe/third_party/libnop \ + hfp:libxsmm:fa68755:libxsmm/third_party/libxsmm \ + NVIDIA:thrust:6a3078c:thrust/third_party/thrust \ + google:googletest:f71fb4f:googletest/third_party/googletest + +SHEBANG_GLOB= *.sh + +MAKE_ENV= PYTHON=${PYTHON_CMD} +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_TESTING_ON= BUILD_CPP_TEST # tests fail to compile, see https://github.com/dmlc/dgl/issues/5664 + +BINARY_ALIAS= make=${GMAKE} python3=${PYTHON_CMD} + +PLIST_FILES= lib/libdgl_metis.so # workaround for https://github.com/dmlc/dgl/issues/5666 + +OPTIONS_RADIO= BACKEND +OPTIONS_RADIO_BACKEND= PYTORCH TENSORFLOW MXNET +OPTIONS_DEFAULT= PYTORCH + +PYTORCH_DESC= Use PyTorch backend +PYTORCH_VARS= BACKEND_DEPENDS=${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR} +PYTORCH_MAKE_ENV= DGLBACKEND=pytorch + +TENSORFLOW_DESC= Use TensorFlow backend +TENSORFLOW_VARS= BACKEND_DEPENDS=${PYTHON_PKGNAMEPREFIX}tensorflow>0:science/py-tensorflow@${PY_FLAVOR} +TENSORFLOW_MAKE_ENV= DGLBACKEND=tensorflow +TENSORFLOW_CMAKE_ON= -DBUILD_SPARSE=OFF + +MXNET_DESC= Use MXNET backend +MXNET_VARS= BACKEND_DEPENDS=${PYTHON_PKGNAMEPREFIX}mxnet>0:misc/py-mxnet@${PY_FLAVOR} +MXNET_MAKE_ENV= DGLBACKEND=mxnet + +post-install: # workaround for https://github.com/dmlc/dgl/issues/5666 + ${INSTALL_LIB} ${BUILD_WRKSRC}/third_party/METIS/libmetis/libdgl_metis.so ${STAGEDIR}${PREFIX}/lib + +.include diff --git a/math/dgl/distinfo b/math/dgl/distinfo new file mode 100644 index 000000000000..8ab0e5fdb4df --- /dev/null +++ b/math/dgl/distinfo @@ -0,0 +1,33 @@ +TIMESTAMP = 1683606177 +SHA256 (dmlc-dgl-1.1.0_GH0.tar.gz) = 71c8ba7777ffdca37638bc796524d42c51006fad385967fa140235b60aac0252 +SIZE (dmlc-dgl-1.1.0_GH0.tar.gz) = 5536874 +SHA256 (apache-tvm-b2e418c_GH0.tar.gz) = f351aee38d7ad4bb1025407e26d5ed21704d1daf6cb2c2b7972ec1bef11189b7 +SIZE (apache-tvm-b2e418c_GH0.tar.gz) = 4105160 +SHA256 (dmlc-dlpack-e2bdd3b_GH0.tar.gz) = e88e702277cf4cfa4814afdbb27b07b75041d80b3df60da387cdd7e0ebeb6817 +SIZE (dmlc-dlpack-e2bdd3b_GH0.tar.gz) = 76235 +SHA256 (dmlc-dmlc-core-bfad207_GH0.tar.gz) = cb9d69eef2b73349367da53f01e54f16b0b26e0f3f063360a33c6313da494fd8 +SIZE (dmlc-dmlc-core-bfad207_GH0.tar.gz) = 256022 +SHA256 (greg7mdp-parallel-hashmap-25293ce_GH0.tar.gz) = 79bf3c49d9a685615b6876cb668c678975762e72efc95ff27afeb04d08f3e4bc +SIZE (greg7mdp-parallel-hashmap-25293ce_GH0.tar.gz) = 1991684 +SHA256 (herumi-xbyak-757e406_GH0.tar.gz) = ce13e1474237d16e4e1f66601e52db18e66f2ba98037ca800c1d9e6068d67cf6 +SIZE (herumi-xbyak-757e406_GH0.tar.gz) = 237424 +SHA256 (imneme-pcg-cpp-428802d_GH0.tar.gz) = 94cfcaace3031f42a246ef3f01b9da04bbd51baf0a749369f085e9e25e46fdbb +SIZE (imneme-pcg-cpp-428802d_GH0.tar.gz) = 78185 +SHA256 (jlblancoc-nanoflann-4c47ca2_GH0.tar.gz) = 84523ebbca828309da8ef35544d14c810419d6a7ecc7a6e103049bc4f2900a9e +SIZE (jlblancoc-nanoflann-4c47ca2_GH0.tar.gz) = 685221 +SHA256 (KarypisLab-METIS-1060348_GH0.tar.gz) = 3d0b2741c650c8a01019e294a12e0bc85653d251fd6956486b7fcbc90314ab1d +SIZE (KarypisLab-METIS-1060348_GH0.tar.gz) = 4839628 +SHA256 (KarypisLab-GKlib-62de20c_GH0.tar.gz) = b10827ec6c2481aded336dd99de1d241f5c59a65e186fdc1e6d4ee57527941aa +SIZE (KarypisLab-GKlib-62de20c_GH0.tar.gz) = 178104 +SHA256 (pytorch-tensorpipe-6042f1a_GH0.tar.gz) = b1f269a2694d85345c90acd6d22481702e3da8c3c28c0446c5c134026edf02e8 +SIZE (pytorch-tensorpipe-6042f1a_GH0.tar.gz) = 258701 +SHA256 (libuv-libuv-1dff88e_GH0.tar.gz) = 5a1e54bf17161c2e8886f584e88078318ad9c902d9b7b1d9b0f3e682f43bee48 +SIZE (libuv-libuv-1dff88e_GH0.tar.gz) = 1281275 +SHA256 (google-libnop-aa95422_GH0.tar.gz) = a1bc9d94289868a5d40e36964d57c8e06b52cb4cfff6cc21ff259337f707d0e1 +SIZE (google-libnop-aa95422_GH0.tar.gz) = 124119 +SHA256 (hfp-libxsmm-fa68755_GH0.tar.gz) = da3ebc9e628099a3bcfa2a0c6976f0cd7e8d0eba4a85b65428167e812c367986 +SIZE (hfp-libxsmm-fa68755_GH0.tar.gz) = 5259772 +SHA256 (NVIDIA-thrust-6a3078c_GH0.tar.gz) = c4d32d275c29689c2a7bf3b33dff87d533bb0a2f606256de44cc4e3780cc9130 +SIZE (NVIDIA-thrust-6a3078c_GH0.tar.gz) = 999915 +SHA256 (google-googletest-f71fb4f_GH0.tar.gz) = 196e6d0f943c2f741665e64ed500916fe6273d4f398007c95909ffe187704391 +SIZE (google-googletest-f71fb4f_GH0.tar.gz) = 957143 diff --git a/math/dgl/files/patch-CMakeLists.txt b/math/dgl/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..d973f21dd773 --- /dev/null +++ b/math/dgl/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2023-05-09 05:00:36 UTC ++++ CMakeLists.txt +@@ -197,7 +197,7 @@ if(NOT MSVC) + include_directories(${GKLIB_PATH}) + include_directories("third_party/METIS/include/") + add_subdirectory("third_party/METIS/libmetis/") +- list(APPEND DGL_LINKER_LIBS metis) ++ list(APPEND DGL_LINKER_LIBS dgl_metis) + endif(NOT MSVC) + + # Compile LIBXSMM diff --git a/math/dgl/files/patch-python_dgl_backend_____init____.py b/math/dgl/files/patch-python_dgl_backend_____init____.py new file mode 100644 index 000000000000..1547284444fe --- /dev/null +++ b/math/dgl/files/patch-python_dgl_backend_____init____.py @@ -0,0 +1,13 @@ +--- python/dgl/backend/__init__.py.orig 2023-05-08 05:34:30 UTC ++++ python/dgl/backend/__init__.py +@@ -115,8 +115,8 @@ def get_preferred_backend(): + "Assuming PyTorch for now.", + file=sys.stderr, + ) +- set_default_backend(default_dir, "pytorch") +- return "pytorch" ++ set_default_backend(default_dir, "tensorflow") ++ return "tensorflow" + + + load_backend(get_preferred_backend()) diff --git a/math/dgl/files/patch-src_runtime_shared__mem.cc b/math/dgl/files/patch-src_runtime_shared__mem.cc new file mode 100644 index 000000000000..9bd03e0fe9f6 --- /dev/null +++ b/math/dgl/files/patch-src_runtime_shared__mem.cc @@ -0,0 +1,10 @@ +--- src/runtime/shared_mem.cc.orig 2023-04-30 05:51:10 UTC ++++ src/runtime/shared_mem.cc +@@ -6,6 +6,7 @@ + #ifndef _WIN32 + #include + #include ++#include + #include + #endif + #include diff --git a/math/dgl/files/patch-third__party_METIS_libmetis_CMakeLists.txt b/math/dgl/files/patch-third__party_METIS_libmetis_CMakeLists.txt new file mode 100644 index 000000000000..4e15c3b7ef39 --- /dev/null +++ b/math/dgl/files/patch-third__party_METIS_libmetis_CMakeLists.txt @@ -0,0 +1,19 @@ +--- third_party/METIS/libmetis/CMakeLists.txt.orig 2023-05-09 05:04:07 UTC ++++ third_party/METIS/libmetis/CMakeLists.txt +@@ -3,13 +3,13 @@ include_directories(.) + # Find sources. + file(GLOB metis_sources *.c) + # Build libmetis. +-add_library(metis ${METIS_LIBRARY_TYPE} ${GKlib_sources} ${metis_sources}) ++add_library(dgl_metis ${METIS_LIBRARY_TYPE} ${GKlib_sources} ${metis_sources}) + if(UNIX) +- target_link_libraries(metis m) ++ target_link_libraries(dgl_metis m) + endif() + + if(METIS_INSTALL) +- install(TARGETS metis ++ install(TARGETS dgl_metis + LIBRARY DESTINATION lib + RUNTIME DESTINATION lib + ARCHIVE DESTINATION lib) diff --git a/math/dgl/files/patch-third__party_tensorpipe_tensorpipe_common_system.cc b/math/dgl/files/patch-third__party_tensorpipe_tensorpipe_common_system.cc new file mode 100644 index 000000000000..3cd8d0aab6b1 --- /dev/null +++ b/math/dgl/files/patch-third__party_tensorpipe_tensorpipe_common_system.cc @@ -0,0 +1,41 @@ +--- third_party/tensorpipe/tensorpipe/common/system.cc.orig 2021-08-31 10:11:56 UTC ++++ third_party/tensorpipe/tensorpipe/common/system.cc +@@ -16,6 +16,13 @@ + #include + #endif + ++#ifdef __FreeBSD__ ++#include ++#include ++#include ++#include ++#endif ++ + #ifdef __APPLE__ + #include + #endif +@@ -141,8 +148,9 @@ std::string removeBlankSpaces(std::string s) { + } + + optional getBootID() { +- static optional bootID = getBootIDInternal(); +- return bootID; ++ //static optional bootID = getBootIDInternal(); ++ //return bootID; ++ throw std::runtime_error("tensorpipe lacks FreeBSD support (getBootIDInternal), see https://github.com/pytorch/tensorpipe/issues/461"); + } + + #ifdef __APPLE__ +@@ -277,6 +285,12 @@ optional getPermittedCapabilitiesID() { + std::ostringstream oss; + oss << std::hex << bitmask; + return oss.str(); ++} ++ ++#elif defined(__FreeBSD__) ++ ++optional getLinuxNamespaceId(LinuxNamespace ns) { ++ return std::string(); + } + + #endif diff --git a/math/dgl/pkg-descr b/math/dgl/pkg-descr new file mode 100644 index 000000000000..459fb5664e85 --- /dev/null +++ b/math/dgl/pkg-descr @@ -0,0 +1,2 @@ +DGL is a Python package built to ease deep learning on graphs +on top of existing DL frameworks. diff --git a/math/dgl/pkg-plist b/math/dgl/pkg-plist new file mode 100644 index 000000000000..13b1820cb7d4 --- /dev/null +++ b/math/dgl/pkg-plist @@ -0,0 +1,64 @@ +include/dmlc/any.h +include/dmlc/array_view.h +include/dmlc/base.h +include/dmlc/blockingconcurrentqueue.h +include/dmlc/build_config.h +include/dmlc/build_config_default.h +include/dmlc/common.h +include/dmlc/concurrency.h +include/dmlc/concurrentqueue.h +include/dmlc/config.h +include/dmlc/data.h +include/dmlc/endian.h +include/dmlc/filesystem.h +include/dmlc/input_split_shuffle.h +include/dmlc/io.h +include/dmlc/json.h +include/dmlc/logging.h +include/dmlc/lua.h +include/dmlc/memory.h +include/dmlc/memory_io.h +include/dmlc/omp.h +include/dmlc/optional.h +include/dmlc/parameter.h +include/dmlc/recordio.h +include/dmlc/registry.h +include/dmlc/serializer.h +include/dmlc/strtonum.h +include/dmlc/thread_group.h +include/dmlc/thread_local.h +include/dmlc/threadediter.h +include/dmlc/timer.h +include/dmlc/type_traits.h +include/tensorpipe/channel/basic/factory.h +include/tensorpipe/channel/context.h +include/tensorpipe/channel/error.h +include/tensorpipe/channel/mpt/factory.h +include/tensorpipe/channel/xth/factory.h +include/tensorpipe/common/buffer.h +include/tensorpipe/common/cpu_buffer.h +include/tensorpipe/common/device.h +include/tensorpipe/common/error.h +include/tensorpipe/common/optional.h +include/tensorpipe/config.h +include/tensorpipe/core/context.h +include/tensorpipe/core/error.h +include/tensorpipe/core/listener.h +include/tensorpipe/core/message.h +include/tensorpipe/core/pipe.h +include/tensorpipe/tensorpipe.h +include/tensorpipe/transport/context.h +include/tensorpipe/transport/error.h +include/tensorpipe/transport/uv/error.h +include/tensorpipe/transport/uv/factory.h +include/tensorpipe/transport/uv/utility.h +lib/cmake/dmlc/DMLCTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/dmlc/DMLCTargets.cmake +lib/cmake/dmlc/dmlc-config-version.cmake +lib/cmake/dmlc/dmlc-config.cmake +lib/libdgl.so +lib/libdmlc.so +lib/libtensorpipe.so +lib/libtensorpipe_uv.a +share/cmake/Tensorpipe/TensorpipeTargets-%%CMAKE_BUILD_TYPE%%.cmake +share/cmake/Tensorpipe/TensorpipeTargets.cmake