From owner-freebsd-fortran@freebsd.org Sun Aug 5 20:06:29 2018 Return-Path: Delivered-To: freebsd-fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B9E93105C67D for ; Sun, 5 Aug 2018 20:06:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 77C417593C for ; Sun, 5 Aug 2018 20:06:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 39D63105C679; Sun, 5 Aug 2018 20:06:29 +0000 (UTC) Delivered-To: fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28A28105C678 for ; Sun, 5 Aug 2018 20:06:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B885875939 for ; Sun, 5 Aug 2018 20:06:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 095949CAF for ; Sun, 5 Aug 2018 20:06:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w75K6RqS021930 for ; Sun, 5 Aug 2018 20:06:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w75K6RlQ021929 for fortran@FreeBSD.org; Sun, 5 Aug 2018 20:06:27 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: fortran@FreeBSD.org Subject: [Bug 230391] math/suitesparse: Build fails: ./demo: ../build/simple_demo: not found Date: Sun, 05 Aug 2018 20:06:26 +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 Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fortran@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 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 MIME-Version: 1.0 X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2018 20:06:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230391 Bug ID: 230391 Summary: math/suitesparse: Build fails: ./demo: ../build/simple_demo: not found Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: fortran@FreeBSD.org Reporter: yuri@freebsd.org Assignee: fortran@FreeBSD.org Flags: maintainer-feedback?(fortran@FreeBSD.org) Source: https://forums.freebsd.org/threads/suitesparse-portmaster.65647/#post-397209 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fortran@freebsd.org Sun Aug 5 20:06:29 2018 Return-Path: Delivered-To: freebsd-fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 803B9105C67B for ; Sun, 5 Aug 2018 20:06:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1D8517593A for ; Sun, 5 Aug 2018 20:06:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D392C105C675; Sun, 5 Aug 2018 20:06:28 +0000 (UTC) Delivered-To: fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C23A6105C674 for ; Sun, 5 Aug 2018 20:06:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4943775937 for ; Sun, 5 Aug 2018 20:06:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A52D89CAD for ; Sun, 5 Aug 2018 20:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w75K6RMa021905 for ; Sun, 5 Aug 2018 20:06:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w75K6RDK021904 for fortran@FreeBSD.org; Sun, 5 Aug 2018 20:06:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: fortran@FreeBSD.org Subject: maintainer-feedback requested: [Bug 230391] math/suitesparse: Build fails: ./demo: ../build/simple_demo: not found Date: Sun, 05 Aug 2018 20:06:26 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fortran@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2018 20:06:29 -0000 Bugzilla Automation has asked freebsd-fortran mailing list for maintainer-feedback: Bug 230391: math/suitesparse: Build fails: ./demo: ../build/simple_demo: not found https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230391 --- Description --- Source: https://forums.freebsd.org/threads/suitesparse-portmaster.65647/#post-397209 From owner-freebsd-fortran@freebsd.org Mon Aug 6 15:46:49 2018 Return-Path: Delivered-To: freebsd-fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08DA3105C89A for ; Mon, 6 Aug 2018 15:46:49 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [IPv6:2a02:1658:1::199:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "jail0199.vps.exonetric.net", Issuer "jail0199.vps.exonetric.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 768F57CDA5 for ; Mon, 6 Aug 2018 15:46:45 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [178.250.76.108]) by jail0199.vps.exonetric.net (8.15.2/8.15.2) with ESMTPS id w76FkgjA065838 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 6 Aug 2018 15:46:42 GMT (envelope-from as@jail0199.vps.exonetric.net) Received: (from as@localhost) by jail0199.vps.exonetric.net (8.15.2/8.15.2/Submit) id w76FkgbJ065837 for freebsd-fortran@freebsd.org; Mon, 6 Aug 2018 15:46:42 GMT (envelope-from as) Date: Mon, 6 Aug 2018 15:46:42 GMT From: Anton Shterenlikht Message-Id: <201808061546.w76FkgbJ065837@jail0199.vps.exonetric.net> To: freebsd-fortran@freebsd.org Subject: autotools & Fortran X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2018 15:46:49 -0000 Hello I've several questions on using autotools in Fortran projects. Perhaps somebody can answer here or point to existing examples. 1. I have something like this right now: use, intrinsic :: iso_fortran_env integer, parameter :: fk = real32 What I want is to set fk to "real32", "real64" or "real128" via autotools, so that I can build with 3 different real kinds via a command line option. Ideally I want to avoid preprocessing. Is this feasible? Thanks Anton From owner-freebsd-fortran@freebsd.org Tue Aug 7 08:38:31 2018 Return-Path: Delivered-To: freebsd-fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 957CB1052745 for ; Tue, 7 Aug 2018 08:38:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3274283C36 for ; Tue, 7 Aug 2018 08:38:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EA7161052744; Tue, 7 Aug 2018 08:38:30 +0000 (UTC) Delivered-To: fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D93AD1052743 for ; Tue, 7 Aug 2018 08:38:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7979283C34 for ; Tue, 7 Aug 2018 08:38:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C52BD1D2C6 for ; Tue, 7 Aug 2018 08:38:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w778cT7O091886 for ; Tue, 7 Aug 2018 08:38:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w778cT4c091885 for fortran@FreeBSD.org; Tue, 7 Aug 2018 08:38:29 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: fortran@FreeBSD.org Subject: [Bug 230391] math/suitesparse: Build fails: ./demo: ../build/simple_demo: not found Date: Tue, 07 Aug 2018 08:38:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Only Me X-Bugzilla-Who: forestmoonsilence@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fortran@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc attachments.mimetype attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2018 08:38:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230391 Garry changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |forestmoonsilence@gmail.com Attachment #195968|text/x-log |text/plain mime type| | --- Comment #1 from Garry --- Created attachment 195968 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195968&action= =3Dedit build log generated by synth showing complete environment and failure to bu= ild --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fortran@freebsd.org Tue Aug 7 10:31:42 2018 Return-Path: Delivered-To: freebsd-fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 103451056D71 for ; Tue, 7 Aug 2018 10:31:42 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay101.isp.belgacom.be (mailrelay101.isp.belgacom.be [195.238.20.128]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 76AE3887A2 for ; Tue, 7 Aug 2018 10:31:41 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3AppSIxRdSnNcWNdmiDWPfRJ4dlGMj4u6mDksu8p?= =?us-ascii?q?Mizoh2WeGdxcu+YB7h7PlgxGXEQZ/co6odzbaO7ea4ASQp2tWoiDg6aptCVh?= =?us-ascii?q?sI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFR?= =?us-ascii?q?rhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahYL5+Ngm6oRnMvcQKnIVuLbo8xA?= =?us-ascii?q?HUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLn?= =?us-ascii?q?s65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD?= =?us-ascii?q?+v9LlgRgP2hygbNj456GDXhdJ2jKJHuxKquhhzz5fJbI2JKPZye6XQds4YS2?= =?us-ascii?q?VcRMZcTyJPDIOiYYUSDOQOP+hYoIbhqFUBtha+GQuhCP/zxjNUmnP6w6s32P?= =?us-ascii?q?khHwHc2wwgGsoDvmrRrtXxKawfT+e1zK7TzTrdavNZwzH96JPVeR0mvfGMXL?= =?us-ascii?q?Bwcc7KxEcvDQPKkEufpJH4MT2bzOgNtHKb7+V5WO+plmUpqBlxryCsy8oukI?= =?us-ascii?q?XEh4MYxkrZ+Sh63Yo5P8C0RU94bNOiDZBerTuVN5FsTcMnW2xovSE6xaAYtp?= =?us-ascii?q?OjZygKzYgnxwbYa/yab4iE+hLjW/iVITd/nH9le6iwhxKz8Uil1OL8TM603E?= =?us-ascii?q?xWripEkNnMsmoB2ADU6siAUfty4EKh1iyJ1wDI8O1EJlo0laXDJ54gxL4/iI?= =?us-ascii?q?YTvFzAEyL0gkn7ja6bel859uWr9ujreKjqq56fOoNsjwHxKKUumsixAeQiNQ?= =?us-ascii?q?gOWnCW+fi91L3h+U30W7tKjuconabHq5/aPtkUqrS+Aw9P3YYv8wy/ACu+0N?= =?us-ascii?q?QEgXkHK0pIdwicj4XyJ17OJej4DfOwgli2jTdrxKOOArq0K5PRKX6Lq7f9cK?= =?us-ascii?q?xw7UpdywovhYRW/LpfD6kFMLTuWRmimsbfC0oF1Aj86OHgE9h434UFETaTA6?= =?us-ascii?q?2dGI3IvFKi3c5pJPODMtxG8A3hIuQosqa9xUQynkUQKOzwhcMa?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2AQAgAqdGlb/6i1QldbHAEBAQQBAQo?= =?us-ascii?q?BAYNOY20SKIwIX4tnAQGCDDIBhwuBd4w3gXomhEsEAgKDPSI0GAECAQECAQE?= =?us-ascii?q?CAWwcDII1JAGCXgEFOhwjEAsOCgklDyoeBhODIYIDrUOIMoIiiSCCAIQkilQ?= =?us-ascii?q?Ch1uFVo0HCYYaiSCCIIwQlCM4gVJNMAiDJAmITod+PTCPPgEB?= X-IPAS-Result: =?us-ascii?q?A2AQAgAqdGlb/6i1QldbHAEBAQQBAQoBAYNOY20SKIwIX?= =?us-ascii?q?4tnAQGCDDIBhwuBd4w3gXomhEsEAgKDPSI0GAECAQECAQECAWwcDII1JAGCX?= =?us-ascii?q?gEFOhwjEAsOCgklDyoeBhODIYIDrUOIMoIiiSCCAIQkilQCh1uFVo0HCYYai?= =?us-ascii?q?SCCIIwQlCM4gVJNMAiDJAmITod+PTCPPgEB?= Received: from 168.181-66-87.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([87.66.181.168]) by relay.skynet.be with ESMTP; 07 Aug 2018 12:31:40 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id w77AVdou089674; Tue, 7 Aug 2018 12:31:40 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Tue, 7 Aug 2018 12:31:39 +0200 From: =?UTF-8?B?VMSzbA==?= Coosemans To: Anton Shterenlikht Cc: freebsd-fortran@freebsd.org Subject: Re: autotools & Fortran Message-ID: <20180807123139.1cdce2d3@kalimero.tijl.coosemans.org> In-Reply-To: <201808061546.w76FkgbJ065837@jail0199.vps.exonetric.net> References: <201808061546.w76FkgbJ065837@jail0199.vps.exonetric.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2018 10:31:42 -0000 On Mon, 6 Aug 2018 15:46:42 GMT Anton Shterenlikht wrote: > Hello > > I've several questions on using autotools > in Fortran projects. Perhaps somebody can > answer here or point to existing examples. > > 1. I have something like this right now: > > use, intrinsic :: iso_fortran_env > integer, parameter :: fk = real32 > > What I want is to set fk to "real32", "real64" or "real128" > via autotools, so that I can build with 3 different > real kinds via a command line option. > > Ideally I want to avoid preprocessing. > > Is this feasible? use, intrinsic :: iso_fortran_env integer, parameter :: fk = @REAL_TYPE@ % mv filename filename.in And in configure.ac: AC_SUBST([REAL_TYPE],[real32]) AC_CONFIG_FILES([filename]) From owner-freebsd-fortran@freebsd.org Tue Aug 7 18:28:44 2018 Return-Path: Delivered-To: freebsd-fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 101B3106735F for ; Tue, 7 Aug 2018 18:28:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9E81D7B5B0 for ; Tue, 7 Aug 2018 18:28:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 62B60106735D; Tue, 7 Aug 2018 18:28:43 +0000 (UTC) Delivered-To: fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51590106735B for ; Tue, 7 Aug 2018 18:28:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DDE707B5AF for ; Tue, 7 Aug 2018 18:28:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 40D9B224F7 for ; Tue, 7 Aug 2018 18:28:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w77ISggn023550 for ; Tue, 7 Aug 2018 18:28:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w77ISgaJ023549 for fortran@FreeBSD.org; Tue, 7 Aug 2018 18:28:42 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: fortran@FreeBSD.org Subject: [Bug 230391] math/suitesparse: Build fails: ./demo: ../build/simple_demo: not found Date: Tue, 07 Aug 2018 18:28:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fortran@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2018 18:28:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230391 Yuri Victorovich changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|New |Closed --- Comment #2 from Yuri Victorovich --- (In reply to Garry from comment #1) synth manpage claims that it builds "in a clean environment". Yet, math/suitesparse fails in synth. poudriere builds in a clean environment, and it doesn't fail there. I build on my system in a relatively clean environment, and the build doesn= 't fail either. So there is no indication that there is any problem in math/suitesparse its= elf. Closing based on this, as "Not a bug in FreeBSD". Garry, I recommend you report this failure to maintainers of synth, since t= he problem most likely lies there. Thank you for using FreeBSD! --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fortran@freebsd.org Wed Aug 8 10:07:56 2018 Return-Path: Delivered-To: freebsd-fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7DA71055C7D for ; Wed, 8 Aug 2018 10:07:55 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [IPv6:2a02:1658:1::199:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "jail0199.vps.exonetric.net", Issuer "jail0199.vps.exonetric.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7797E777D1; Wed, 8 Aug 2018 10:07:55 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [178.250.76.108]) by jail0199.vps.exonetric.net (8.15.2/8.15.2) with ESMTPS id w78A7rax022774 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 8 Aug 2018 10:07:53 GMT (envelope-from as@jail0199.vps.exonetric.net) Received: (from as@localhost) by jail0199.vps.exonetric.net (8.15.2/8.15.2/Submit) id w78A7rKS022773; Wed, 8 Aug 2018 10:07:53 GMT (envelope-from as) Date: Wed, 8 Aug 2018 10:07:53 +0000 From: Anton Shterenlikht To: =?utf-8?Q?T=C4=B3l?= Coosemans Cc: Anton Shterenlikht , freebsd-fortran@freebsd.org Subject: Re: autotools & Fortran Message-ID: <20180808100753.GA8136@jail0199.vps.exonetric.net> References: <201808061546.w76FkgbJ065837@jail0199.vps.exonetric.net> <20180807123139.1cdce2d3@kalimero.tijl.coosemans.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180807123139.1cdce2d3@kalimero.tijl.coosemans.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2018 10:07:56 -0000 Tijl On Tue, Aug 07, 2018 at 12:31:39PM +0200, Tijl Coosemans wrote: > On Mon, 6 Aug 2018 15:46:42 GMT Anton Shterenlikht wrote: > > Hello > > > > I've several questions on using autotools > > in Fortran projects. Perhaps somebody can > > answer here or point to existing examples. > > > > 1. I have something like this right now: > > > > use, intrinsic :: iso_fortran_env > > integer, parameter :: fk = real32 > > > > What I want is to set fk to "real32", "real64" or "real128" > > via autotools, so that I can build with 3 different > > real kinds via a command line option. > > > > Ideally I want to avoid preprocessing. > > > > Is this feasible? > > use, intrinsic :: iso_fortran_env > integer, parameter :: fk = @REAL_TYPE@ > > % mv filename filename.in > > And in configure.ac: > > AC_SUBST([REAL_TYPE],[real32]) > AC_CONFIG_FILES([filename]) Thank you! Anton From owner-freebsd-fortran@freebsd.org Wed Aug 8 13:25:06 2018 Return-Path: Delivered-To: freebsd-fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2C17B105C27F for ; Wed, 8 Aug 2018 13:25:06 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [IPv6:2a02:1658:1::199:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "jail0199.vps.exonetric.net", Issuer "jail0199.vps.exonetric.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8BD0E7DF2D for ; Wed, 8 Aug 2018 13:25:05 +0000 (UTC) (envelope-from as@cmplx.uk) Received: from jail0199.vps.exonetric.net (jail0199.vps.exonetric.net [178.250.76.108]) by jail0199.vps.exonetric.net (8.15.2/8.15.2) with ESMTPS id w78DP2vb044231 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 8 Aug 2018 13:25:02 GMT (envelope-from as@jail0199.vps.exonetric.net) Received: (from as@localhost) by jail0199.vps.exonetric.net (8.15.2/8.15.2/Submit) id w78DP2wn044230 for freebsd-fortran@freebsd.org; Wed, 8 Aug 2018 13:25:02 GMT (envelope-from as) Date: Wed, 8 Aug 2018 13:25:02 +0000 From: Anton Shterenlikht To: freebsd-fortran@freebsd.org Subject: DEFAULT_VERSIONS=gcc=8 results in gfortran7 Message-ID: <20180808132502.GA43744@jail0199.vps.exonetric.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2018 13:25:06 -0000 I'm building with synth. jrmarino says this should work, i.e. the problem is not in synth. I have DEFAULT_VERSIONS=gcc=8 in synth make.conf: # cat /usr/local/etc/synth/LiveSystem-make.conf DEVELOPER=yes FFLAGS+= -O2 -pipe -march=bdver2 -mtune=bdver2 FFLAGS+= -funroll-loops --param max-unroll-times=4 -ftree-vectorize FFLAGS+= -g DEFAULT_VERSIONS=gcc=8 However, when building net/mpich, gfortran7 is used: -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- PKG_CONFIG=pkgconf F77="gfortran7" FC="gfortran7" Here's the full log: https://seis.bristol.ac.uk/%7Emexas/net___mpich.log Should setting DEFAULT_VERSIONS=gcc=8 in make.conf be sufficient to force the use of gfortran8? Looking at /usr/ports/Mk/Uses/fortran.mk, my answer is yes. Please help Anton