Skip to content

Commit 0fd032b

Browse files
committed
Reverse UMF_BUILD_LEVEL_ZERO_PROVIDER and UMF_BUILD_CUDA_PROVIDER
UMF_BUILD_LEVEL_ZERO_PROVIDER and UMF_BUILD_CUDA_PROVIDER are OFF by default from now on. Signed-off-by: Lukasz Dorau <[email protected]>
1 parent b8088be commit 0fd032b

File tree

9 files changed

+18
-4
lines changed

9 files changed

+18
-4
lines changed

.github/workflows/coverity.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ jobs:
5151
-DUMF_TESTS_FAIL_ON_SKIP=ON
5252
-DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON
5353
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
54+
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON
55+
-DUMF_BUILD_CUDA_PROVIDER=ON
5456
5557
- name: Build
5658
run: |

.github/workflows/nightly.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
-DUMF_TESTS_FAIL_ON_SKIP=ON
4343
-DUMF_DEVELOPER_MODE=ON
4444
-DUMF_BUILD_FUZZTESTS=ON
45+
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON
46+
-DUMF_BUILD_CUDA_PROVIDER=ON
4547
4648
- name: Build
4749
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --verbose -j$(nproc)

.github/workflows/reusable_basic.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,8 @@ jobs:
436436
-DUMF_DEVELOPER_MODE=ON
437437
-DUMF_TESTS_FAIL_ON_SKIP=ON
438438
-DUMF_HWLOC_NAME=libhwloc
439+
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON
440+
-DUMF_BUILD_CUDA_PROVIDER=ON
439441
440442
- name: Build UMF
441443
run: cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j $Env:NUMBER_OF_PROCESSORS
@@ -479,6 +481,7 @@ jobs:
479481
-DUMF_FORMAT_CODE_STYLE=OFF
480482
-DUMF_DEVELOPER_MODE=ON
481483
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=OFF
484+
-DUMF_BUILD_CUDA_PROVIDER=ON
482485
-DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON
483486
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
484487
-DUMF_BUILD_SHARED_LIBRARY=ON

.github/workflows/reusable_dax.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
-DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON
8585
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
8686
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=OFF
87+
-DUMF_BUILD_CUDA_PROVIDER=ON
8788
-DUMF_TESTS_FAIL_ON_SKIP=ON
8889
${{ matrix.build_type == 'Debug' && '-DUMF_USE_COVERAGE=ON' || '' }}
8990

.github/workflows/reusable_fast.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ jobs:
119119
-DCMAKE_INSTALL_PREFIX="${{env.INSTL_DIR}}"
120120
-DUMF_BUILD_SHARED_LIBRARY=ON
121121
-DUMF_TESTS_FAIL_ON_SKIP=ON
122+
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON
123+
-DUMF_BUILD_CUDA_PROVIDER=ON
122124
${{matrix.extra_build_options}}
123125
124126
- name: Build

.github/workflows/reusable_multi_numa.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
-DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON
4646
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
4747
-DUMF_TESTS_FAIL_ON_SKIP=ON
48+
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON
49+
-DUMF_BUILD_CUDA_PROVIDER=ON
4850
${{ matrix.os == 'ubuntu-22.04' && '-DUMF_USE_COVERAGE=ON' || '' }}
4951
5052
- name: Build UMF

.github/workflows/reusable_proxy_lib.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ jobs:
5353
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
5454
-DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON
5555
-DUMF_TESTS_FAIL_ON_SKIP=ON
56+
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON
57+
-DUMF_BUILD_CUDA_PROVIDER=ON
5658
-DUMF_PROXY_LIB_BASED_ON_POOL=${{matrix.proxy_lib_pool}}
5759
${{ matrix.build_type == 'Debug' && '-DUMF_USE_COVERAGE=ON' || '' }}
5860

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ find_package(PkgConfig)
3535

3636
# Build Options
3737
option(UMF_BUILD_SHARED_LIBRARY "Build UMF as shared library" OFF)
38-
option(UMF_BUILD_LEVEL_ZERO_PROVIDER "Build Level Zero memory provider" ON)
39-
option(UMF_BUILD_CUDA_PROVIDER "Build CUDA memory provider" ON)
38+
option(UMF_BUILD_LEVEL_ZERO_PROVIDER "Build Level Zero memory provider" OFF)
39+
option(UMF_BUILD_CUDA_PROVIDER "Build CUDA memory provider" OFF)
4040
option(UMF_BUILD_LIBUMF_POOL_DISJOINT
4141
"Build the libumf_pool_disjoint static library" OFF)
4242
option(UMF_BUILD_LIBUMF_POOL_JEMALLOC

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ List of options provided by CMake:
101101
| Name | Description | Values | Default |
102102
| - | - | - | - |
103103
| UMF_BUILD_SHARED_LIBRARY | Build UMF as shared library | ON/OFF | OFF |
104-
| UMF_BUILD_LEVEL_ZERO_PROVIDER | Build Level Zero memory provider | ON/OFF | ON |
105-
| UMF_BUILD_CUDA_PROVIDER | Build CUDA memory provider | ON/OFF | ON |
104+
| UMF_BUILD_LEVEL_ZERO_PROVIDER | Build Level Zero memory provider | ON/OFF | OFF |
105+
| UMF_BUILD_CUDA_PROVIDER | Build CUDA memory provider | ON/OFF | OFF |
106106
| UMF_BUILD_LIBUMF_POOL_DISJOINT | Build the libumf_pool_disjoint static library | ON/OFF | OFF |
107107
| UMF_BUILD_LIBUMF_POOL_JEMALLOC | Build the libumf_pool_jemalloc static library | ON/OFF | OFF |
108108
| UMF_BUILD_TESTS | Build UMF tests | ON/OFF | ON |

0 commit comments

Comments
 (0)