On 26/11/2017 20:07, Alexander Kurtz wrote:
> Package: clang
> Version: 1:3.8-37
>
> In contrast, the clang package does not pull in libomp-dev, which means
> the following fails:
>
>     alexander@shepard:~$ cat test.c 
>     int main(){
>         #pragma omp parallel for schedule(dynamic,50)
>         for(int i = 0; i < 10; i++);
>     }
>     alexander@shepard:~$ clang -fopenmp test.c 
>     /usr/bin/ld: cannot find -lomp
>     clang: error: linker command failed with exit code 1 (use -v to see 
> invocation)
>     alexander@shepard:~$ 
>
> I think that if the clang binary supports the -fopenmp switch, it is
> reasonable to assume that it actually works. Therefore please make the
> clang package depend on the libomp-dev package.
>
For now, I am not planning to add this a mandatory dep. openmp is a
niche and I don't think
we should have a hard dependency for every clang user.
By the way libomp-dev is suggested by clang packages.

Cheers,
Sylvestre

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to