search for: abs_top_srcdir

Displaying 20 results from an estimated 59 matches for "abs_top_srcdir".

2018 Apr 09
2
[PATCH] Fix out-of-tree builds of OCaml components
....in index 92037b785f..bef14d488a 100755 --- a/ocaml-dep.sh.in +++ b/ocaml-dep.sh.in @@ -49,7 +49,12 @@ ocaml # Output file is always created in the current directory. output=.depend -includes="" +subdir=$(realpath --relative-to=@abs_top_builddir@ .) +srcdir=$(realpath --relative-to=. @abs_top_srcdir@/${subdir}) +srcdir_re=$(realpath --relative-to=. @abs_top_srcdir@/${subdir} | sed 's/\./[.]/g') +top_builddir=$(realpath --relative-to=. @abs_top_builddir@) + +includes="-I @abs_top_srcdir@/$subdir -I @abs_top_builddir@/$subdir" for i in $include_dirs; do includes="$in...
2020 Sep 22
1
[PATCH] build: fix includedir in uninstalled libguestfs.pc
...-) diff --git a/lib/local/libguestfs.pc.in b/lib/local/libguestfs.pc.in index 129682be8..46cef1e16 100644 --- a/lib/local/libguestfs.pc.in +++ b/lib/local/libguestfs.pc.in @@ -26,7 +26,7 @@ prefix=@abs_top_builddir@ exec_prefix=@abs_top_builddir@ libdir=@abs_top_builddir@/lib/.libs -includedir=@abs_top_srcdir@/lib +includedir=@abs_top_srcdir@/include Name: libguestfs Version: @VERSION@ -- 2.26.2
2016 Apr 15
1
[PATCH 1/2] valgrind: Use --trace-children=no --child-silent-after-fork=yes
...ECK_PROG([VALGRIND],[valgrind],[valgrind],[no]) AS_IF([test "x$VALGRIND" != "xno"],[ # Substitute the whole valgrind command. - VG='$(VALGRIND) --vgdb=no --log-file=$(abs_top_builddir)/tmp/valgrind-%q{T}-%p.log --leak-check=full --error-exitcode=119 --suppressions=$(abs_top_srcdir)/valgrind-suppressions' + VG='$(VALGRIND) --vgdb=no --log-file=$(abs_top_builddir)/tmp/valgrind-%q{T}-%p.log --leak-check=full --error-exitcode=119 --suppressions=$(abs_top_srcdir)/valgrind-suppressions --trace-children=no --child-silent-after-fork=yes' ],[ # No valgrind, s...
2018 Apr 11
1
[PATCH] Fix out-of-tree builds of OCaml components
...sh.in index 92037b785..9bd35ba27 100755 --- a/ocaml-dep.sh.in +++ b/ocaml-dep.sh.in @@ -49,7 +49,12 @@ ocaml # Output file is always created in the current directory. output=.depend -includes="" +subdir=$(realpath --relative-to=@abs_top_builddir@ .) +srcdir=$(realpath --relative-to=. @abs_top_srcdir@/${subdir}) +srcdir_re=$(realpath --relative-to=. @abs_top_srcdir@/${subdir} | sed 's/\./[.]/g') +top_builddir=$(realpath --relative-to=. @abs_top_builddir@) + +includes="-I @abs_top_srcdir@/$subdir -I @abs_top_builddir@/$subdir" for i in $include_dirs; do includes="$in...
2010 Jul 06
0
Trouble Installing R
...l/lib/R/library/grid/tests mkdir /usr/local/lib/R/library/boot mkdir /usr/local/lib/R/library/boot/tests /opt/sfw/bin/install: omitting directory 'boot/tests/Examples' *** Error code 1 The following command caused the error: (tmp=${TMPDIR-/tmp}/R$$; mkdir ${tmp}; \ cd "../../.."; abs_top_srcdir='pwd'; \ abs_MKINSTALLDIRS='echo "/bin/bash ../../../src/scripts/mkinstalldirs.in" | sed "s:../../..:${abs_top_srcdir}:"' \ cd ${tmp}; \ for pkg in boot cluster codetools foreign KernSmooth lattice mgcv nlme rpart survival MASS class nnet spatial Matrix; do \...
2005 Jan 14
6
[LLVMdev] Proposed Makefile Changes
...'s makefile system, I'm finding that there's a few things lacking in our support for LLVM-based projects. The items below should help but may require changes to project makefiles. I thought I'd check before just going and doing it. 1. Various autoconf generated variables (e.g. abs_top_srcdir) are set in the makefiles but not used. They conflict with a user's project that might want to use them. I propose removing them or using names prefixed with llvm_ to ensure their use is only for llvm 2. BUILD_SRC_DIR and BUILD_OBJ_DIR are poorly named. This...
2015 Aug 06
0
[PATCH v4 01/17] tests: Introduce test harness for running tests.
...ot; in + let abs_srcdir = relative_path_to_absolute srcdir in + + let top_builddir = top_builddir () in + let top_srcdir = + if srcdir = "." then top_builddir + else top_builddir // srcdir in + let abs_top_builddir = relative_path_to_absolute top_builddir in + let abs_top_srcdir = relative_path_to_absolute top_srcdir in + + let datadir = abs_top_builddir // "tests/data" in + + if verbose then ( + printf "abs_builddir=%s\n" abs_builddir; + printf "abs_srcdir=%s\n" abs_srcdir; + printf "abs_top_builddir=%s\n" abs_t...
2011 Sep 20
2
[LLVMdev] [PATCH] llvm-config: Add support for LIBDIR_SUFFIX.
...use Cwd 'abs_path'; my $PACKAGE_NAME = q{@PACKAGE_NAME@}; my $VERSION = q{@PACKAGE_VERSION@}; my $PREFIX = q{@LLVM_PREFIX@}; +my $LLVM_LIBDIR_SUFFIX = q{@LLVM_LIBDIR_SUFFIX@}; my $LLVM_CONFIGTIME = q{@LLVM_CONFIGTIME@}; my $LLVM_SRC_ROOT = q{@abs_top_srcdir@}; my $LLVM_OBJ_ROOT = q{@abs_top_builddir@}; @@ -66,7 +67,7 @@ chomp($ABS_OBJ_ROOT); my $INCLUDEDIR = "$ABS_RUN_DIR/include"; my $INCLUDEOPTION = "-I$INCLUDEDIR"; -my $LIBDIR = "$ABS_RUN_DIR/lib"; +my $LIBDIR = "$ABS_RUN_DIR/lib$LLVM_LIBDIR_SUF...
2015 Jun 24
1
Re: [PATCH 6/7] tests: Add tests using a captive daemon process.
...ll library to help testing the daemon directly. > + > +package CaptiveDaemon; > + > +use strict; > +use warnings; > + > +use Sys::Guestfs; > + > +$| = 1; > + > +# Filled in by autoconf. > +my %var; > +$var{top_builddir} = "@top_builddir@"; > +$var{abs_top_srcdir} = "@abs_top_srcdir@"; > +$var{abs_top_builddir} = "@abs_top_builddir@"; > +$var{VALGRIND} = "@VALGRIND@"; > + > +# Now we have to substitute the above variables into this one: > +my $VG = '@VG@'; > +$VG =~ s/\$\(([A-Za-z_]+)\)/ $var{"$1&...
2014 Oct 05
0
[PATCH v5 1/7] tests: Introduce test harness for running tests.
...ot; in + let abs_srcdir = relative_path_to_absolute srcdir in + + let top_builddir = top_builddir () in + let top_srcdir = + if srcdir = "." then top_builddir + else top_builddir // srcdir in + let abs_top_builddir = relative_path_to_absolute top_builddir in + let abs_top_srcdir = relative_path_to_absolute top_srcdir in + + let datadir = abs_top_builddir // "tests/data" in + + (* Note that because the tests always run in a temporary + * directory, relative paths are useless, so we always populate the + * environment with absolute paths. + *) +...
2014 Oct 03
0
[PATCH v3] tests: Introduce test harness for running tests.
...+ loop (i+1) (top_builddir // "..") + in + let top_builddir = loop 0 "." in + let top_srcdir = + if srcdir = "." then top_builddir + else top_builddir // srcdir in + let abs_top_builddir = relative_path_to_absolute top_builddir in + let abs_top_srcdir = relative_path_to_absolute top_srcdir in + + let datadir = abs_top_builddir // "tests/data" in + + (* Note that because the tests always run in a temporary + * directory, relative paths are useless, so we always populate the + * environment with absolute paths. + *) +...
2017 Feb 19
3
[PATCH [WIP] 0/3] tests: Define common test functions.
There's a lot of common code in the tests, eg: if [ "$(guestfish get-backend)" = "uml" ]; then echo "$0: test skipped because UML backend does not support network" exit 77 fi These commits (work in progress) create a common set of test functions for skipping tests etc. Rich.
2005 Jan 16
0
[LLVMdev] Proposed Makefile Changes
...'m finding that there's > a few things lacking in our support for LLVM-based projects. The items > below should help but may require changes to project makefiles. I > thought I'd check before just going and doing it. > > 1. Various autoconf generated variables (e.g. abs_top_srcdir) are > set in the makefiles but not used. They conflict with a user's > project that might want to use them. I propose removing them or > using names prefixed with llvm_ to ensure their use is only for > llvm > 2. BUILD_SRC_DIR and BUILD_OBJ_D...
2015 Jun 23
0
[PATCH 6/7] tests: Add tests using a captive daemon process.
..., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +# Small library to help testing the daemon directly. + +package CaptiveDaemon; + +use strict; +use warnings; + +use Sys::Guestfs; + +$| = 1; + +# Filled in by autoconf. +my %var; +$var{top_builddir} = "@top_builddir@"; +$var{abs_top_srcdir} = "@abs_top_srcdir@"; +$var{abs_top_builddir} = "@abs_top_builddir@"; +$var{VALGRIND} = "@VALGRIND@"; + +# Now we have to substitute the above variables into this one: +my $VG = '@VG@'; +$VG =~ s/\$\(([A-Za-z_]+)\)/ $var{"$1"} /ge; + +# Refuse to run...
2015 Jun 25
0
[PATCH v2 6/9] tests: Add tests using a captive daemon process.
..., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +# Small library to help testing the daemon directly. + +package CaptiveDaemon; + +use strict; +use warnings; + +use Sys::Guestfs; + +$| = 1; + +# Filled in by autoconf. +my %var; +$var{top_builddir} = "@top_builddir@"; +$var{abs_top_srcdir} = "@abs_top_srcdir@"; +$var{abs_top_builddir} = "@abs_top_builddir@"; +$var{VALGRIND} = "@VALGRIND@"; + +# Now we have to substitute the above variables into this one: +my $VG = '@VG@'; +$VG =~ s/\$\(([A-Za-z_]+)\)/ $var{"$1"} /ge; + +# Refuse to run...
2011 Sep 20
0
[LLVMdev] [PATCH] llvm-config: Add support for LIBDIR_SUFFIX.
...9;; > my $PACKAGE_NAME = q{@PACKAGE_NAME@}; > my $VERSION = q{@PACKAGE_VERSION@}; > my $PREFIX = q{@LLVM_PREFIX@}; > +my $LLVM_LIBDIR_SUFFIX = q{@LLVM_LIBDIR_SUFFIX@}; > my $LLVM_CONFIGTIME = q{@LLVM_CONFIGTIME@}; > my $LLVM_SRC_ROOT = q{@abs_top_srcdir@}; > my $LLVM_OBJ_ROOT = q{@abs_top_builddir@}; > @@ -66,7 +67,7 @@ chomp($ABS_OBJ_ROOT); > > my $INCLUDEDIR = "$ABS_RUN_DIR/include"; > my $INCLUDEOPTION = "-I$INCLUDEDIR"; > -my $LIBDIR = "$ABS_RUN_DIR/lib"; > +my $LIBDIR = "$...
2015 Jun 23
10
[PATCH 0/7] Better testing of the guestfsd daemon.
Currently we are unable to properly run guestfsd (the daemon) under valgrind. Attempts to run valgrind inside the appliance have not been successful (see patch 1/7). However we desperately need better valgrind coverage of the daemon, particularly because it is doing a lot of complex parsing of program output. This has been a problem for a long time. A better way to attack this problem is to
2016 Jan 04
3
[PATCH 0/3] podwrapper: Generate consistent WARNING sections (RHBZ#1293527).
Fix for: https://bugzilla.redhat.com/show_bug.cgi?id=1293527 Note that patches 2/3 and 3/3 are dependent on each other, ie. applying 2/3 on its own will break the build. So I may combine these when applying the series. Rich.
2005 Jan 16
0
[LLVMdev] Proposed Makefile Changes
...'m finding that there's > a few things lacking in our support for LLVM-based projects. The items > below should help but may require changes to project makefiles. I > thought I'd check before just going and doing it. > > 1. Various autoconf generated variables (e.g. abs_top_srcdir) are > set in the makefiles but not used. They conflict with a user's > project that might want to use them. I propose removing them or > using names prefixed with llvm_ to ensure their use is only for > llvm > 2. BUILD_SRC_DIR and BUILD_OBJ_D...
2005 Jan 16
1
[LLVMdev] Proposed Makefile Changes
...'s > > a few things lacking in our support for LLVM-based projects. The items > > below should help but may require changes to project makefiles. I > > thought I'd check before just going and doing it. > > > > 1. Various autoconf generated variables (e.g. abs_top_srcdir) are > > set in the makefiles but not used. They conflict with a user's > > project that might want to use them. I propose removing them or > > using names prefixed with llvm_ to ensure their use is only for > > llvm > > 2. BUIL...