[libc-commits] [libc] d663da0 - [libc][Obvious] Fix problem with the variable used for the jobs

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Fri Jun 16 12:12:14 PDT 2023


Author: Joseph Huber
Date: 2023-06-16T14:11:53-05:00
New Revision: d663da07e39f5c694f58949cd32d0fcceeb66b1f

URL: https://github.com/llvm/llvm-project/commit/d663da07e39f5c694f58949cd32d0fcceeb66b1f
DIFF: https://github.com/llvm/llvm-project/commit/d663da07e39f5c694f58949cd32d0fcceeb66b1f.diff

LOG: [libc][Obvious] Fix problem with the variable used for the jobs

Summary:
There was an issue with the variable we were using to conditonally set
the job number for the GPU.

Added: 
    

Modified: 
    libc/cmake/modules/prepare_libc_gpu_build.cmake

Removed: 
    


################################################################################
diff  --git a/libc/cmake/modules/prepare_libc_gpu_build.cmake b/libc/cmake/modules/prepare_libc_gpu_build.cmake
index 29e54cd03a105..9d5f2d3c92911 100644
--- a/libc/cmake/modules/prepare_libc_gpu_build.cmake
+++ b/libc/cmake/modules/prepare_libc_gpu_build.cmake
@@ -74,8 +74,7 @@ endif()
 # Optionally set up a job pool to limit the number of GPU tests run in parallel.
 # This is sometimes necessary as running too many tests in parallel can cause
 # the GPU or driver to run out of resources.
-set(LIBC_GPU_TEST_JOBS "" CACHE STRING "Number of jobs to run in parallel for "
-                                       "GPU tests")
+set(LIBC_GPU_TEST_JOBS "" CACHE STRING "Number of jobs to use for GPU tests")
 if(LIBC_GPU_TEST_JOBS)
   set_property(GLOBAL PROPERTY JOB_POOLS LIBC_GPU_TEST_POOL=${LIBC_GPU_TEST_JOBS})
   set(LIBC_HERMETIC_TEST_JOB_POOL JOB_POOL LIBC_GPU_TEST_POOL)


        


More information about the libc-commits mailing list