Page MenuHomeFreeBSD

Let cloudabi-clang install a compiler for aarch64.
ClosedPublic

Authored by ed on Oct 15 2015, 3:18 PM.

Details

Summary

Now that CloudABI has been ported over to aarch64, let's extend the
FreeBSD ports to install a functioning toolchain for it.

This change extend the llvm37 port to backport a tiny change that is
needed to make Clang support the CloudABI for aarch64 target (r250416).
This change makes Clang use the right ELFOSABI number, but also makes it
set the right #defines (e.g., __CloudABI__).

It also extends the cloudabi-clang port to set up symlinks against Clang
for aarch64.

Test Plan

This change has been in use locally for some time and it seems to work.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ed updated this revision to Diff 9421.Oct 15 2015, 3:18 PM
ed retitled this revision from to Let cloudabi-clang install a compiler for aarch64..
ed updated this object.
ed edited the test plan for this revision. (Show Details)
ed added reviewers: brooks, bapt.
ed updated this revision to Diff 9422.Oct 15 2015, 3:20 PM

No need to call mkdir twice.

seems sensible to me

ed updated this object.Oct 15 2015, 3:28 PM
brooks accepted this revision.Oct 15 2015, 6:13 PM
brooks edited edge metadata.

I'll commit this (slightly modified)

This revision is now accepted and ready to land.Oct 15 2015, 6:13 PM
This revision was automatically updated to reflect the committed changes.