Re: [blfs-dev] Why is LLVM recommended for gst-plugins-bad?

2019-09-25 Thread Pierre Labastie via blfs-dev
On 25/09/2019 21:24, Xi Ruoyao via blfs-dev wrote:
> I tried to grep "llvm" and "LLVM" in gst-plugins-bad-1.16.1 source code tree. 
> All references seem related to Mac OS, nothing Linux.
> 

Using "svn blame" shows that at a time, clang has been recommended for
gst-plugins-bad "to avoid video problems". So it's not really LLVM, which was
recommended, but clang itself.

Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Why is LLVM recommended for gst-plugins-bad?

2019-09-25 Thread Xi Ruoyao via blfs-dev
On 2019-09-25 14:33 -0500, Douglas R. Reno via blfs-dev wrote:
> On 9/25/19 2:24 PM, Xi Ruoyao via blfs-dev wrote:
> > I tried to grep "llvm" and "LLVM" in gst-plugins-bad-1.16.1 source code
> > tree.
> > All references seem related to Mac OS, nothing Linux.
> In gst-plugins-bad.1.14.4, when autotools was still supported, LLVM was 
> listed as a dependency in the configure script, which is why we 
> documented it

The only code snip containing "llvm" in configure:

> $as_echo_n "checking whether $CC is Clang... " >&6; }
> if ${ax_cv_PTHREAD_CLANG+:} false; then :
>   $as_echo_n "(cached) " >&6
> else
>   ax_cv_PTHREAD_CLANG=no
>  # Note that Autoconf sets GCC=yes for Clang as well as GCC
>  if test "x$GCC" = "xyes"; then
> cat confdefs.h - <<_ACEOF >conftest.$ac_ext
> /* end confdefs.h.  */
> /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
> #if defined(__clang__) && defined(__llvm__)
>  AX_PTHREAD_CC_IS_CLANG
> #endif
> 
> _ACEOF
> if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
>   $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1; then :
>   ax_cv_PTHREAD_CLANG=yes
> fi
> rm -f conftest*

This is just for testing if the compiler is clang.  Absolutely not a dependency.
-- 
Xi Ruoyao 
School of Aerospace Science and Technology, Xidian University

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Why is LLVM recommended for gst-plugins-bad?

2019-09-25 Thread Bruce Dubbs via blfs-dev

On 9/25/19 2:24 PM, Xi Ruoyao via blfs-dev wrote:

I tried to grep "llvm" and "LLVM" in gst-plugins-bad-1.16.1 source code tree.
All references seem related to Mac OS, nothing Linux.



You're right.  I have no reference to llvm in ,y build log.  I'll remove 
the dependency.


  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Why is LLVM recommended for gst-plugins-bad?

2019-09-25 Thread Douglas R. Reno via blfs-dev


On 9/25/19 2:24 PM, Xi Ruoyao via blfs-dev wrote:

I tried to grep "llvm" and "LLVM" in gst-plugins-bad-1.16.1 source code tree.
All references seem related to Mac OS, nothing Linux.
In gst-plugins-bad.1.14.4, when autotools was still supported, LLVM was 
listed as a dependency in the configure script, which is why we 
documented it

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page