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)
Mon, Aug 4, 7:57 AM
Unknown Object (File)
Sun, Aug 3, 6:40 PM
Unknown Object (File)
Sat, Aug 2, 8:58 AM
Unknown Object (File)
Wed, Jul 30, 5:55 AM
Unknown Object (File)
Mon, Jul 28, 5:44 PM
Unknown Object (File)
Jul 21 2025, 7:15 AM
Unknown Object (File)
Jul 7 2025, 10:35 AM
Unknown Object (File)
Jul 6 2025, 11:30 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 Skipped
Unit
Tests Skipped

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.