MIOpen icon indicating copy to clipboard operation
MIOpen copied to clipboard

[CI] change CI to Ubuntu 20.04 and update ROCm version

Open junliume opened this issue 1 year ago • 3 comments

junliume avatar Jun 09 '24 05:06 junliume

It looks very much like the rbuild/cget way of installing CK in docker is broken Correction: it even fails for the simplest example:

Run Build Command(s):/usr/bin/make cmTC_8fa79/fast && /usr/bin/make -f CMakeFiles/cmTC_8fa79.dir/build.make CMakeFiles/cmTC_8fa79.dir/build
make[1]: Entering directory '/opt/rocm-6.1.2/cget/build/tmp-f79104d427df0a19d86dc8c974739d8583760eeaf5fff5d4a176e2a00cabadc7/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8fa79.dir/src.cxx.o
/opt/rocm-6.1.2/llvm/bin/clang++   -isystem /opt/rocm/include  -DCMAKE_HAVE_LIBC_PTHREAD   -o CMakeFiles/cmTC_8fa79.dir/src.cxx.o -c /opt/rocm-6.1.2/cget/build/tmp-f79104d427df0a19d86dc8c974739d8583760eeaf5fff5d4a176e2a00cabadc7/build/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_8fa79
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8fa79.dir/link.txt --verbose=1
/opt/rocm-6.1.2/llvm/bin/clang++   -DCMAKE_HAVE_LIBC_PTHREAD    CMakeFiles/cmTC_8fa79.dir/src.cxx.o  -o cmTC_8fa79
ld.lld: error: undefined symbol: pthread_create
>>> referenced by src.cxx
>>>               CMakeFiles/cmTC_8fa79.dir/src.cxx.o:(main)

ld.lld: error: undefined symbol: pthread_detach
>>> referenced by src.cxx
>>>               CMakeFiles/cmTC_8fa79.dir/src.cxx.o:(main)

ld.lld: error: undefined symbol: pthread_join
>>> referenced by src.cxx
>>>               CMakeFiles/cmTC_8fa79.dir/src.cxx.o:(main)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

junliume avatar Jun 09 '24 18:06 junliume

Can we switch the cmake way of building deps ?

On Sun, Jun 9, 2024 at 1:53 PM Jun Liu @.***> wrote:

It looks very much like the rbuild/cget way of installing CK in docker is broken

— Reply to this email directly, view it on GitHub https://github.com/ROCm/MIOpen/pull/3036#issuecomment-2156738128, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABK5ZOM4G3TRXBUOA6LMXS3ZGSQDZAVCNFSM6AAAAABJASRTH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWG4ZTQMJSHA . You are receiving this because your review was requested.Message ID: @.***>

JehandadKhan avatar Jun 09 '24 19:06 JehandadKhan

For example: https://github.com/ROCm/MIOpen/blob/develop/docs/sphinx/requirements.txt the doc build is not possible on Ubuntu 20.04 without upgrading Python version to 3.10 first ...

junliume avatar Jun 10 '24 05:06 junliume