Skip to content

Commit

Permalink
Default to omitting build of (unused) UPC runtime
Browse files Browse the repository at this point in the history
The Clang UPC2C source-to-source translator does not require the Clang
UPC runtime library, which builds on only a subset of the platforms
where Clang UPC2C does.  So, we should not build it (or fail to, in
some case) by default.
  • Loading branch information
PHHargrove committed Jan 21, 2022
1 parent c1def95 commit 9c64d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ foreach (dir ${known_subdirs})
endif()
endforeach()

set(ENABLE_CLANG_UPC_RUNTIME TRUE CACHE BOOL "enable UPC runtime library")
set(ENABLE_CLANG_UPC_RUNTIME FALSE CACHE BOOL "enable UPC runtime library")
if (ENABLE_CLANG_UPC_RUNTIME)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/libupc)
endif()
Expand Down

0 comments on commit 9c64d54

Please sign in to comment.