Displaying 20 results from an estimated 36 matches for "xtrue".
Did you mean:
true
2014 May 30
3
Typos in the FLAC codebase
...a norrmal ISO C99'
'norrmal' -> 'normal'
2) src/flac/encode.c, line 1661: '(eg, very short files, < 10000 fames)'
'fames' -> frames? samples? bytes?
3) configure.ac, line 140: 'AM_CONDITIONAL(FLAC__CPU_X86_64, test "x$cpu_x86_64" = xtrue)'
Not sure about this, but other names inside AM_CONDITIONALs begin with FLaC__,
not FLAC__. A quote from configure.ac: "NOTE that for many of the AM_CONDITIONALs
we use the prefix FLaC__ instead of FLAC__ since autoconf triggers off 'AC_' in strings".
2015 Dec 26
2
Proposal for multi location debug info support in LLVM IR
...will not turn a
location
add into a location remove of the key call.
- It should be noted that for optimized (pseudo-C) source like:
if (foo) {
x = a;
} else {
x = b;
}
the IR would have to look like:
if.true:
%xtrue = ... (a)
call token llvm.dbg.value(token undef, %xtrue, !var, !())
br cont
if.false:
%xfalse = ... (b)
call token llvm.dbg.value(token undef, %xfalse, !var, !())
br cont
cont:
%x = phi [%xtrue, %if.true], [%xfa...
2014 Nov 27
3
[PATCH] configure.ac: don't try to unset -g from CFLAGS
...y: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
configure.ac | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3d647ed..94d7c9e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -348,11 +348,10 @@ fi
if test "x$debug" = xtrue; then
CPPFLAGS="-DDEBUG $CPPFLAGS"
- CFLAGS=$(echo "$CFLAGS" | sed 's/-g//')
- CFLAGS="-g $CFLAGS"
+ CFLAGS=$(echo "-g $CFLAGS")
else
CPPFLAGS="-DNDEBUG $CPPFLAGS"
- CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g//')
+ CF...
2019 Sep 12
1
[libnbd PATCH] nbdsh: Support -u as synonym for --connect
...eta context works.
output=$(nbdkit -U - null --run 'nbdsh \
- -b --connect "nbd+unix://?socket=$unixsocket" \
+ -b -u "nbd+unix://?socket=$unixsocket" \
-c "print (h.can_meta_context (nbd.CONTEXT_BASE_ALLOCATION))"')
if test "x$output" != xTrue; then
echo "$0: unexpected output: $output"
@@ -40,7 +40,7 @@ fi
# Again, but with -b after -u, and with long option names
output=$(nbdkit -U - null --run 'nbdsh \
--connect "nbd+unix://?socket=$unixsocket" --base-allocation \
- --command "print (h.can_me...
2019 Sep 12
1
[libnbd PATCH v2] nbdsh: Prefer --uri over --connect
...cation (and a server that supports it), meta context works.
output=$(nbdkit -U - null --run 'nbdsh \
- --base-allocation --connect "nbd+unix://?socket=$unixsocket" \
- -c "print (h.can_meta_context (nbd.CONTEXT_BASE_ALLOCATION))"')
-if test "x$output" != xTrue; then
- echo "$0: unexpected output: $output"
- fail=1
-fi
-
-# Again, but with --b after --connect, and with abbreviated option names
-output=$(nbdkit -U - null --run 'nbdsh \
- --conn "nbd+unix://?socket=$unixsocket" --b \
+ --base-allocation --uri "nbd+un...
2004 Sep 10
1
patches for flac build
...S instead of replacing it, so the user's
> settings
> will come later on the command line and override the defaults.
OK, I checked in a fix... does this snippet look alright?
SAVE_CFLAGS="$CFLAGS"
CFLAGS='-I./include -I $(top_srcdir)/include -Wall -W'
if test x$debug = xtrue; then
CFLAGS="$CFLAGS -g -O0 -DDEBUG"
else
CFLAGS="$CFLAGS -O3 -DNDEBUG"
if test x$GCC = xyes; then
CFLAGS="$CFLAGS -fomit-frame-pointer -funroll-loops \
-finline-functions -Winline -DFLAC__INLINE=__inline__"
fi
fi
CFLAGS="$CFLAGS $...
2004 Sep 10
2
1.0 souce released
OK, I did the last few patches and made the source release.
Hope I got everything. I'll send out the standard announcement
now. Thanks everyone.
Josh
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
2005 Feb 04
1
[PATCH] FLAC 1.1.2-beta on Cygwin
...s. (Though my cygwin packages are not very recent;
would anyone else like to test this out?)
Chris
*** configure.in.orig Fri Feb 4 06:58:06 2005
--- configure.in Fri Feb 4 06:59:18 2005
***************
*** 52,57 ****
--- 52,58 ----
AM_CONDITIONAL(FLaC__CPU_SPARC, test x$cpu_sparc = xtrue)
case "$host" in
i386-*-openbsd3.[[0-3]]) OBJ_FORMAT=aoutb ;;
+ *-*-cygwin) OBJ_FORMAT=win32 ;;
*) OBJ_FORMAT=elf ;;
esac
AC_SUBST(OBJ_FORMAT)
2014 Nov 30
2
[PATCH] configure.ac: don't try to unset -g from CFLAGS
Jan Stary wrote:
> > if test "x$debug" = xtrue; then
> > CPPFLAGS="-DDEBUG $CPPFLAGS"
> > - CFLAGS=$(echo "$CFLAGS" | sed 's/-g//')
> > - CFLAGS="-g $CFLAGS"
> > + CFLAGS=$(echo "-g $CFLAGS")
>
> Just zap the sed line, and leave
>
> CFLAGS="-g $CFLAGS&...
2018 Jul 10
9
[PATCH 0/7] PowerPC64 performance improvements
The following series adds initial vector support for PowerPC64.
On POWER9, flac --best is about 3.3x faster.
Amitay Isaacs (2):
Add m4 macro to check for C __attribute__ features
Check if compiler supports target attribute on ppc64
Anton Blanchard (5):
configure.ac: Remove SPE detection code
configure.ac: Add VSX enable/disable
configure.ac: Fix FLAC__CPU_PPC on little endian, and add
2019 Sep 12
2
[libnbd PATCH] nbdsh: Add -b option to simplify h.block_status
...With -b (and a server that supports it), meta context works.
+output=$(nbdkit -U - null --run 'nbdsh \
+ -b --connect "nbd+unix://?socket=$unixsocket" \
+ -c "print (h.can_meta_context (nbd.CONTEXT_BASE_ALLOCATION))" </dev/null')
+if test "x$output" != xTrue; then
+ echo "$0: unexpected output: $output"
+ fail=1
+fi
+
+# Again, but with -b after --connect
+output=$(nbdkit -U - null --run 'nbdsh \
+ --connect "nbd+unix://?socket=$unixsocket" --base-allocation \
+ -c "print (h.can_meta_context (nbd.CONTEXT_BASE_AL...
2010 May 18
8
/etc/grub.d/09-xen for generating grub.cfg for hypervisor boot entries.
...Linux uses don''t like that.
case ${GRUB_DEVICE} in
/dev/loop/*|/dev/loop[0-9])
GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e
"s/^[^(]*(\([^)]\+\)).*/\1/"`
;;
esac
if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" =
"xtrue" ] \
|| ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" ; then
LINUX_ROOT_DEVICE=${GRUB_DEVICE}
else
LINUX_ROOT_DEVICE=UUID=${GRUB_DEVICE_UUID}
fi
test_gt ()
{
local a=`echo $1 | sed -e
"s,.*/vmlinu[zx]-,,g;s/[._-]\(pre\|rc\|test\|git\|old\)/~\1/g"`
local b=`...
2022 Nov 04
3
[libnbd PATCH v2 0/3] Improve nbdsh -u handling
v1 was here:
https://listman.redhat.com/archives/libguestfs/2022-October/030216.html
Since then, I've incorporated changes based on Rich's feedback:
swap order of patches 2 and 3
less change in patch 1 (including no unsafe eval(%s) for --uri)
in patch 2, include -c in list of snippets to store, and use dict of
lambdas to map back to the desired action
Eric Blake (3):
nbdsh:
2004 Sep 10
0
libFLAC internals
...file,
> [ --enable-profile Turn on profiling],
> [case "${enableval}" in
> yes) profile=true ;;
> no) profile=false ;;
> *) AC_MSG_ERROR(bad value ${enableval} for --enable-profile) ;;
> esac],[profile=false])
>
368a377,384
> if test x$profile = xtrue; then
> if test x$GCC = xyes; then
> CFLAGS="`echo $CFLAGS | sed -e 's/-fomit-frame-pointer//g'` -pg"
> else
> CFLAGS="$CFLAGS -p"
> fi
> fi
>
--
Miroslav Lichvar
2013 Jul 21
1
[PATCH] Link with -no-undefined regardless of the OS
...akefile.am | 2 +-
src/libFLAC/Makefile.am | 2 +-
3 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/configure.ac b/configure.ac
index 50ef80e..ba46caf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -129,19 +129,11 @@ AM_CONDITIONAL(FLaC__CPU_PPC_SPE, test "x$abi_spe" = xtrue)
os_is_windows=no
case "$host" in
*-*-cygwin|*mingw*)
- # define this variable for enabling strict exports with libtool; for now, it's supported by Win32 and OS/2
- LT_NO_UNDEFINED="-no-undefined"
CPPFLAGS="-D__MSVCRT_VERSION__=0x0601 $CPPFLAGS"
os_is_w...
2014 Jun 01
2
Typos in the FLAC codebase
Erik de Castro Lopo wrote:
>> 3) configure.ac, line 140: 'AM_CONDITIONAL(FLAC__CPU_X86_64, test "x$cpu_x86_64" = xtrue)'
>>
>> Not sure about this, but other names inside AM_CONDITIONALs begin with FLaC__,
>> not FLAC__. A quote from configure.ac: "NOTE that for many of the AM_CONDITIONALs
>> we use the prefix FLaC__ instead of FLAC__ since autoconf triggers off 'AC_' in str...
2014 Jun 07
1
Typos in the FLAC codebase
Erik de Castro Lopo wrote:
>> 3) configure.ac, line 140: 'AM_CONDITIONAL(FLAC__CPU_X86_64, test "x$cpu_x86_64" = xtrue)'
>>
>> Not sure about this, but other names inside AM_CONDITIONALs begin with FLaC__,
>> not FLAC__. A quote from configure.ac: "NOTE that for many of the AM_CONDITIONALs
>> we use the prefix FLaC__ instead of FLAC__ since autoconf triggers off 'AC_' in str...
2014 Oct 02
3
problems with configure.ac
1) in config.h FLAC__HAS_X86INTRIN macro is always defined and empty,
even if x86intrin.h is not available.
2) sse_os is defined as 'yes' or 'no', but AM_CONDITIONAL tests it for 'true':
AM_CONDITIONAL(FLaC__SSE_OS, test "x$sse_os" = xtrue)
It seems that it should be changed to
AM_CONDITIONAL(FLaC__SSE_OS, test "x$sse_os" = xyes)
3) configure --disable-sse prints:
" SSE optimizations : ................... no"
but this option actually doesn't disable SSE, so this message
is a bit misleading.
(Also, ma...
2016 Jan 23
1
microbench (benchmark_residual) requires -lrt for clock_gettime()
...it.
Regards.
--
O.S.
diff --git a/configure.ac b/configure.ac
index 993ac33..392485e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -437,6 +437,11 @@ if test x$enable_stack_smash_protection = "xyes" ; then
XIPH_GXX_STACK_PROTECTOR
fi
+if test "x$sys_linux" = xtrue ; then
+ LIB_CLOCK_GETTIME=-lrt
+ fi
+AC_SUBST(LIB_CLOCK_GETTIME)
+
AC_CONFIG_FILES([ \
Makefile \
src/Makefile \
diff --git a/microbench/Makefile.am b/microbench/Makefile.am
index e00097d..452e748 100644
--- a/microbench/Makefile.am
+++ b/microbench/Makefile.am
@@ -36,...
2017 Jan 13
0
[PATCH 1/4] Do not override CFLAGS, as CFLAGS is a user flag.
...)
fi
-AC_ARG_ENABLE(debug,
-AC_HELP_STRING([--enable-debug], [Turn on debugging]),
-[case "${enableval}" in
- yes) debug=true ;;
- no) debug=false ;;
- *) AC_MSG_ERROR(bad value ${enableval} for --enable-debug) ;;
-esac],[debug=false])
-AM_CONDITIONAL(DEBUG, test "x$debug" = xtrue)
+AX_CHECK_ENABLE_DEBUG
+AM_CONDITIONAL([DEBUG], [test "x$ax_enable_debug" = "xyes" -o "x$ax_enable_debug" = "xinfo"])
AC_ARG_ENABLE(sse,
AC_HELP_STRING([--disable-sse], [Disable passing of -msse2 to the compiler]),
@@ -384,15 +378,6 @@ AC_DEFINE(FLAC__HA...