Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Commit a5e9844

Browse files
ararslanstaticfloat
authored andcommitted
Stop building and shipping openspecfun (JuliaLang#23598)
1 parent 780407c commit a5e9844

11 files changed

+11
-65
lines changed

LICENSE.md

-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ their own licenses:
5454
- [ARPACK](http://www.caam.rice.edu/software/ARPACK/RiceBSD.txt#LICENSE) [BSD-3]
5555
- [DSFMT](http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/LICENSE.txt) [BSD-3]
5656
- [OPENLIBM](https://github.com/JuliaLang/openlibm/blob/master/LICENSE.md) [MIT, BSD-2, ISC]
57-
- [OPENSPECFUN](https://github.com/JuliaLang/openspecfun) [MIT, public domain]
58-
- [FADDEEVA](http://ab-initio.mit.edu/Faddeeva) [MIT]
5957
- [GMP](http://gmplib.org/manual/Copying.html#Copying) [LGPL3+ or GPL2+]
6058
- [LIBGIT2](https://github.com/libgit2/libgit2/blob/development/COPYING) [GPL2+ with unlimited linking exception]
6159
- [CURL](https://curl.haxx.se/docs/copyright.html) [MIT/X derivative]

Make.inc

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ USE_SYSTEM_PCRE:=0
3131
USE_SYSTEM_LIBM:=0
3232
USE_SYSTEM_OPENLIBM:=0
3333
UNTRUSTED_SYSTEM_LIBM:=0
34-
USE_SYSTEM_OPENSPECFUN:=0
3534
USE_SYSTEM_DSFMT:=0
3635
USE_SYSTEM_BLAS:=0
3736
USE_SYSTEM_LAPACK:=0

Makefile

-3
Original file line numberDiff line numberDiff line change
@@ -251,9 +251,6 @@ ifeq ($(USE_SYSTEM_LIBM),0)
251251
JL_PRIVATE_LIBS += openlibm
252252
endif
253253
endif
254-
ifeq ($(USE_SYSTEM_OPENSPECFUN),0)
255-
JL_PRIVATE_LIBS += openspecfun
256-
endif
257254
ifeq ($(USE_SYSTEM_DSFMT),0)
258255
JL_PRIVATE_LIBS += dSFMT
259256
endif

NEWS.md

+4
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ This section lists changes that do not have deprecation warnings.
202202
They now return `CartesianIndex`es for all but 1-d arrays, and in general return
203203
the `keys` of indexed collections (e.g. dictionaries) ([#22907]).
204204

205+
* The `openspecfun` library is no longer built and shipped with Julia, as it is no longer
206+
used internally ([#22390]).
207+
205208
Library improvements
206209
--------------------
207210

@@ -1276,6 +1279,7 @@ Command-line option changes
12761279
[#22310]: https://github.com/JuliaLang/julia/issues/22310
12771280
[#22325]: https://github.com/JuliaLang/julia/issues/22325
12781281
[#22350]: https://github.com/JuliaLang/julia/issues/22350
1282+
[#22390]: https://github.com/JuliaLang/julia/issues/22390
12791283
[#22496]: https://github.com/JuliaLang/julia/issues/22496
12801284
[#22523]: https://github.com/JuliaLang/julia/issues/22523
12811285
[#22532]: https://github.com/JuliaLang/julia/issues/22532

README.md

-4
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,10 @@ Julia uses the following external libraries, which are automatically downloaded
289289
- **[FemtoLisp]** — packaged with Julia source, and used to implement the compiler front-end.
290290
- **[libuv]** — portable, high-performance event-based I/O library
291291
- **[OpenLibm]** — portable libm library containing elementary math functions.
292-
- **[OpenSpecFun]** (>= 0.4) — library containing Bessel and error functions of complex arguments.
293292
- **[DSFMT]** — fast Mersenne Twister pseudorandom number generator library.
294293
- **[OpenBLAS]** — fast, open, and maintained [basic linear algebra subprograms (BLAS)](https://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms) library, based on [Kazushige Goto's](https://en.wikipedia.org/wiki/Kazushige_Goto) famous [GotoBLAS](https://www.tacc.utexas.edu/research-development/tacc-software/gotoblas2).
295294
- **[LAPACK]** (>= 3.5) — library of linear algebra routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems.
296295
- **[MKL]** (optional) – OpenBLAS and LAPACK may be replaced by Intel's MKL library.
297-
- **[AMOS]** — subroutines for computing Bessel and Airy functions.
298296
- **[SuiteSparse]** (>= 4.1) — library of linear algebra routines for sparse matrices.
299297
- **[ARPACK]** — collection of subroutines designed to solve large, sparse eigenvalue problems.
300298
- **[PCRE]** (>= 10.00) — Perl-compatible regular expressions library.
@@ -320,13 +318,11 @@ Julia uses the following external libraries, which are automatically downloaded
320318
[perl]: http://www.perl.org
321319
[cmake]: http://www.cmake.org
322320
[OpenLibm]: https://github.com/JuliaLang/openlibm
323-
[OpenSpecFun]: https://github.com/JuliaLang/openspecfun
324321
[DSFMT]: http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/#dSFMT
325322
[OpenBLAS]: https://github.com/xianyi/OpenBLAS
326323
[LAPACK]: http://www.netlib.org/lapack
327324
[MKL]: http://software.intel.com/en-us/articles/intel-mkl
328325
[SuiteSparse]: http://faculty.cse.tamu.edu/davis/suitesparse.html
329-
[AMOS]: http://netlib.org/amos
330326
[ARPACK]: http://forge.scilab.org/index.php/p/arpack-ng
331327
[PCRE]: http://www.pcre.org
332328
[LLVM]: http://www.llvm.org

base/math.jl

-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ log(b::Number, x::Number) = log(promote(b,x)...)
201201
# type specific math functions
202202

203203
const libm = Base.libm_name
204-
const openspecfun = "libopenspecfun"
205204

206205
# functions with no domain error
207206
"""

contrib/fixup-libgfortran.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ private_libname()
5252
}
5353

5454
# First, discover all the places where libgfortran/libgcc is, as well as their true SONAMES
55-
for lib in arpack openspecfun lapack; do
55+
for lib in arpack lapack; do
5656
if [ -f "$private_libdir/lib$lib.$SHLIB_EXT" ]; then
5757
# Find the paths to the libraries we're interested in. These are almost
5858
# always within the same directory, but we like to be general.
@@ -125,13 +125,13 @@ change_linkage()
125125
}
126126

127127
# For every library that remotely touches libgfortran stuff (the libraries we
128-
# have copied in ourselves as well as arpack, openspecfun, etc...) we must
128+
# have copied in ourselves as well as arpack, etc...) we must
129129
# update the linkage to point to @rpath (on OSX) or $ORIGIN (on Linux) so
130130
# that direct links to the old libgfortran directories are instead directed
131131
# to the proper location, which is our $private_libdir.
132-
for lib in libopenblas libarpack libcholmod liblapack libopenspecfun $SONAMES; do
132+
for lib in libopenblas libarpack libcholmod liblapack $SONAMES; do
133133
# Grab every incarnation of that library that exists within $private_libdir
134-
# (e.g. "libopenspecfun.so", and "libopenspecfun.so.0", etc...)
134+
# (e.g. "libopenblas.so", and "libopenblas.so.0", etc...)
135135
for lib_path in $private_libdir/$lib*; do
136136
# Iterate over dependency names that need to be changed
137137
for soname in $SONAMES; do

contrib/windows/appveyor_build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ fi
167167
chmod +x usr/bin/* usr/tools/*
168168

169169
for lib in SUITESPARSE ARPACK BLAS LAPACK \
170-
GMP MPFR PCRE LIBUNWIND OPENSPECFUN; do
170+
GMP MPFR PCRE LIBUNWIND; do
171171
echo "USE_SYSTEM_$lib = 1" >> Make.user
172172
done
173173
echo 'override LIBLAPACK = $(LIBBLAS)' >> Make.user

deps/Makefile

+2-7
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ include $(SRCDIR)/tools/git-external.mk
2424
# custom Makefile rules: openlibm dsfmt suitesparse-wrapper suitesparse lapack openblas utf8proc objconv osxunwind
2525
# CMake libs: libgit2 libssh2 mbedtls
2626
#
27-
# downloaded from git: llvm-svn, libuv, libopenlibm, utf8proc, openspecfun, libgit2, libssh2
27+
# downloaded from git: llvm-svn, libuv, libopenlibm, utf8proc, libgit2, libssh2
2828
#
2929
# there are rules in this file with the . replaced by a %
3030
# this is some magic Makefile trick that tells make
@@ -79,10 +79,6 @@ DEP_LIBS += openlibm
7979
endif
8080
endif
8181

82-
ifeq ($(USE_SYSTEM_OPENSPECFUN), 0)
83-
DEP_LIBS += openspecfun
84-
endif
85-
8682
ifeq ($(USE_SYSTEM_DSFMT), 0)
8783
DEP_LIBS += dsfmt
8884
endif
@@ -172,13 +168,12 @@ uninstall: $(addprefix uninstall-, $(DEP_LIBS_STAGED))
172168
cleanall: $(addprefix clean-, $(DEP_LIBS))
173169
distcleanall: $(addprefix distclean-, $(DEP_LIBS))
174170
rm -rf $(build_prefix)
175-
getall: get-llvm get-libuv get-pcre get-openlibm get-openspecfun get-dsfmt get-openblas get-lapack get-suitesparse get-arpack get-unwind get-osxunwind get-gmp get-mpfr get-patchelf get-utf8proc get-objconv get-mbedtls get-libssh2 get-curl get-libgit2
171+
getall: get-llvm get-libuv get-pcre get-openlibm get-dsfmt get-openblas get-lapack get-suitesparse get-arpack get-unwind get-osxunwind get-gmp get-mpfr get-patchelf get-utf8proc get-objconv get-mbedtls get-libssh2 get-curl get-libgit2
176172

177173
include $(SRCDIR)/llvm.mk
178174
include $(SRCDIR)/libuv.mk
179175
include $(SRCDIR)/pcre.mk
180176
include $(SRCDIR)/openlibm.mk
181-
include $(SRCDIR)/openspecfun.mk
182177
include $(SRCDIR)/dsfmt.mk
183178
include $(SRCDIR)/objconv.mk
184179
include $(SRCDIR)/blas.mk

deps/openspecfun.mk

-40
This file was deleted.

deps/openspecfun.version

-2
This file was deleted.

0 commit comments

Comments
 (0)