diff options
author | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2019-07-25 14:36:20 +0000 |
---|---|---|
committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2019-07-25 14:36:20 +0000 |
commit | 2488ae9df155cd66253512c42aba5daef1f076be (patch) | |
tree | 42a7de40bd8a48380384478161d50659efd3fff3 /openmp/runtime/tools/lib/Uname.pm | |
parent | d668260f1a8e85976e090207075545a2d97d39a1 (diff) | |
download | bcm5719-llvm-2488ae9df155cd66253512c42aba5daef1f076be.tar.gz bcm5719-llvm-2488ae9df155cd66253512c42aba5daef1f076be.zip |
[OpenMP] RISCV64 port
This is a port of libomp for the RISC-V 64-bit Linux target.
We have tested this port on a HiFive Unleashed development board
using a downstream LLVM that has support for the missing bits in
upstream. As of now, all tests are passing, including OMPT.
Patch by Ferran Pallarès!
Differential Revision: https://reviews.llvm.org/D59880
llvm-svn: 367021
Diffstat (limited to 'openmp/runtime/tools/lib/Uname.pm')
-rw-r--r-- | openmp/runtime/tools/lib/Uname.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openmp/runtime/tools/lib/Uname.pm b/openmp/runtime/tools/lib/Uname.pm index 4a5c332d618..a14cb3a6531 100644 --- a/openmp/runtime/tools/lib/Uname.pm +++ b/openmp/runtime/tools/lib/Uname.pm @@ -156,6 +156,8 @@ if ( 0 ) { $values{ hardware_platform } = "mips64"; } elsif ( $values{ machine } =~ m{\Amips\z} ) { $values{ hardware_platform } = "mips"; + } elsif ( $values{ machine } =~ m{\Ariscv64\z} ) { + $values{ hardware_platform } = "riscv64"; } else { die "Unsupported machine (\"$values{ machine }\") returned by POSIX::uname(); stopped"; }; # if |