Re: Is LLVM 13 (git) really ready for testing/development? libclc didn't compile

2021-03-16 Thread Dieter Nützel
[CC trimmed - excluded Marek] Too bad Jan, 'configure' works, now. But compilation brakes after that. How can we add '-cl-no-stdinc' only to CMAKE_CLC_FLAGS and NOT CXX flags (see below)? Tried libclc/build> pwd /opt/llvm-project/libclc/build libclc/build> cmake ../

Re: Is LLVM 13 (git) really ready for testing/development? libclc didn't compile

2021-03-10 Thread Jan Vesely
One more update. without changing any cmake files the following cmdline should work: cmake ../llvm-project/libclc/ -DLLVM_CONFIG=/usr/local/llvm-git/bin/llvm-config -DCMAKE_LLAsm_FLAGS=-cl-no-stdinc -DCMAKE_CLC_FLAGS=-cl-no-stdinc Jan On Wed, Mar 10, 2021 at 1:20 AM Jan Vesely wrote: > hi, > >

Re: Is LLVM 13 (git) really ready for testing/development? libclc didn't compile

2021-03-09 Thread Jan Vesely
hi, sorry the option is actually -cl-no-stdinc. you can add it to 'target_compiler_options'. I should have a patch ready soon(tm), but time is scarce. Jan On Sun, Mar 7, 2021 at 9:51 PM Dieter Nützel wrote: > Hello Jan, > > I very much appreciate your advice. > Tried several places... >

Re: Is LLVM 13 (git) really ready for testing/development? libclc didn't compile

2021-03-07 Thread Dieter Nützel
Hello Jan, I very much appreciate your advice. Tried several places... ...where to put it? Dieter Am 06.03.2021 17:56, schrieb Jan Vesely: Not Marek, but hope this answer will help. libclc uses clang CLC preprocessor on .ll files, llvm/clang-13 started including clc declarations by default

Re: Is LLVM 13 (git) really ready for testing/development? libclc didn't compile

2021-03-06 Thread Jan Vesely
Not Marek, but hope this answer will help. libclc uses clang CLC preprocessor on .ll files, llvm/clang-13 started including clc declarations by default (clang cf3ef15a6ec5e5b45c6c54e8fbe3769255e815ce), thus corrupting any .ll assembly files that are used by libclc. Inclusion of the default

Re: Is LLVM 13 (git) really ready for testing/development? libclc didn't compile

2021-03-05 Thread Marek Olšák
Hi, I can't answer this because our Mesa team doesn't work on LLVM and we don't build libclc. Marek On Thu, Mar 4, 2021 at 10:20 PM Dieter Nützel wrote: > Hello Marek, > > can't compile anything, here. > Poor Intel Nehalem X3470. > > Trying LLVM 12-rc2 later. > > Greetings, > Dieter > >

Is LLVM 13 (git) really ready for testing/development? libclc didn't compile

2021-03-04 Thread Dieter Nützel
Hello Marek, can't compile anything, here. Poor Intel Nehalem X3470. Trying LLVM 12-rc2 later. Greetings, Dieter llvm-project/libclc> cd build && cmake ../ -- The CXX compiler identification is GNU 10.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check