Skip to content

Commit 9ca97f5

Browse files
committed
Un-break the iOS build
llvm/llvm-project#77137
1 parent 4049776 commit 9ca97f5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Diff for: tools/CMakeLists.txt

+9-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,12 @@ else()
4040
llvm_add_host_executable(build-timeit timeit timeit.c)
4141
endif()
4242

43-
add_executable(not ${CMAKE_CURRENT_SOURCE_DIR}/not.cpp)
43+
# FIXME: the iOS buildbots can't build this since it uses `std::system`, but
44+
# since we don't support Fortram on the iOS bots and this utility is only used
45+
# by Fortran tests, it effectively "reverts to green", without entirely
46+
# reverting the patch.
47+
#
48+
# See: https://github.com/llvm/llvm-project/issues/77137
49+
if(TEST_SUITE_FORTRAN)
50+
add_executable(not ${CMAKE_CURRENT_SOURCE_DIR}/not.cpp)
51+
endif()

0 commit comments

Comments
 (0)