Page MenuHomeFreeBSD

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

Authored by jmd on May 18 2017, 7:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 12, 7:39 AM
Unknown Object (File)
Mon, Apr 6, 1:29 PM
Unknown Object (File)
Sun, Apr 5, 4:57 AM
Unknown Object (File)
Thu, Mar 26, 8:51 PM
Unknown Object (File)
Thu, Mar 26, 6:49 AM
Unknown Object (File)
Mar 5 2026, 8:32 PM
Unknown Object (File)
Mar 5 2026, 1:12 PM
Unknown Object (File)
Mar 5 2026, 4:56 AM
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.