Skip to content

Commit

Permalink
Support macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
EwanC committed Feb 6, 2023
1 parent 6241671 commit a2d821a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19) # 2017
message(FATAL_ERROR "Compiler not supported")
endif()
elseif (NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
elseif (NOT CMAKE_CXX_COMPILER_ID STREQUAL Clang AND
NOT CMAKE_CXX_COMPILER_ID STREQUAL AppleClang)
message(FATAL_ERROR "Unknown Compiler")
endif()

Expand Down
2 changes: 1 addition & 1 deletion test/min_double.lit
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ RUN: %ff -d 0x1 | filecheck %s
CHECK: 64-bit double precision denormal
CHECK-NEXT: Hex: 0x1
CHECK-NEXT: Bits: 0 00000000000 0000000000000000000000000000000000000000000000000001
CHECK-NEXT: Float: 4.940656458412465e-324, 0x0.0000000000001p-1022, 4.9406564584124654e-324
CHECK-NEXT: Float: 4.940656458412465e-324, {{0x1p-1074|0x0.0000000000001p-1022}}, 4.9406564584124654e-324

CHECK: 32-bit single precision
CHECK-NEXT: Hex: 0x0
Expand Down

0 comments on commit a2d821a

Please sign in to comment.