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)
Tue, Sep 30, 12:27 AM
Unknown Object (File)
Sun, Sep 28, 2:49 AM
Unknown Object (File)
Tue, Sep 23, 1:24 AM
Unknown Object (File)
Mon, Sep 22, 12:26 PM
Unknown Object (File)
Mon, Sep 22, 5:32 AM
Unknown Object (File)
Thu, Sep 18, 8:24 PM
Unknown Object (File)
Thu, Sep 18, 7:34 PM
Unknown Object (File)
Aug 4 2025, 7:57 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 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.