diff options
| author | Joseph Huber <huberjn@outlook.com> | 2025-09-29 11:55:44 -0500 |
|---|---|---|
| committer | Joseph Huber <huberjn@outlook.com> | 2025-09-29 11:59:17 -0500 |
| commit | 44f392e999dcf6718d7dceaa7ccb39306b1c1feb (patch) | |
| tree | 248a19b9e3bb4fd947dba648d5c20c5a2bdcd297 /openmp | |
| parent | b51b967671884b6d308c5f7b659a8f459517f541 (diff) | |
[OpenMP] Fix 'libc' configuration when building OpenMP
Summary:
Forgot to port this option's old handling from offload. It's not way
easier since they're built in the same CMake project. Also delete the
leftover directory that's not used anymore, don't know how that was
still there.
Diffstat (limited to 'openmp')
| -rw-r--r-- | openmp/device/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/device/CMakeLists.txt b/openmp/device/CMakeLists.txt index ded961adcce1..54cfdfef440a 100644 --- a/openmp/device/CMakeLists.txt +++ b/openmp/device/CMakeLists.txt @@ -64,7 +64,7 @@ set_target_properties(libompdevice PROPERTIES RUNTIME_OUTPUT_NAME libomptarget-${target_name}.bc) # If the user built with the GPU C library enabled we will use that instead. -if(LIBOMPTARGET_GPU_LIBC_SUPPORT) +if(TARGET libc) target_compile_definitions(libompdevice PRIVATE OMPTARGET_HAS_LIBC) endif() target_compile_definitions(libompdevice PRIVATE SHARED_SCRATCHPAD_SIZE=512) |
