Page MenuHomeFreeBSD

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

Authored by jmd on May 18 2017, 7:56 PM.

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
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.