Closed ghost closed 4 years ago
There's an LLVM 8.0 update commit in the llvm8 branch. However the Asteroids example project fails to build with it on my machine, the Clang invocation fails with the following:
<built-in>:102:51: error: invalid suffix 'F16' on floating constant
#define __FLT16_DENORM_MIN__ 5.9604644775390625e-8F16
^
<built-in>:106:38: error: invalid suffix 'F16' on floating constant
#define __FLT16_EPSILON__ 9.765625e-4F16
^
<built-in>:112:32: error: invalid suffix 'F16' on floating constant
#define __FLT16_MAX__ 6.5504e+4F16
^
<built-in>:115:37: error: invalid suffix 'F16' on floating constant
#define __FLT16_MIN__ 6.103515625e-5F16
^
<built-in>:102:51: error: invalid suffix 'F16' on floating constant
#define __FLT16_DENORM_MIN__ 5.9604644775390625e-8F16
^
<built-in>:106:38: error: invalid suffix 'F16' on floating constant
#define __FLT16_EPSILON__ 9.765625e-4F16
^
<built-in>:112:32: error: invalid suffix 'F16' on floating constant
#define __FLT16_MAX__ 6.5504e+4F16
^
<built-in>:115:37: error: invalid suffix 'F16' on floating constant
#define __FLT16_MIN__ 6.103515625e-5F16
^
Keeping master on LLVM 7 until this is resolved.
I think https://reviews.llvm.org/D57577 will fix this.
Let's hope it lands in LLVM 8.0.1.
Delta has now been updated to LLVM 9.0.0 (1c89deb0401bac3d4db547eddae854971ba0a4de).
When is delta going to be updated to use llvm version 8.0.0?