This is an archive of the discontinued LLVM Phabricator instance.

SPEC2006: Allow building on FreeBSD
ClosedPublic

Authored by arichardson on Apr 25 2022, 8:10 AM.

Details

Summary

For FreeBSD, we also have to pass -DSPEC_CPU_MACOSX to avoid the use of
gcvt() in 400.perlbench as this function is not available on FreeBSD.
This define is also required to successfully build 462.libquantum and
483.xalancbmk since SPEC_CPU_BSD is not handled in those benchmarks.

Diff Detail

Repository
rT test-suite

Event Timeline

arichardson created this revision.Apr 25 2022, 8:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 25 2022, 8:10 AM
arichardson requested review of this revision.Apr 25 2022, 8:10 AM
Meinersbur accepted this revision.Apr 25 2022, 10:01 AM
Meinersbur added inline comments.
External/SPEC/SpecCPU2006.cmake
32

That's indeed weird. Thanks for the comment.

This revision is now accepted and ready to land.Apr 25 2022, 10:01 AM
fhahn accepted this revision.Apr 26 2022, 12:51 AM

LGTM, thanks!

This revision was automatically updated to reflect the committed changes.