From nobody Sat Jul 24 20:34:36 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 12CA012BBDAB for ; Sat, 24 Jul 2021 20:34:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GXHwr6SyVz3nNn for ; Sat, 24 Jul 2021 20:34:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C2D76171EF for ; Sat, 24 Jul 2021 20:34:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16OKYabL043009 for ; Sat, 24 Jul 2021 20:34:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16OKYa3w043008 for ports-bugs@FreeBSD.org; Sat, 24 Jul 2021 20:34:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 257396] math/py-numpy typo in ATLAS option forces use of lapack instead of alapack Date: Sat, 24 Jul 2021 20:34:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: alt2600@icloud.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257396 Bug ID: 257396 Summary: math/py-numpy typo in ATLAS option forces use of lapack instead of alapack Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: python@FreeBSD.org Reporter: alt2600@icloud.com Assignee: python@FreeBSD.org Flags: maintainer-feedback?(python@FreeBSD.org) Created attachment 226659 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D226659&action= =3Dedit patch-Makefile-fixtypo-alapack Not sure if this is intended or not but if the ATLAS option is taken the la= pack lib in the ATLAS_VARS as the string defines to use alpack for lapack librar= y, but it should be alapack, see output of configure. I only ask and post as I have used the framework of this numpy port to get scipy building with other blas libraries using the same mechanisms to dynamically set site.cfg, and it seems to work, but I noticed it was not using the Atlas libalapack libraries but instead saying it is using atlas wihtout atlas lapack and defaulting ba= ck to normal lapack. Just want to make sure this is a typo and intent is to use the atlas lapack version for the ATLAS option. see below and attached patch= . I just want to make sure I prepare the best version for the scipy patch I am preparing by checking this first. in both cases numpy builds with no orphan= s. ###Unpatched Uses lapack creating /tmp/tmplnipbtve/tmp creating /tmp/tmplnipbtve/tmp/tmplnipbtve compile options: '-MMD -MF /tmp/tmplnipbtve/file.c.d -c' cc: /tmp/tmplnipbtve/file.c FOUND: libraries =3D ['lapack', 'lapack'] library_dirs =3D ['/usr/local/lib'] language =3D f77 FOUND: include_dirs =3D ['/usr/local/include'] language =3D f77 libraries =3D ['ptf77blas', 'ptcblas', 'lapack', 'lapack'] library_dirs =3D ['/usr/local/lib'] define_macros =3D [('ATLAS_WITHOUT_LAPACK', None)] /usr/local/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros' warnings.warn(msg) running config ###With Patch use Atlas's lapack creating /tmp/tmpebgjdj2s/tmp creating /tmp/tmpebgjdj2s/tmp/tmpebgjdj2s compile options: '-MMD -MF /tmp/tmpebgjdj2s/file.c.d -c' cc: /tmp/tmpebgjdj2s/file.c libraries tatlas not found in ['/usr/lib', '/usr/local/lib', '/usr/local/lib/gcc10/gcc/x86_64-portbld-freebsd12.2/10.3.0/../../../'] Library tatlas was not found. Ignoring FOUND: include_dirs =3D ['/usr/local/include'] language =3D f77 libraries =3D ['alapack', 'ptf77blas', 'ptcblas'] library_dirs =3D ['/usr/local/lib'] define_macros =3D [('ATLAS_INFO', '"None"')] FOUND: include_dirs =3D ['/usr/local/include'] language =3D f77 libraries =3D ['alapack', 'ptf77blas', 'ptcblas'] library_dirs =3D ['/usr/local/lib'] define_macros =3D [('ATLAS_INFO', '"None"')] /usr/local/lib/python3.8/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros' warnings.warn(msg) running config --=20 You are receiving this mail because: You are the assignee for the bug.=