Commit graph

15 commits

Author SHA1 Message Date
Jan Beich
63f673e401 math/py-pysparse: unbreak on non-LLD architectures after r515313
creating /tmp/tmp2txkG8/tmp
creating /tmp/tmp2txkG8/tmp/tmp2txkG8
compile options: '-I/usr/include -I/usr/local/include -I/usr/local/include/suitesparse -c'
cc: /tmp/tmp2txkG8/source.c
cc /tmp/tmp2txkG8/tmp/tmp2txkG8/source.o -L/usr/local/lib -lcblas -o /tmp/tmp2txkG8/a.out
/usr/local/lib/libcblas.so: undefined reference to `cgemv_'
/usr/local/lib/libcblas.so: undefined reference to `cscal_'
/usr/local/lib/libcblas.so: undefined reference to `sdot_'
/usr/local/lib/libcblas.so: undefined reference to `dtrmm_'
/usr/local/lib/libcblas.so: undefined reference to `zhpr_'
/usr/local/lib/libcblas.so: undefined reference to `snrm2_'
/usr/local/lib/libcblas.so: undefined reference to `zherk_'
/usr/local/lib/libcblas.so: undefined reference to `sspmv_'
/usr/local/lib/libcblas.so: undefined reference to `cswap_'
/usr/local/lib/libcblas.so: undefined reference to `dswap_'
/usr/local/lib/libcblas.so: undefined reference to `dgemm_'
/usr/local/lib/libcblas.so: undefined reference to `ztrmv_'
/usr/local/lib/libcblas.so: undefined reference to `zgbmv_'
/usr/local/lib/libcblas.so: undefined reference to `ctbsv_'
/usr/local/lib/libcblas.so: undefined reference to `dger_'
/usr/local/lib/libcblas.so: undefined reference to `dtpsv_'
/usr/local/lib/libcblas.so: undefined reference to `sspr_'
/usr/local/lib/libcblas.so: undefined reference to `cher_'
/usr/local/lib/libcblas.so: undefined reference to `caxpy_'
/usr/local/lib/libcblas.so: undefined reference to `ztpsv_'
/usr/local/lib/libcblas.so: undefined reference to `zscal_'
/usr/local/lib/libcblas.so: undefined reference to `sswap_'
/usr/local/lib/libcblas.so: undefined reference to `ctpsv_'
/usr/local/lib/libcblas.so: undefined reference to `dzasum_'
/usr/local/lib/libcblas.so: undefined reference to `daxpy_'
/usr/local/lib/libcblas.so: undefined reference to `ctrsv_'
/usr/local/lib/libcblas.so: undefined reference to `izamax_'
/usr/local/lib/libcblas.so: undefined reference to `sasum_'
/usr/local/lib/libcblas.so: undefined reference to `drotg_'
/usr/local/lib/libcblas.so: undefined reference to `dsymm_'
/usr/local/lib/libcblas.so: undefined reference to `zhpr2_'
/usr/local/lib/libcblas.so: undefined reference to `stpsv_'
/usr/local/lib/libcblas.so: undefined reference to `ssbmv_'
/usr/local/lib/libcblas.so: undefined reference to `cgbmv_'
/usr/local/lib/libcblas.so: undefined reference to `zhbmv_'
/usr/local/lib/libcblas.so: undefined reference to `srotmg_'
/usr/local/lib/libcblas.so: undefined reference to `cgemm_'
/usr/local/lib/libcblas.so: undefined reference to `dtpmv_'
/usr/local/lib/libcblas.so: undefined reference to `chemv_'
/usr/local/lib/libcblas.so: undefined reference to `ssyr2_'
/usr/local/lib/libcblas.so: undefined reference to `ctbmv_'
/usr/local/lib/libcblas.so: undefined reference to `saxpy_'
/usr/local/lib/libcblas.so: undefined reference to `drotm_'
/usr/local/lib/libcblas.so: undefined reference to `dnrm2_'
/usr/local/lib/libcblas.so: undefined reference to `ctrmm_'
/usr/local/lib/libcblas.so: undefined reference to `ztbsv_'
/usr/local/lib/libcblas.so: undefined reference to `dtrsv_'
/usr/local/lib/libcblas.so: undefined reference to `zdotu_'
/usr/local/lib/libcblas.so: undefined reference to `dsyr_'
/usr/local/lib/libcblas.so: undefined reference to `srot_'
/usr/local/lib/libcblas.so: undefined reference to `ccopy_'
/usr/local/lib/libcblas.so: undefined reference to `zgeru_'
/usr/local/lib/libcblas.so: undefined reference to `zhpmv_'
/usr/local/lib/libcblas.so: undefined reference to `csyr2k_'
/usr/local/lib/libcblas.so: undefined reference to `ctrsm_'
/usr/local/lib/libcblas.so: undefined reference to `sscal_'
/usr/local/lib/libcblas.so: undefined reference to `cgerc_'
/usr/local/lib/libcblas.so: undefined reference to `dcopy_'
/usr/local/lib/libcblas.so: undefined reference to `scnrm2_'
/usr/local/lib/libcblas.so: undefined reference to `zgemm_'
/usr/local/lib/libcblas.so: undefined reference to `sgbmv_'
/usr/local/lib/libcblas.so: undefined reference to `sspr2_'
/usr/local/lib/libcblas.so: undefined reference to `ztrsv_'
/usr/local/lib/libcblas.so: undefined reference to `cgeru_'
/usr/local/lib/libcblas.so: undefined reference to `dscal_'
/usr/local/lib/libcblas.so: undefined reference to `dgbmv_'
/usr/local/lib/libcblas.so: undefined reference to `chpr_'
/usr/local/lib/libcblas.so: undefined reference to `zdscal_'
/usr/local/lib/libcblas.so: undefined reference to `strmm_'
/usr/local/lib/libcblas.so: undefined reference to `ssymm_'
/usr/local/lib/libcblas.so: undefined reference to `zgemv_'
/usr/local/lib/libcblas.so: undefined reference to `ddot_'
/usr/local/lib/libcblas.so: undefined reference to `isamax_'
/usr/local/lib/libcblas.so: undefined reference to `drotmg_'
/usr/local/lib/libcblas.so: undefined reference to `zsyrk_'
/usr/local/lib/libcblas.so: undefined reference to `stbsv_'
/usr/local/lib/libcblas.so: undefined reference to `strsv_'
/usr/local/lib/libcblas.so: undefined reference to `scasum_'
/usr/local/lib/libcblas.so: undefined reference to `srotg_'
/usr/local/lib/libcblas.so: undefined reference to `sdsdot_'
/usr/local/lib/libcblas.so: undefined reference to `sgemm_'
/usr/local/lib/libcblas.so: undefined reference to `scopy_'
/usr/local/lib/libcblas.so: undefined reference to `zdotc_'
/usr/local/lib/libcblas.so: undefined reference to `dsyr2k_'
/usr/local/lib/libcblas.so: undefined reference to `dsyrk_'
/usr/local/lib/libcblas.so: undefined reference to `csscal_'
/usr/local/lib/libcblas.so: undefined reference to `dasum_'
/usr/local/lib/libcblas.so: undefined reference to `ssyr_'
/usr/local/lib/libcblas.so: undefined reference to `ssyr2k_'
/usr/local/lib/libcblas.so: undefined reference to `dspr2_'
/usr/local/lib/libcblas.so: undefined reference to `zher2_'
/usr/local/lib/libcblas.so: undefined reference to `dtrsm_'
/usr/local/lib/libcblas.so: undefined reference to `idamax_'
/usr/local/lib/libcblas.so: undefined reference to `dtbsv_'
/usr/local/lib/libcblas.so: undefined reference to `ctrmv_'
/usr/local/lib/libcblas.so: undefined reference to `strmv_'
/usr/local/lib/libcblas.so: undefined reference to `zaxpy_'
/usr/local/lib/libcblas.so: undefined reference to `zher_'
/usr/local/lib/libcblas.so: undefined reference to `ssymv_'
/usr/local/lib/libcblas.so: undefined reference to `zhemm_'
/usr/local/lib/libcblas.so: undefined reference to `dtrmv_'
/usr/local/lib/libcblas.so: undefined reference to `zgerc_'
/usr/local/lib/libcblas.so: undefined reference to `chemm_'
/usr/local/lib/libcblas.so: undefined reference to `zher2k_'
/usr/local/lib/libcblas.so: undefined reference to `ztpmv_'
/usr/local/lib/libcblas.so: undefined reference to `zswap_'
/usr/local/lib/libcblas.so: undefined reference to `dspmv_'
/usr/local/lib/libcblas.so: undefined reference to `zsymm_'
/usr/local/lib/libcblas.so: undefined reference to `ztrmm_'
/usr/local/lib/libcblas.so: undefined reference to `dtbmv_'
/usr/local/lib/libcblas.so: undefined reference to `dgemv_'
/usr/local/lib/libcblas.so: undefined reference to `sgemv_'
/usr/local/lib/libcblas.so: undefined reference to `chpr2_'
/usr/local/lib/libcblas.so: undefined reference to `cdotu_'
/usr/local/lib/libcblas.so: undefined reference to `ctpmv_'
/usr/local/lib/libcblas.so: undefined reference to `cher2k_'
/usr/local/lib/libcblas.so: undefined reference to `csymm_'
/usr/local/lib/libcblas.so: undefined reference to `ztrsm_'
/usr/local/lib/libcblas.so: undefined reference to `cherk_'
/usr/local/lib/libcblas.so: undefined reference to `cdotc_'
/usr/local/lib/libcblas.so: undefined reference to `dsbmv_'
/usr/local/lib/libcblas.so: undefined reference to `csyrk_'
/usr/local/lib/libcblas.so: undefined reference to `stpmv_'
/usr/local/lib/libcblas.so: undefined reference to `chpmv_'
/usr/local/lib/libcblas.so: undefined reference to `sger_'
/usr/local/lib/libcblas.so: undefined reference to `cher2_'
/usr/local/lib/libcblas.so: undefined reference to `zsyr2k_'
/usr/local/lib/libcblas.so: undefined reference to `strsm_'
/usr/local/lib/libcblas.so: undefined reference to `dznrm2_'
/usr/local/lib/libcblas.so: undefined reference to `stbmv_'
/usr/local/lib/libcblas.so: undefined reference to `chbmv_'
/usr/local/lib/libcblas.so: undefined reference to `dsyr2_'
/usr/local/lib/libcblas.so: undefined reference to `dsdot_'
/usr/local/lib/libcblas.so: undefined reference to `zcopy_'
/usr/local/lib/libcblas.so: undefined reference to `dspr_'
/usr/local/lib/libcblas.so: undefined reference to `icamax_'
/usr/local/lib/libcblas.so: undefined reference to `dsymv_'
/usr/local/lib/libcblas.so: undefined reference to `zhemv_'
/usr/local/lib/libcblas.so: undefined reference to `ssyrk_'
/usr/local/lib/libcblas.so: undefined reference to `srotm_'
/usr/local/lib/libcblas.so: undefined reference to `drot_'
/usr/local/lib/libcblas.so: undefined reference to `ztbmv_'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
cc /tmp/tmp2txkG8/tmp/tmp2txkG8/source.o -L/usr/local/lib -lblas -o /tmp/tmp2txkG8/a.out
/tmp/tmp2txkG8/tmp/tmp2txkG8/source.o: In function `main':
source.c:(.text+0x5c): undefined reference to `cblas_ddot'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 163, in <module>
    setup_package()
  File "setup.py", line 153, in setup_package
    configuration=configuration,
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/core.py", line 137, in setup
    config = configuration()
  File "setup.py", line 62, in configuration
    config.add_subpackage('pysparse')
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 1036, in add_subpackage
    caller_level = 2)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 1005, in get_subpackage
    caller_level = caller_level + 1)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 942, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "pysparse/setup.py", line 11, in configuration
    config.add_subpackage('sparse')
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 1036, in add_subpackage
    caller_level = 2)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 1005, in get_subpackage
    caller_level = caller_level + 1)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/misc_util.py", line 942, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "pysparse/sparse/setup.py", line 19, in configuration
    blas_info = get_info('blas_opt',0)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 448, in get_info
    return cl().get_info(notfound_action)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 641, in get_info
    self.calc_info()
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 1661, in calc_info
    blas_info = get_info('blas')
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 448, in get_info
    return cl().get_info(notfound_action)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 641, in get_info
    self.calc_info()
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 1697, in calc_info
    lib = self.has_cblas(info)
  File "/usr/local/lib/python2.7/site-packages/numpy/distutils/system_info.py", line 1740, in has_cblas
    extra_postargs=info.get('extra_link_args', []))
  File "/usr/local/lib/python2.7/distutils/ccompiler.py", line 700, in link_executable
    debug, extra_preargs, extra_postargs, None, target_lang)
  File "/usr/local/lib/python2.7/distutils/unixccompiler.py", line 202, in link
    raise LinkError, msg
distutils.errors.LinkError: Command "cc /tmp/tmp2txkG8/tmp/tmp2txkG8/source.o -L/usr/local/lib -lblas -o /tmp/tmp2txkG8/a.out" failed with exit status 1

PR:		240937
Reported by:	pkg-fallout
2019-10-25 10:04:38 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Gerald Pfeifer
879e75a659 Related to revision 499061 bump ports with USES=fortran to have them
benefit from the improved situation where libgcc_s is only used when
absolutely necessary.

Suggested by:	tijl
2019-04-22 13:16:33 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Mathieu Arnold
4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00
Gerald Pfeifer
c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00
Yuri Victorovich
a31a69692d Replaced my old rawbw.com maintainer's address with yuri@FreeBSD.org
98 ports are affected.

Approved by:	tcberner (mentor, implicit)
2018-02-25 00:40:37 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Gerald Pfeifer
e4b7b9118a Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms), part II.

The first part covered  ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.

This adds ports with USES=fortran and ports using Mk/bsd.octave.mk
which in turn has USES=fortran.

PR:		214965
Reported by:	thierry
2016-12-07 13:24:56 +00:00
Mathieu Arnold
2884d5aa32 Fixup USE_GITHUB usage.
It already sets DISTNAME to a very nice unique name, do not set it
yourself.

Sponsored by:	Absolight
2016-11-26 10:09:54 +00:00
Jan Beich
4be855d6a6 math/py-numpy: track PORTEPOCH in consumers 2016-10-28 17:13:24 +00:00
Jan Beich
ba485b72fe math/py-pysparse: add new port
PR:		210595
Submitted by:	yuri@rawbw.com

PySparse extends the Python interpreter by a set of sparse matrix
types holding double precision values. PySparse also includes modules
that implement:

- iterative methods for solving linear systems of equations
- a set of standard preconditioners
- an interface to a direct solver for sparse linear systems of
  equations (SuperLU)
- a Jacobi-Davidson eigenvalue solver for the symmetric, generalised
  matrix eigenvalue problem (JDSYM)

https://github.com/PythonOptimizers/pysparse
2016-07-09 17:11:52 +00:00