You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I was trying to build the native bits of the udf-examples build but it doesn't seem to be working. I tried the docker image in the udf-examples directory and also the centos one we use for building CUDF. Both came up with errors.
We should investigate the proper way to build an external project that depends on CUDF.
The errors using the Docker file:
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /home/tgraves/workspace/spark-rapids/udf-examples/target/cpp-build/CMakeFiles/CMakeTmp
Building C object CMakeFiles/cmTC_2ca25.dir/src.c.o
/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -fPIE -o CMakeFiles/cmTC_2ca25.dir/src.c.o -c /home/tgraves/workspace/spark-rapids/udf-examples/target/cpp-build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_2ca25
/usr/local/cmake-3.20.5-linux-x86_64/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2ca25.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_2ca25.dir/src.c.o -o cmTC_2ca25
CMakeFiles/cmTC_2ca25.dir/src.c.o: In function `main’:
src.c:(.text+0x2f): undefined reference to `pthread_create’
src.c:(.text+0x3b): undefined reference to `pthread_detach’
src.c:(.text+0x47): undefined reference to `pthread_cancel’
src.c:(.text+0x58): undefined reference to `pthread_join’
src.c:(.text+0x6c): undefined reference to `pthread_atfork’
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_2ca25] Error 1
building from the centos docker image errors:
[exec] See also “/home/tgraves/workspace/spark-rapids/udf-examples/target/cpp-build/CMakeFiles/CMakeError.log”.
[exec] CMake Error at /home/tgraves/workspace/spark-rapids/udf-examples/target/cpp-build/_deps/cuco-src/CMakeLists.txt:25 (include):
[exec] include could not find requested file:
[exec]
[exec] rapids-cmake
rapids-cmake is there but it also compalins about rapids-find, rapids-cpm and rapids-cuda which I do not see.
The text was updated successfully, but these errors were encountered:
Describe the bug
I was trying to build the native bits of the udf-examples build but it doesn't seem to be working. I tried the docker image in the udf-examples directory and also the centos one we use for building CUDF. Both came up with errors.
We should investigate the proper way to build an external project that depends on CUDF.
The errors using the Docker file:
building from the centos docker image errors:
rapids-cmake is there but it also compalins about rapids-find, rapids-cpm and rapids-cuda which I do not see.
The text was updated successfully, but these errors were encountered: