xnd 0.2.0dev6 → 0.2.0dev7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/Rakefile +1 -1
- data/ext/ruby_xnd/GPATH +0 -0
- data/ext/ruby_xnd/GRTAGS +0 -0
- data/ext/ruby_xnd/GTAGS +0 -0
- data/ext/ruby_xnd/extconf.rb +8 -5
- data/ext/ruby_xnd/gc_guard.c +53 -2
- data/ext/ruby_xnd/gc_guard.h +8 -2
- data/ext/ruby_xnd/include/overflow.h +147 -0
- data/ext/ruby_xnd/include/ruby_xnd.h +62 -0
- data/ext/ruby_xnd/include/xnd.h +590 -0
- data/ext/ruby_xnd/lib/libxnd.a +0 -0
- data/ext/ruby_xnd/lib/libxnd.so +1 -0
- data/ext/ruby_xnd/lib/libxnd.so.0 +1 -0
- data/ext/ruby_xnd/lib/libxnd.so.0.2.0dev3 +0 -0
- data/ext/ruby_xnd/ruby_xnd.c +556 -47
- data/ext/ruby_xnd/ruby_xnd.h +2 -1
- data/ext/ruby_xnd/xnd/Makefile +80 -0
- data/ext/ruby_xnd/xnd/config.h +26 -0
- data/ext/ruby_xnd/xnd/config.h.in +3 -0
- data/ext/ruby_xnd/xnd/config.log +421 -0
- data/ext/ruby_xnd/xnd/config.status +1023 -0
- data/ext/ruby_xnd/xnd/configure +376 -8
- data/ext/ruby_xnd/xnd/configure.ac +48 -7
- data/ext/ruby_xnd/xnd/doc/xnd/index.rst +3 -1
- data/ext/ruby_xnd/xnd/doc/xnd/{types.rst → xnd.rst} +3 -18
- data/ext/ruby_xnd/xnd/libxnd/Makefile +142 -0
- data/ext/ruby_xnd/xnd/libxnd/Makefile.in +43 -3
- data/ext/ruby_xnd/xnd/libxnd/Makefile.vc +19 -3
- data/ext/ruby_xnd/xnd/libxnd/bitmaps.c +42 -3
- data/ext/ruby_xnd/xnd/libxnd/bitmaps.o +0 -0
- data/ext/ruby_xnd/xnd/libxnd/bounds.c +366 -0
- data/ext/ruby_xnd/xnd/libxnd/bounds.o +0 -0
- data/ext/ruby_xnd/xnd/libxnd/contrib.h +98 -0
- data/ext/ruby_xnd/xnd/libxnd/contrib/bfloat16.h +213 -0
- data/ext/ruby_xnd/xnd/libxnd/copy.c +155 -4
- data/ext/ruby_xnd/xnd/libxnd/copy.o +0 -0
- data/ext/ruby_xnd/xnd/libxnd/cuda/cuda_memory.cu +121 -0
- data/ext/ruby_xnd/xnd/libxnd/cuda/cuda_memory.h +58 -0
- data/ext/ruby_xnd/xnd/libxnd/equal.c +195 -7
- data/ext/ruby_xnd/xnd/libxnd/equal.o +0 -0
- data/ext/ruby_xnd/xnd/libxnd/inline.h +32 -0
- data/ext/ruby_xnd/xnd/libxnd/libxnd.a +0 -0
- data/ext/ruby_xnd/xnd/libxnd/libxnd.so +1 -0
- data/ext/ruby_xnd/xnd/libxnd/libxnd.so.0 +1 -0
- data/ext/ruby_xnd/xnd/libxnd/libxnd.so.0.2.0dev3 +0 -0
- data/ext/ruby_xnd/xnd/libxnd/shape.c +207 -0
- data/ext/ruby_xnd/xnd/libxnd/shape.o +0 -0
- data/ext/ruby_xnd/xnd/libxnd/split.c +2 -2
- data/ext/ruby_xnd/xnd/libxnd/split.o +0 -0
- data/ext/ruby_xnd/xnd/libxnd/tests/Makefile +39 -0
- data/ext/ruby_xnd/xnd/libxnd/xnd.c +613 -91
- data/ext/ruby_xnd/xnd/libxnd/xnd.h +145 -4
- data/ext/ruby_xnd/xnd/libxnd/xnd.o +0 -0
- data/ext/ruby_xnd/xnd/python/test_xnd.py +1125 -50
- data/ext/ruby_xnd/xnd/python/xnd/__init__.py +609 -124
- data/ext/ruby_xnd/xnd/python/xnd/_version.py +1 -0
- data/ext/ruby_xnd/xnd/python/xnd/_xnd.c +1652 -101
- data/ext/ruby_xnd/xnd/python/xnd/libxnd.a +0 -0
- data/ext/ruby_xnd/xnd/python/xnd/libxnd.so +1 -0
- data/ext/ruby_xnd/xnd/python/xnd/libxnd.so.0 +1 -0
- data/ext/ruby_xnd/xnd/python/xnd/libxnd.so.0.2.0dev3 +0 -0
- data/ext/ruby_xnd/xnd/python/xnd/pyxnd.h +1 -1
- data/ext/ruby_xnd/xnd/python/xnd/util.h +25 -0
- data/ext/ruby_xnd/xnd/python/xnd/xnd.h +590 -0
- data/ext/ruby_xnd/xnd/python/xnd_randvalue.py +106 -6
- data/ext/ruby_xnd/xnd/python/xnd_support.py +4 -0
- data/ext/ruby_xnd/xnd/setup.py +46 -4
- data/lib/ruby_xnd.so +0 -0
- data/lib/xnd.rb +39 -3
- data/lib/xnd/version.rb +2 -2
- data/xnd.gemspec +2 -1
- metadata +58 -5
data/ext/ruby_xnd/ruby_xnd.h
CHANGED
@@ -43,13 +43,14 @@ extern "C" {
|
|
43
43
|
#include "ruby.h"
|
44
44
|
#include "ndtypes.h"
|
45
45
|
#include "xnd.h"
|
46
|
+
#include "overflow.h"
|
46
47
|
|
47
48
|
size_t rb_xnd_hash_size(VALUE hash);
|
48
49
|
int rb_xnd_get_complex_values(VALUE comp, double *real, double *imag);
|
49
50
|
/* Return true if obj is of type XND. */
|
50
51
|
int rb_xnd_check_type(VALUE obj);
|
51
52
|
const xnd_t * rb_xnd_const_xnd(VALUE xnd);
|
52
|
-
VALUE rb_xnd_empty_from_type(ndt_t *t);
|
53
|
+
VALUE rb_xnd_empty_from_type(const ndt_t *t, uint32_t flags);
|
53
54
|
VALUE rb_xnd_from_xnd(xnd_t *x);
|
54
55
|
|
55
56
|
typedef struct XndObject XndObject;
|
@@ -0,0 +1,80 @@
|
|
1
|
+
|
2
|
+
# ==============================================================================
|
3
|
+
# Unix Makefile for libxnd
|
4
|
+
# ==============================================================================
|
5
|
+
|
6
|
+
|
7
|
+
PACKAGE_TARNAME = xnd
|
8
|
+
LIBSTATIC = libxnd.a
|
9
|
+
LIBNAME = libxnd.so
|
10
|
+
LIBSONAME = libxnd.so.0
|
11
|
+
LIBSHARED = libxnd.so.0.2.0dev3
|
12
|
+
|
13
|
+
LIBRARY_PATH = ..:../../ndtypes/libndtypes
|
14
|
+
INSTALL = /usr/bin/install -c
|
15
|
+
|
16
|
+
prefix = /home/sameer/gitrepos/xnd-ruby/xnd/ext/ruby_xnd
|
17
|
+
exec_prefix = ${prefix}
|
18
|
+
includedir = ${prefix}/include
|
19
|
+
libdir = ${exec_prefix}/lib
|
20
|
+
datarootdir = ${prefix}/share
|
21
|
+
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
|
22
|
+
|
23
|
+
|
24
|
+
default: FORCE
|
25
|
+
cd libxnd && $(MAKE)
|
26
|
+
$(INSTALL) -m 644 libxnd/xnd.h python/xnd
|
27
|
+
$(INSTALL) -m 644 libxnd/$(LIBSTATIC) python/xnd
|
28
|
+
$(INSTALL) -m 755 libxnd/$(LIBSHARED) python/xnd
|
29
|
+
cd python/xnd && ln -sf $(LIBSHARED) $(LIBSONAME) && ln -sf $(LIBSHARED) $(LIBNAME)
|
30
|
+
|
31
|
+
runtest: default
|
32
|
+
cd libxnd/tests && $(MAKE)
|
33
|
+
|
34
|
+
check: runtest
|
35
|
+
cd libxnd/tests && ./runtest
|
36
|
+
@printf "\n\n"
|
37
|
+
cd libxnd/tests && LD_LIBRARY_PATH=$(LIBRARY_PATH) ./runtest_shared
|
38
|
+
|
39
|
+
memcheck: runtest
|
40
|
+
cd libxnd/tests && valgrind --leak-check=full --show-leak-kinds=all ./runtest
|
41
|
+
@printf "\n\n"
|
42
|
+
cd libxnd/tests && LD_LIBRARY_PATH=$(LIBRARY_PATH) valgrind --leak-check=full --show-leak-kinds=all ./runtest_shared
|
43
|
+
|
44
|
+
install: install_libs
|
45
|
+
|
46
|
+
install_libs: FORCE
|
47
|
+
$(INSTALL) -d -m 755 $(DESTDIR)$(includedir)
|
48
|
+
$(INSTALL) -m 644 libxnd/xnd.h $(DESTDIR)$(includedir)
|
49
|
+
$(INSTALL) -d -m 755 $(DESTDIR)$(libdir)
|
50
|
+
$(INSTALL) -m 644 libxnd/$(LIBSTATIC) $(DESTDIR)$(libdir)
|
51
|
+
$(INSTALL) -m 755 libxnd/$(LIBSHARED) $(DESTDIR)$(libdir)
|
52
|
+
cd $(DESTDIR)$(libdir) && ln -sf $(LIBSHARED) $(LIBSONAME) && ln -sf $(LIBSHARED) $(LIBNAME)
|
53
|
+
|
54
|
+
install_docs: FORCE
|
55
|
+
$(INSTALL) -d -m 755 $(DESTDIR)$(docdir)
|
56
|
+
cp -R doc/* $(DESTDIR)$(docdir)
|
57
|
+
|
58
|
+
clean: FORCE
|
59
|
+
cd libxnd && if [ -f Makefile ]; then $(MAKE) clean; else exit 0; fi
|
60
|
+
cd libxnd/tests && if [ -f Makefile ]; then $(MAKE) clean; else exit 0; fi
|
61
|
+
rm -rf build
|
62
|
+
cd python/xnd && rm -f *.so $(LIBSTATIC) $(LIBSHARED) $(LIBSONAME) $(LIBNAME)
|
63
|
+
cd python/xnd && rm -rf __pycache__
|
64
|
+
cd python/xnd/contrib && rm -rf __pycache__
|
65
|
+
|
66
|
+
distclean: FORCE
|
67
|
+
cd libxnd && if [ -f Makefile ]; then $(MAKE) distclean; else exit 0; fi
|
68
|
+
cd libxnd/tests && if [ -f Makefile ]; then $(MAKE) distclean; else exit 0; fi
|
69
|
+
rm -f config.h config.log config.status Makefile
|
70
|
+
rm -rf build dist MANIFEST ndtypes record.txt
|
71
|
+
cd python && rm -rf ndtypes *.egg-info __pycache__ ndtypes.egg-info
|
72
|
+
cd python/xnd && rm -f *.so $(LIBSTATIC) $(LIBSHARED) $(LIBSONAME) $(LIBNAME) xnd.h
|
73
|
+
cd python/xnd && rm -rf __pycache__
|
74
|
+
cd python/xnd/contrib && rm -rf __pycache__
|
75
|
+
cd .conda/xnd && rm -rf test
|
76
|
+
|
77
|
+
FORCE:
|
78
|
+
|
79
|
+
|
80
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/* config.h. Generated from config.h.in by configure. */
|
2
|
+
/* config.h.in. Generated from configure.ac by autoheader. */
|
3
|
+
|
4
|
+
/* Define to 1 if you have the nvcc cuda compiler. */
|
5
|
+
/* #undef HAVE_CUDA */
|
6
|
+
|
7
|
+
/* Define to the address where bug reports for this package should be sent. */
|
8
|
+
#define PACKAGE_BUGREPORT "skrah@bytereef.org"
|
9
|
+
|
10
|
+
/* Define to the full name of this package. */
|
11
|
+
#define PACKAGE_NAME "xnd"
|
12
|
+
|
13
|
+
/* Define to the full name and version of this package. */
|
14
|
+
#define PACKAGE_STRING "xnd 0.2.0dev3"
|
15
|
+
|
16
|
+
/* Define to the one symbol short name of this package. */
|
17
|
+
#define PACKAGE_TARNAME "xnd"
|
18
|
+
|
19
|
+
/* Define to the home page for this package. */
|
20
|
+
#define PACKAGE_URL "https://github.com/plures/"
|
21
|
+
|
22
|
+
/* Define to the version of this package. */
|
23
|
+
#define PACKAGE_VERSION "0.2.0dev3"
|
24
|
+
|
25
|
+
/* Define to 1 if you have the ANSI C header files. */
|
26
|
+
#define STDC_HEADERS 1
|
@@ -0,0 +1,421 @@
|
|
1
|
+
This file contains any messages produced by compilers while
|
2
|
+
running configure, to aid debugging if configure makes a mistake.
|
3
|
+
|
4
|
+
It was created by xnd configure 0.2.0dev3, which was
|
5
|
+
generated by GNU Autoconf 2.69. Invocation command line was
|
6
|
+
|
7
|
+
$ ./configure --prefix=/home/sameer/gitrepos/xnd-ruby/xnd/ext/ruby_xnd --with-docs=no --with-includes=/home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include
|
8
|
+
|
9
|
+
## --------- ##
|
10
|
+
## Platform. ##
|
11
|
+
## --------- ##
|
12
|
+
|
13
|
+
hostname = sameer-K401UB
|
14
|
+
uname -m = x86_64
|
15
|
+
uname -r = 5.0.0-23-generic
|
16
|
+
uname -s = Linux
|
17
|
+
uname -v = #24~18.04.1-Ubuntu SMP Mon Jul 29 16:12:28 UTC 2019
|
18
|
+
|
19
|
+
/usr/bin/uname -p = unknown
|
20
|
+
/bin/uname -X = unknown
|
21
|
+
|
22
|
+
/bin/arch = unknown
|
23
|
+
/usr/bin/arch -k = unknown
|
24
|
+
/usr/convex/getsysinfo = unknown
|
25
|
+
/usr/bin/hostinfo = unknown
|
26
|
+
/bin/machine = unknown
|
27
|
+
/usr/bin/oslevel = unknown
|
28
|
+
/bin/universe = unknown
|
29
|
+
|
30
|
+
PATH: /home/sameer/.rvm/gems/ruby-2.4.1/bin
|
31
|
+
PATH: /home/sameer/anaconda3/condabin
|
32
|
+
PATH: /home/sameer/gitrepos/starpu-1.2.8/bin
|
33
|
+
PATH: /home/sameer/.rvm/gems/ruby-2.4.1@global/bin
|
34
|
+
PATH: /home/sameer/.rvm/rubies/ruby-2.4.1/bin
|
35
|
+
PATH: /usr/local/sbin
|
36
|
+
PATH: /usr/local/bin
|
37
|
+
PATH: /usr/sbin
|
38
|
+
PATH: /usr/bin
|
39
|
+
PATH: /sbin
|
40
|
+
PATH: /bin
|
41
|
+
PATH: /usr/games
|
42
|
+
PATH: /usr/local/games
|
43
|
+
PATH: /snap/bin
|
44
|
+
PATH: /home/sameer/.rvm/bin
|
45
|
+
PATH: /home/sameer/.emacs.d/elpa/rtags-2.21/rtags-2.21/bin/
|
46
|
+
|
47
|
+
|
48
|
+
## ----------- ##
|
49
|
+
## Core tests. ##
|
50
|
+
## ----------- ##
|
51
|
+
|
52
|
+
configure:1927: checking system as reported by uname -s
|
53
|
+
configure:1930: result: Linux
|
54
|
+
configure:1992: checking build system type
|
55
|
+
configure:2006: result: x86_64-unknown-linux-gnu
|
56
|
+
configure:2026: checking host system type
|
57
|
+
configure:2039: result: x86_64-unknown-linux-gnu
|
58
|
+
configure:2119: checking for gcc
|
59
|
+
configure:2135: found /usr/bin/gcc
|
60
|
+
configure:2146: result: gcc
|
61
|
+
configure:2375: checking for C compiler version
|
62
|
+
configure:2384: gcc --version >&5
|
63
|
+
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
|
64
|
+
Copyright (C) 2017 Free Software Foundation, Inc.
|
65
|
+
This is free software; see the source for copying conditions. There is NO
|
66
|
+
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
67
|
+
|
68
|
+
configure:2395: $? = 0
|
69
|
+
configure:2384: gcc -v >&5
|
70
|
+
Using built-in specs.
|
71
|
+
COLLECT_GCC=gcc
|
72
|
+
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
|
73
|
+
OFFLOAD_TARGET_NAMES=nvptx-none
|
74
|
+
OFFLOAD_TARGET_DEFAULT=1
|
75
|
+
Target: x86_64-linux-gnu
|
76
|
+
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
77
|
+
Thread model: posix
|
78
|
+
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
|
79
|
+
configure:2395: $? = 0
|
80
|
+
configure:2384: gcc -V >&5
|
81
|
+
gcc: error: unrecognized command line option '-V'
|
82
|
+
gcc: fatal error: no input files
|
83
|
+
compilation terminated.
|
84
|
+
configure:2395: $? = 1
|
85
|
+
configure:2384: gcc -qversion >&5
|
86
|
+
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
|
87
|
+
gcc: fatal error: no input files
|
88
|
+
compilation terminated.
|
89
|
+
configure:2395: $? = 1
|
90
|
+
configure:2415: checking whether the C compiler works
|
91
|
+
configure:2437: gcc conftest.c >&5
|
92
|
+
configure:2441: $? = 0
|
93
|
+
configure:2489: result: yes
|
94
|
+
configure:2492: checking for C compiler default output file name
|
95
|
+
configure:2494: result: a.out
|
96
|
+
configure:2500: checking for suffix of executables
|
97
|
+
configure:2507: gcc -o conftest conftest.c >&5
|
98
|
+
configure:2511: $? = 0
|
99
|
+
configure:2533: result:
|
100
|
+
configure:2555: checking whether we are cross compiling
|
101
|
+
configure:2563: gcc -o conftest conftest.c >&5
|
102
|
+
configure:2567: $? = 0
|
103
|
+
configure:2574: ./conftest
|
104
|
+
configure:2578: $? = 0
|
105
|
+
configure:2593: result: no
|
106
|
+
configure:2598: checking for suffix of object files
|
107
|
+
configure:2620: gcc -c conftest.c >&5
|
108
|
+
configure:2624: $? = 0
|
109
|
+
configure:2645: result: o
|
110
|
+
configure:2649: checking whether we are using the GNU C compiler
|
111
|
+
configure:2668: gcc -c conftest.c >&5
|
112
|
+
configure:2668: $? = 0
|
113
|
+
configure:2677: result: yes
|
114
|
+
configure:2686: checking whether gcc accepts -g
|
115
|
+
configure:2706: gcc -c -g conftest.c >&5
|
116
|
+
configure:2706: $? = 0
|
117
|
+
configure:2747: result: yes
|
118
|
+
configure:2764: checking for gcc option to accept ISO C89
|
119
|
+
configure:2827: gcc -c -g -O2 conftest.c >&5
|
120
|
+
configure:2827: $? = 0
|
121
|
+
configure:2840: result: none needed
|
122
|
+
configure:2918: checking for g++
|
123
|
+
configure:2934: found /usr/bin/g++
|
124
|
+
configure:2945: result: g++
|
125
|
+
configure:2972: checking for C++ compiler version
|
126
|
+
configure:2981: g++ --version >&5
|
127
|
+
g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
|
128
|
+
Copyright (C) 2017 Free Software Foundation, Inc.
|
129
|
+
This is free software; see the source for copying conditions. There is NO
|
130
|
+
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
131
|
+
|
132
|
+
configure:2992: $? = 0
|
133
|
+
configure:2981: g++ -v >&5
|
134
|
+
Using built-in specs.
|
135
|
+
COLLECT_GCC=g++
|
136
|
+
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
|
137
|
+
OFFLOAD_TARGET_NAMES=nvptx-none
|
138
|
+
OFFLOAD_TARGET_DEFAULT=1
|
139
|
+
Target: x86_64-linux-gnu
|
140
|
+
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
141
|
+
Thread model: posix
|
142
|
+
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
|
143
|
+
configure:2992: $? = 0
|
144
|
+
configure:2981: g++ -V >&5
|
145
|
+
g++: error: unrecognized command line option '-V'
|
146
|
+
g++: fatal error: no input files
|
147
|
+
compilation terminated.
|
148
|
+
configure:2992: $? = 1
|
149
|
+
configure:2981: g++ -qversion >&5
|
150
|
+
g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
|
151
|
+
g++: fatal error: no input files
|
152
|
+
compilation terminated.
|
153
|
+
configure:2992: $? = 1
|
154
|
+
configure:2996: checking whether we are using the GNU C++ compiler
|
155
|
+
configure:3015: g++ -c conftest.cpp >&5
|
156
|
+
configure:3015: $? = 0
|
157
|
+
configure:3024: result: yes
|
158
|
+
configure:3033: checking whether g++ accepts -g
|
159
|
+
configure:3053: g++ -c -g conftest.cpp >&5
|
160
|
+
configure:3053: $? = 0
|
161
|
+
configure:3094: result: yes
|
162
|
+
configure:3164: checking for ar
|
163
|
+
configure:3180: found /usr/bin/ar
|
164
|
+
configure:3191: result: ar
|
165
|
+
configure:3256: checking for ranlib
|
166
|
+
configure:3272: found /usr/bin/ranlib
|
167
|
+
configure:3283: result: ranlib
|
168
|
+
configure:3315: checking how to run the C preprocessor
|
169
|
+
configure:3346: gcc -E conftest.c
|
170
|
+
configure:3346: $? = 0
|
171
|
+
configure:3360: gcc -E conftest.c
|
172
|
+
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
|
173
|
+
#include <ac_nonexistent.h>
|
174
|
+
^~~~~~~~~~~~~~~~~~
|
175
|
+
compilation terminated.
|
176
|
+
configure:3360: $? = 1
|
177
|
+
configure: failed program was:
|
178
|
+
| /* confdefs.h */
|
179
|
+
| #define PACKAGE_NAME "xnd"
|
180
|
+
| #define PACKAGE_TARNAME "xnd"
|
181
|
+
| #define PACKAGE_VERSION "0.2.0dev3"
|
182
|
+
| #define PACKAGE_STRING "xnd 0.2.0dev3"
|
183
|
+
| #define PACKAGE_BUGREPORT "skrah@bytereef.org"
|
184
|
+
| #define PACKAGE_URL "https://github.com/plures/"
|
185
|
+
| /* end confdefs.h. */
|
186
|
+
| #include <ac_nonexistent.h>
|
187
|
+
configure:3385: result: gcc -E
|
188
|
+
configure:3405: gcc -E conftest.c
|
189
|
+
configure:3405: $? = 0
|
190
|
+
configure:3419: gcc -E conftest.c
|
191
|
+
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
|
192
|
+
#include <ac_nonexistent.h>
|
193
|
+
^~~~~~~~~~~~~~~~~~
|
194
|
+
compilation terminated.
|
195
|
+
configure:3419: $? = 1
|
196
|
+
configure: failed program was:
|
197
|
+
| /* confdefs.h */
|
198
|
+
| #define PACKAGE_NAME "xnd"
|
199
|
+
| #define PACKAGE_TARNAME "xnd"
|
200
|
+
| #define PACKAGE_VERSION "0.2.0dev3"
|
201
|
+
| #define PACKAGE_STRING "xnd 0.2.0dev3"
|
202
|
+
| #define PACKAGE_BUGREPORT "skrah@bytereef.org"
|
203
|
+
| #define PACKAGE_URL "https://github.com/plures/"
|
204
|
+
| /* end confdefs.h. */
|
205
|
+
| #include <ac_nonexistent.h>
|
206
|
+
configure:3448: checking for grep that handles long lines and -e
|
207
|
+
configure:3506: result: /bin/grep
|
208
|
+
configure:3511: checking for egrep
|
209
|
+
configure:3573: result: /bin/grep -E
|
210
|
+
configure:3578: checking for ANSI C header files
|
211
|
+
configure:3598: gcc -c conftest.c >&5
|
212
|
+
configure:3598: $? = 0
|
213
|
+
configure:3671: gcc -o conftest conftest.c >&5
|
214
|
+
configure:3671: $? = 0
|
215
|
+
configure:3671: ./conftest
|
216
|
+
configure:3671: $? = 0
|
217
|
+
configure:3682: result: yes
|
218
|
+
configure:3706: checking for a BSD-compatible install
|
219
|
+
configure:3774: result: /usr/bin/install -c
|
220
|
+
configure:3788: checking for nvcc
|
221
|
+
configure:3804: nvcc -c conftest.c >&5
|
222
|
+
./configure: line 1429: nvcc: command not found
|
223
|
+
configure:3804: $? = 127
|
224
|
+
configure: failed program was:
|
225
|
+
| /* confdefs.h */
|
226
|
+
| #define PACKAGE_NAME "xnd"
|
227
|
+
| #define PACKAGE_TARNAME "xnd"
|
228
|
+
| #define PACKAGE_VERSION "0.2.0dev3"
|
229
|
+
| #define PACKAGE_STRING "xnd 0.2.0dev3"
|
230
|
+
| #define PACKAGE_BUGREPORT "skrah@bytereef.org"
|
231
|
+
| #define PACKAGE_URL "https://github.com/plures/"
|
232
|
+
| #define STDC_HEADERS 1
|
233
|
+
| /* end confdefs.h. */
|
234
|
+
|
|
235
|
+
| void
|
236
|
+
| f(void)
|
237
|
+
| {
|
238
|
+
| return;
|
239
|
+
| }
|
240
|
+
|
|
241
|
+
configure:3813: result: no
|
242
|
+
configure:3829: checking for --with-includes
|
243
|
+
configure:3840: result: /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include
|
244
|
+
configure:3855: checking for --with-libs
|
245
|
+
configure:3866: result: none
|
246
|
+
configure:3881: checking for --with-docs
|
247
|
+
configure:3891: result: no
|
248
|
+
configure:4068: creating ./config.status
|
249
|
+
|
250
|
+
## ---------------------- ##
|
251
|
+
## Running config.status. ##
|
252
|
+
## ---------------------- ##
|
253
|
+
|
254
|
+
This file was extended by xnd config.status 0.2.0dev3, which was
|
255
|
+
generated by GNU Autoconf 2.69. Invocation command line was
|
256
|
+
|
257
|
+
CONFIG_FILES =
|
258
|
+
CONFIG_HEADERS =
|
259
|
+
CONFIG_LINKS =
|
260
|
+
CONFIG_COMMANDS =
|
261
|
+
$ ./config.status
|
262
|
+
|
263
|
+
on sameer-K401UB
|
264
|
+
|
265
|
+
config.status:828: creating Makefile
|
266
|
+
config.status:828: creating libxnd/Makefile
|
267
|
+
config.status:828: creating libxnd/tests/Makefile
|
268
|
+
config.status:828: creating config.h
|
269
|
+
config.status:1003: config.h is unchanged
|
270
|
+
|
271
|
+
## ---------------- ##
|
272
|
+
## Cache variables. ##
|
273
|
+
## ---------------- ##
|
274
|
+
|
275
|
+
ac_cv_build=x86_64-unknown-linux-gnu
|
276
|
+
ac_cv_c_compiler_gnu=yes
|
277
|
+
ac_cv_cxx_compiler_gnu=yes
|
278
|
+
ac_cv_env_CCC_set=
|
279
|
+
ac_cv_env_CCC_value=
|
280
|
+
ac_cv_env_CC_set=
|
281
|
+
ac_cv_env_CC_value=
|
282
|
+
ac_cv_env_CFLAGS_set=
|
283
|
+
ac_cv_env_CFLAGS_value=
|
284
|
+
ac_cv_env_CPPFLAGS_set=
|
285
|
+
ac_cv_env_CPPFLAGS_value=
|
286
|
+
ac_cv_env_CPP_set=
|
287
|
+
ac_cv_env_CPP_value=
|
288
|
+
ac_cv_env_CXXFLAGS_set=
|
289
|
+
ac_cv_env_CXXFLAGS_value=
|
290
|
+
ac_cv_env_CXX_set=
|
291
|
+
ac_cv_env_CXX_value=
|
292
|
+
ac_cv_env_LDFLAGS_set=
|
293
|
+
ac_cv_env_LDFLAGS_value=
|
294
|
+
ac_cv_env_LIBS_set=
|
295
|
+
ac_cv_env_LIBS_value=
|
296
|
+
ac_cv_env_build_alias_set=
|
297
|
+
ac_cv_env_build_alias_value=
|
298
|
+
ac_cv_env_host_alias_set=
|
299
|
+
ac_cv_env_host_alias_value=
|
300
|
+
ac_cv_env_target_alias_set=
|
301
|
+
ac_cv_env_target_alias_value=
|
302
|
+
ac_cv_header_stdc=yes
|
303
|
+
ac_cv_host=x86_64-unknown-linux-gnu
|
304
|
+
ac_cv_objext=o
|
305
|
+
ac_cv_path_EGREP='/bin/grep -E'
|
306
|
+
ac_cv_path_GREP=/bin/grep
|
307
|
+
ac_cv_path_install='/usr/bin/install -c'
|
308
|
+
ac_cv_prog_CPP='gcc -E'
|
309
|
+
ac_cv_prog_ac_ct_AR=ar
|
310
|
+
ac_cv_prog_ac_ct_CC=gcc
|
311
|
+
ac_cv_prog_ac_ct_CXX=g++
|
312
|
+
ac_cv_prog_ac_ct_RANLIB=ranlib
|
313
|
+
ac_cv_prog_cc_c89=
|
314
|
+
ac_cv_prog_cc_g=yes
|
315
|
+
ac_cv_prog_cxx_g=yes
|
316
|
+
|
317
|
+
## ----------------- ##
|
318
|
+
## Output variables. ##
|
319
|
+
## ----------------- ##
|
320
|
+
|
321
|
+
AR='ar'
|
322
|
+
CC='gcc'
|
323
|
+
CFLAGS=''
|
324
|
+
CONFIGURE_CFLAGS=' -Wall -Wextra -std=c11 -pedantic -O2 -g'
|
325
|
+
CONFIGURE_CUDA_CXXFLAGS=''
|
326
|
+
CONFIGURE_CXXFLAGS=' -Wall -Wextra -O2 -g'
|
327
|
+
CONFIGURE_INCLUDES='/home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include'
|
328
|
+
CONFIGURE_INCLUDES_TEST='/home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include'
|
329
|
+
CONFIGURE_LDFLAGS=' -shared -Wl,-soname,libxnd.so.0'
|
330
|
+
CONFIGURE_LIBS='../ndtypes/libndtypes'
|
331
|
+
CONFIGURE_LIBS_TEST='../../ndtypes/libndtypes'
|
332
|
+
CPP='gcc -E'
|
333
|
+
CPPFLAGS=''
|
334
|
+
CUDA_CXX=''
|
335
|
+
CXX='g++'
|
336
|
+
CXXFLAGS=''
|
337
|
+
DEFS='-DHAVE_CONFIG_H'
|
338
|
+
ECHO_C=''
|
339
|
+
ECHO_N='-n'
|
340
|
+
ECHO_T=''
|
341
|
+
EGREP='/bin/grep -E'
|
342
|
+
EXEEXT=''
|
343
|
+
GREP='/bin/grep'
|
344
|
+
INSTALL='/usr/bin/install -c'
|
345
|
+
INSTALL_DATA='${INSTALL} -m 644'
|
346
|
+
INSTALL_PROGRAM='${INSTALL}'
|
347
|
+
INSTALL_SCRIPT='${INSTALL}'
|
348
|
+
LD='g++'
|
349
|
+
LDFLAGS=''
|
350
|
+
LIBNAME='libxnd.so'
|
351
|
+
LIBOBJS=''
|
352
|
+
LIBRARY_PATH='LD_LIBRARY_PATH'
|
353
|
+
LIBS=''
|
354
|
+
LIBSHARED='libxnd.so.0.2.0dev3'
|
355
|
+
LIBSONAME='libxnd.so.0'
|
356
|
+
LIBSTATIC='libxnd.a'
|
357
|
+
LTLIBOBJS=''
|
358
|
+
NDT_INSTALL_DOCS=''
|
359
|
+
OBJEXT='o'
|
360
|
+
PACKAGE_BUGREPORT='skrah@bytereef.org'
|
361
|
+
PACKAGE_NAME='xnd'
|
362
|
+
PACKAGE_STRING='xnd 0.2.0dev3'
|
363
|
+
PACKAGE_TARNAME='xnd'
|
364
|
+
PACKAGE_URL='https://github.com/plures/'
|
365
|
+
PACKAGE_VERSION='0.2.0dev3'
|
366
|
+
PATH_SEPARATOR=':'
|
367
|
+
RANLIB='ranlib'
|
368
|
+
SHELL='/bin/bash'
|
369
|
+
XND_OPT='-O2 -g'
|
370
|
+
XND_WARN='-Wall -Wextra -std=c11 -pedantic'
|
371
|
+
ac_ct_CC='gcc'
|
372
|
+
ac_ct_CXX='g++'
|
373
|
+
bindir='${exec_prefix}/bin'
|
374
|
+
build='x86_64-unknown-linux-gnu'
|
375
|
+
build_alias=''
|
376
|
+
build_cpu='x86_64'
|
377
|
+
build_os='linux-gnu'
|
378
|
+
build_vendor='unknown'
|
379
|
+
datadir='${datarootdir}'
|
380
|
+
datarootdir='${prefix}/share'
|
381
|
+
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
382
|
+
dvidir='${docdir}'
|
383
|
+
exec_prefix='${prefix}'
|
384
|
+
host='x86_64-unknown-linux-gnu'
|
385
|
+
host_alias=''
|
386
|
+
host_cpu='x86_64'
|
387
|
+
host_os='linux-gnu'
|
388
|
+
host_vendor='unknown'
|
389
|
+
htmldir='${docdir}'
|
390
|
+
includedir='${prefix}/include'
|
391
|
+
infodir='${datarootdir}/info'
|
392
|
+
libdir='${exec_prefix}/lib'
|
393
|
+
libexecdir='${exec_prefix}/libexec'
|
394
|
+
localedir='${datarootdir}/locale'
|
395
|
+
localstatedir='${prefix}/var'
|
396
|
+
mandir='${datarootdir}/man'
|
397
|
+
oldincludedir='/usr/include'
|
398
|
+
pdfdir='${docdir}'
|
399
|
+
prefix='/home/sameer/gitrepos/xnd-ruby/xnd/ext/ruby_xnd'
|
400
|
+
program_transform_name='s,x,x,'
|
401
|
+
psdir='${docdir}'
|
402
|
+
runstatedir='${localstatedir}/run'
|
403
|
+
sbindir='${exec_prefix}/sbin'
|
404
|
+
sharedstatedir='${prefix}/com'
|
405
|
+
sysconfdir='${prefix}/etc'
|
406
|
+
target_alias=''
|
407
|
+
|
408
|
+
## ----------- ##
|
409
|
+
## confdefs.h. ##
|
410
|
+
## ----------- ##
|
411
|
+
|
412
|
+
/* confdefs.h */
|
413
|
+
#define PACKAGE_NAME "xnd"
|
414
|
+
#define PACKAGE_TARNAME "xnd"
|
415
|
+
#define PACKAGE_VERSION "0.2.0dev3"
|
416
|
+
#define PACKAGE_STRING "xnd 0.2.0dev3"
|
417
|
+
#define PACKAGE_BUGREPORT "skrah@bytereef.org"
|
418
|
+
#define PACKAGE_URL "https://github.com/plures/"
|
419
|
+
#define STDC_HEADERS 1
|
420
|
+
|
421
|
+
configure: exit 0
|