Skip to content

UMF make install should not install libze_loader #1100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vinser52 opened this issue Feb 13, 2025 · 1 comment
Closed

UMF make install should not install libze_loader #1100

vinser52 opened this issue Feb 13, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@vinser52
Copy link
Contributor

Environment Information

  • UMF version (hash commit or a tag): main
  • OS(es) version(s): Ubuntu 22.04

Please provide a reproduction of the bug:

git clone https://github.com/oneapi-src/unified-memory-framework.git
cd unified-memory-framework
mkdir build && cd build
cmake .. \
    -DCMAKE_BUILD_TYPE=Debug \
    -DUMF_BUILD_EXAMPLES=ON \
    -DUMF_BUILD_BENCHMARKS=ON \
    -DUMF_BUILD_BENCHMARKS_MT=ON \
    -DUMF_FORMAT_CODE_STYLE=ON \
    -DUMF_DEVELOPER_MODE=ON \
    -DUMF_BUILD_SHARED_LIBRARY=ON \
    -DUMF_BUILD_LIBUMF_POOL_JEMALLOC=OFF \
    -DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON \
    -DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON \
    -DUMF_BUILD_CUDA_PROVIDER=OFF \
    -DUMF_BUILD_GPU_TESTS=ON \
    -DUMF_BUILD_GPU_EXAMPLES=ON \
    -DUMF_DISABLE_HWLOC=OFF \
    -DUMF_USE_VALGRIND=OFF
make -j
make DESTDIR=./umf_install -j install
...
-- Installing: ./umf_install/usr/local/./include/level_zero/ze_api.h
-- Installing: ./umf_install/usr/local/./include/level_zero/ze_ddi.h
-- Installing: ./umf_install/usr/local/./include/level_zero/zes_api.h
-- Installing: ./umf_install/usr/local/./include/level_zero/zes_ddi.h
-- Installing: ./umf_install/usr/local/./include/level_zero/zet_api.h
-- Installing: ./umf_install/usr/local/./include/level_zero/zet_ddi.h
-- Installing: ./umf_install/usr/local/./include/level_zero/layers/zel_tracing_api.h
-- Installing: ./umf_install/usr/local/./include/level_zero/layers/zel_tracing_ddi.h
-- Installing: ./umf_install/usr/local/./include/level_zero/layers/zel_tracing_register_cb.h
-- Installing: ./umf_install/usr/local/./include/level_zero/loader/ze_loader.h
-- Installing: ./umf_install/usr/local/lib/libze_loader.so.1.19.2
-- Installing: ./umf_install/usr/local/lib/libze_loader.so.1
-- Installing: ./umf_install/usr/local/lib/libze_loader.so
-- Installing: ./umf_install/usr/local/lib/pkgconfig/libze_loader.pc
-- Installing: ./umf_install/usr/local/lib/pkgconfig/level-zero.pc
-- Installing: ./umf_install/usr/local/lib/libze_validation_layer.so.1.19.2
-- Installing: ./umf_install/usr/local/lib/libze_validation_layer.so.1
-- Installing: ./umf_install/usr/local/lib/libze_validation_layer.so
-- Installing: ./umf_install/usr/local/lib/libze_tracing_layer.so.1.19.2
-- Installing: ./umf_install/usr/local/lib/libze_tracing_layer.so.1
-- Installing: ./umf_install/usr/local/lib/libze_tracing_layer.so
...

How often bug is revealed:

always

Actual behavior:

libze_loader.so is isntalled

svinogra@gkdse-dnp-01:~/unified-memory-framework/build_1$ ll ./umf_install/usr/local/lib/
total 76232
drwxr-xr-x 4 svinogra ccigk     4096 Feb 13 17:52 ./
drwxr-xr-x 5 svinogra ccigk     4096 Feb 13 17:52 ../
drwxr-xr-x 3 svinogra ccigk     4096 Feb 13 17:52 cmake/
-rw-r--r-- 1 svinogra ccigk  1325426 Feb 13 17:45 libdisjoint_pool.a
lrwxrwxrwx 1 svinogra ccigk       11 Feb 13 17:52 libumf.so -> libumf.so.0
lrwxrwxrwx 1 svinogra ccigk       16 Feb 13 17:52 libumf.so.0 -> libumf.so.0.11.0
-rw-r--r-- 1 svinogra ccigk   509568 Feb 13 17:45 libumf.so.0.11.0
lrwxrwxrwx 1 svinogra ccigk       17 Feb 13 17:52 libze_loader.so -> libze_loader.so.1
lrwxrwxrwx 1 svinogra ccigk       22 Feb 13 17:52 libze_loader.so.1 -> libze_loader.so.1.19.2
-rw-r--r-- 1 svinogra ccigk 35564368 Feb 13 17:46 libze_loader.so.1.19.2
lrwxrwxrwx 1 svinogra ccigk       24 Feb 13 17:52 libze_tracing_layer.so -> libze_tracing_layer.so.1
lrwxrwxrwx 1 svinogra ccigk       29 Feb 13 17:52 libze_tracing_layer.so.1 -> libze_tracing_layer.so.1.19.2
-rw-r--r-- 1 svinogra ccigk 21433736 Feb 13 17:46 libze_tracing_layer.so.1.19.2
lrwxrwxrwx 1 svinogra ccigk       27 Feb 13 17:52 libze_validation_layer.so -> libze_validation_layer.so.1
lrwxrwxrwx 1 svinogra ccigk       32 Feb 13 17:52 libze_validation_layer.so.1 -> libze_validation_layer.so.1.19.2
-rw-r--r-- 1 svinogra ccigk 19203744 Feb 13 17:46 libze_validation_layer.so.1.19.2
drwxr-xr-x 2 svinogra ccigk     4096 Feb 13 17:52 pkgconfig/

Expected behavior:

libze_loader.so should not be isntalled

svinogra@gkdse-dnp-01:~/unified-memory-framework/build_1$ ll ./umf_install/usr/local/lib/
total 76232
drwxr-xr-x 4 svinogra ccigk     4096 Feb 13 17:52 ./
drwxr-xr-x 5 svinogra ccigk     4096 Feb 13 17:52 ../
drwxr-xr-x 3 svinogra ccigk     4096 Feb 13 17:52 cmake/
-rw-r--r-- 1 svinogra ccigk  1325426 Feb 13 17:45 libdisjoint_pool.a
lrwxrwxrwx 1 svinogra ccigk       11 Feb 13 17:52 libumf.so -> libumf.so.0
lrwxrwxrwx 1 svinogra ccigk       16 Feb 13 17:52 libumf.so.0 -> libumf.so.0.11.0
-rw-r--r-- 1 svinogra ccigk   509568 Feb 13 17:45 libumf.so.0.11.0
drwxr-xr-x 2 svinogra ccigk     4096 Feb 13 17:52 pkgconfig/

Additional information about Priority and Help Requested:

Are you willing to submit a pull request with a proposed change? No

Requested priority: High

@vinser52 vinser52 added the bug Something isn't working label Feb 13, 2025
@ldorau
Copy link
Contributor

ldorau commented Feb 24, 2025

Closing as a duplicate of #1110

@ldorau ldorau closed this as completed Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants