Page MenuHomeFreeBSD

new ports: [devel/flang] [devel/flang-clang]
ClosedPublic

Authored by jmd on May 18 2017, 7:56 PM.
Tags
None
Referenced Files
F122683835: D10805.diff
Mon, Jul 7, 10:35 AM
F122634628: D10805.id28533.diff
Sun, Jul 6, 11:30 PM
Unknown Object (File)
Sat, Jul 5, 5:18 PM
Unknown Object (File)
Fri, Jul 4, 10:26 PM
Unknown Object (File)
Fri, Jul 4, 6:32 PM
Unknown Object (File)
Thu, Jul 3, 3:30 PM
Unknown Object (File)
Wed, Jun 25, 10:58 AM
Unknown Object (File)
May 6 2025, 7:34 PM
Subscribers

Details

Summary

This adds the newly released flang Fortran LLVM compiler. It needs as a companion a custom clang, added as flang-clang.

Notes:

  • this is currently only for amd64 (devel/openmp is required, although we may be able to drop this requirement; patches are hardcoded for amd64 for the time being)
  • OpenMP in fortran does not seem to work
  • no complex program tested yet
  • needs a shell script to setup some libraries correctly (i.e., ${PREFIX}/flang)
Test Plan

poudriere on 10.3 11.0 HEAD amd64
portlint -Aac complains about one man page in flang-clang
compiles a F77 hello world
F77 hello world prints hello world

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fix the uname -i call to be uname -m

This revision is now accepted and ready to land.May 18 2017, 9:33 PM
This revision was automatically updated to reflect the committed changes.