def get_nvidia_static_cudalib_ctk():
    """Return path to directory containing the static libraries of cudatoolkit.
    """
    nvvm_ctk = get_nvidia_nvvm_ctk()
    if not nvvm_ctk:
        return

    if IS_WIN32 and ("Library" not in nvvm_ctk):
        # Location specific to CUDA 11.x packages on Windows
        dirs = ('Lib', 'x64')
    else:
        # Linux, or Windows with CUDA 12.x packages
        dirs = ('lib',)

    env_dir = os.path.dirname(os.path.dirname(nvvm_ctk))
    return os.path.join(env_dir, *dirs)
Return path to directory containing the static libraries of cudatoolkit.
    
numba/cuda/cuda_paths.py