gumath 0.2.0dev5 → 0.2.0dev8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +7 -2
- data/Gemfile +0 -3
- data/ext/ruby_gumath/GPATH +0 -0
- data/ext/ruby_gumath/GRTAGS +0 -0
- data/ext/ruby_gumath/GTAGS +0 -0
- data/ext/ruby_gumath/extconf.rb +0 -5
- data/ext/ruby_gumath/functions.c +10 -2
- data/ext/ruby_gumath/gufunc_object.c +15 -4
- data/ext/ruby_gumath/gufunc_object.h +9 -3
- data/ext/ruby_gumath/gumath/Makefile +63 -0
- data/ext/ruby_gumath/gumath/Makefile.in +1 -0
- data/ext/ruby_gumath/gumath/config.h +56 -0
- data/ext/ruby_gumath/gumath/config.h.in +3 -0
- data/ext/ruby_gumath/gumath/config.log +497 -0
- data/ext/ruby_gumath/gumath/config.status +1034 -0
- data/ext/ruby_gumath/gumath/configure +375 -4
- data/ext/ruby_gumath/gumath/configure.ac +47 -3
- data/ext/ruby_gumath/gumath/libgumath/Makefile +236 -0
- data/ext/ruby_gumath/gumath/libgumath/Makefile.in +90 -24
- data/ext/ruby_gumath/gumath/libgumath/Makefile.vc +54 -15
- data/ext/ruby_gumath/gumath/libgumath/apply.c +92 -28
- data/ext/ruby_gumath/gumath/libgumath/apply.o +0 -0
- data/ext/ruby_gumath/gumath/libgumath/common.o +0 -0
- data/ext/ruby_gumath/gumath/libgumath/cpu_device_binary.o +0 -0
- data/ext/ruby_gumath/gumath/libgumath/cpu_device_unary.o +0 -0
- data/ext/ruby_gumath/gumath/libgumath/cpu_host_binary.o +0 -0
- data/ext/ruby_gumath/gumath/libgumath/cpu_host_unary.o +0 -0
- data/ext/ruby_gumath/gumath/libgumath/examples.o +0 -0
- data/ext/ruby_gumath/gumath/libgumath/extending/graph.c +27 -20
- data/ext/ruby_gumath/gumath/libgumath/extending/pdist.c +1 -1
- data/ext/ruby_gumath/gumath/libgumath/func.c +13 -9
- data/ext/ruby_gumath/gumath/libgumath/func.o +0 -0
- data/ext/ruby_gumath/gumath/libgumath/graph.o +0 -0
- data/ext/ruby_gumath/gumath/libgumath/gumath.h +55 -14
- data/ext/ruby_gumath/gumath/libgumath/kernels/common.c +513 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/common.h +155 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/contrib/bfloat16.h +520 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/cpu_device_binary.cc +1123 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/cpu_device_binary.h +1062 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/cpu_device_msvc.cc +555 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/cpu_device_unary.cc +368 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/cpu_device_unary.h +335 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/cpu_host_binary.c +2952 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/cpu_host_unary.c +1100 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/cuda_device_binary.cu +1143 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/cuda_device_binary.h +1061 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/cuda_device_unary.cu +528 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/cuda_device_unary.h +463 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/cuda_host_binary.c +2817 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/cuda_host_unary.c +1331 -0
- data/ext/ruby_gumath/gumath/libgumath/kernels/device.hh +614 -0
- data/ext/ruby_gumath/gumath/libgumath/libgumath.a +0 -0
- data/ext/ruby_gumath/gumath/libgumath/libgumath.so +1 -0
- data/ext/ruby_gumath/gumath/libgumath/libgumath.so.0 +1 -0
- data/ext/ruby_gumath/gumath/libgumath/libgumath.so.0.2.0dev3 +0 -0
- data/ext/ruby_gumath/gumath/libgumath/nploops.o +0 -0
- data/ext/ruby_gumath/gumath/libgumath/pdist.o +0 -0
- data/ext/ruby_gumath/gumath/libgumath/quaternion.o +0 -0
- data/ext/ruby_gumath/gumath/libgumath/tbl.o +0 -0
- data/ext/ruby_gumath/gumath/libgumath/thread.c +17 -4
- data/ext/ruby_gumath/gumath/libgumath/thread.o +0 -0
- data/ext/ruby_gumath/gumath/libgumath/xndloops.c +110 -0
- data/ext/ruby_gumath/gumath/libgumath/xndloops.o +0 -0
- data/ext/ruby_gumath/gumath/python/gumath/__init__.py +150 -0
- data/ext/ruby_gumath/gumath/python/gumath/_gumath.c +446 -80
- data/ext/ruby_gumath/gumath/python/gumath/cuda.c +78 -0
- data/ext/ruby_gumath/gumath/python/gumath/examples.c +0 -5
- data/ext/ruby_gumath/gumath/python/gumath/functions.c +2 -2
- data/ext/ruby_gumath/gumath/python/gumath/gumath.h +246 -0
- data/ext/ruby_gumath/gumath/python/gumath/libgumath.a +0 -0
- data/ext/ruby_gumath/gumath/python/gumath/libgumath.so +1 -0
- data/ext/ruby_gumath/gumath/python/gumath/libgumath.so.0 +1 -0
- data/ext/ruby_gumath/gumath/python/gumath/libgumath.so.0.2.0dev3 +0 -0
- data/ext/ruby_gumath/gumath/python/gumath/pygumath.h +31 -2
- data/ext/ruby_gumath/gumath/python/gumath_aux.py +767 -0
- data/ext/ruby_gumath/gumath/python/randdec.py +535 -0
- data/ext/ruby_gumath/gumath/python/randfloat.py +177 -0
- data/ext/ruby_gumath/gumath/python/test_gumath.py +1504 -24
- data/ext/ruby_gumath/gumath/python/test_xndarray.py +462 -0
- data/ext/ruby_gumath/gumath/setup.py +67 -6
- data/ext/ruby_gumath/gumath/tools/detect_cuda_arch.cc +35 -0
- data/ext/ruby_gumath/include/gumath.h +55 -14
- data/ext/ruby_gumath/include/ruby_gumath.h +4 -1
- data/ext/ruby_gumath/lib/libgumath.a +0 -0
- data/ext/ruby_gumath/lib/libgumath.so.0.2.0dev3 +0 -0
- data/ext/ruby_gumath/ruby_gumath.c +231 -70
- data/ext/ruby_gumath/ruby_gumath.h +4 -1
- data/ext/ruby_gumath/ruby_gumath_internal.h +25 -0
- data/ext/ruby_gumath/util.c +34 -0
- data/ext/ruby_gumath/util.h +9 -0
- data/gumath.gemspec +3 -2
- data/lib/gumath.rb +55 -1
- data/lib/gumath/version.rb +2 -2
- data/lib/ruby_gumath.so +0 -0
- metadata +63 -10
- data/ext/ruby_gumath/gumath/libgumath/extending/bfloat16.c +0 -130
- data/ext/ruby_gumath/gumath/libgumath/kernels/binary.c +0 -547
- data/ext/ruby_gumath/gumath/libgumath/kernels/unary.c +0 -449
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86e098bf337d2838e5e1090596a884126cac6bdc
|
4
|
+
data.tar.gz: d24a85a3305f36eba3f5bd75117407d2f825be7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eadf50ecd571fe92754f6b5ce783f61c5b004e932e1e0324f923e68524eb4345bac90ab97dff858ba58d4d240840e233ee5fbe1ee7ecd2a1780b54a496dc285e
|
7
|
+
data.tar.gz: fbfa1f8b8eab25c4bccdb3cb495837d3c07d123bd60c0d675a2a27e5af232ad68b0bb810ff438cf2cecd6bac2e962114e239ee03ee8e79966eaf24e3e0541862
|
data/CONTRIBUTING.md
CHANGED
@@ -4,7 +4,8 @@
|
|
4
4
|
|
5
5
|
Gumath is a wrapper over libgumath. The docs for libgumath can be found [here](https://xnd.readthedocs.io/en/latest/libgumath/index.html).
|
6
6
|
|
7
|
-
It allows users to write [multiple dispatch](https://en.wikipedia.org/wiki/Multiple_dispatch)
|
7
|
+
It allows users to write [multiple dispatch](https://en.wikipedia.org/wiki/Multiple_dispatch)
|
8
|
+
functions for XND containers.
|
8
9
|
Multiple dispatch can be thought of as the concept behind function overloading in
|
9
10
|
languages like C++. However the major difference is that the function call is made
|
10
11
|
according to the run time types of the arguments in case of multiple dispatch whereas
|
@@ -44,7 +45,7 @@ return the result given by the gumath kernel.
|
|
44
45
|
|
45
46
|
Another approach is to have a Hash of methods and their corresponding implementations
|
46
47
|
stored inside each module. Whenever a method is called on the module, it will routed to
|
47
|
-
the method_missing in the class, which will lookup the hash and call the appropriate
|
48
|
+
the `method_missing` in the class, which will lookup the hash and call the appropriate
|
48
49
|
lambda. This seems like the better approach since the user no longer needs to know that
|
49
50
|
the functions that they're calling inside the module are in fact lambdas.
|
50
51
|
|
@@ -54,6 +55,10 @@ of type `GufuncObject`. This `GufuncObject` will have a method `call` defined on
|
|
54
55
|
will be called by the `method_missing` when that object is called. The only extra overhead
|
55
56
|
will be that of a Hash lookup (O(1) time) and calling an Ruby method `call`.
|
56
57
|
|
58
|
+
Since each `GufuncObject` instance has various parameters like identification of CPU vs.
|
59
|
+
CUDA functions defined on it, the `call` method is able to differentiate between types
|
60
|
+
of kernels that are stored within an object and raise relevant errors whereever necessary.
|
61
|
+
|
57
62
|
## Calling gumath kernels
|
58
63
|
|
59
64
|
Gumath kernels can be called by using the `gm_apply` function and passing a pointer to
|
data/Gemfile
CHANGED
Binary file
|
Binary file
|
Binary file
|
data/ext/ruby_gumath/extconf.rb
CHANGED
@@ -49,11 +49,6 @@ dir_config("xnd", [xnd_includedir], [xnd_libdir])
|
|
49
49
|
puts "compiling libgumath on your machine..."
|
50
50
|
Dir.chdir(File.join(File.dirname(__FILE__) + "/gumath")) do
|
51
51
|
if unix?
|
52
|
-
# ["libgumath", "libgumath/compat", "libgumath/serialize"].each do |f|
|
53
|
-
# Dir.chdir(f) do
|
54
|
-
# Dir.mkdir(".objs") unless Dir.exists? ".objs"
|
55
|
-
# end
|
56
|
-
# end
|
57
52
|
ENV['CFLAGS'] = " -I #{xnd_includedir} -I #{ndtypes_includedir} "
|
58
53
|
system("./configure --prefix=#{File.expand_path("../")} --with-docs=no ")
|
59
54
|
system("make")
|
data/ext/ruby_gumath/functions.c
CHANGED
@@ -42,6 +42,13 @@ static int initialized = 0;
|
|
42
42
|
/****************************************************************************/
|
43
43
|
/* Singleton methods */
|
44
44
|
/****************************************************************************/
|
45
|
+
/* Gumath::GumathFunctions::method_missing
|
46
|
+
*
|
47
|
+
* The method_missing gets called on the module when a user invokes Fn.f_name
|
48
|
+
* where f_name is the name of a method. We then perform a lookup in the hash
|
49
|
+
* representing the method names and lambdas and then use the 'call' method
|
50
|
+
* for calling the lambda.
|
51
|
+
*/
|
45
52
|
static VALUE
|
46
53
|
mGumath_Functions_s_method_missing(int argc, VALUE *argv, VALUE module)
|
47
54
|
{
|
@@ -51,6 +58,7 @@ mGumath_Functions_s_method_missing(int argc, VALUE *argv, VALUE module)
|
|
51
58
|
int is_present = RTEST(gumath_method);
|
52
59
|
|
53
60
|
if (is_present) {
|
61
|
+
/* pass argc-1 since the first argument is the name of the method in method_missing. */
|
54
62
|
rb_funcall2(gumath_method, rb_intern("call"), argc-1, &argv[1]);
|
55
63
|
}
|
56
64
|
else {
|
@@ -79,12 +87,12 @@ void Init_gumath_functions(void)
|
|
79
87
|
raise_error();
|
80
88
|
}
|
81
89
|
|
82
|
-
if (
|
90
|
+
if (gm_init_cpu_unary_kernels(table, &ctx) < 0) {
|
83
91
|
rb_ndtypes_set_error(&ctx);
|
84
92
|
raise_error();
|
85
93
|
}
|
86
94
|
|
87
|
-
if (
|
95
|
+
if (gm_init_cpu_binary_kernels(table, &ctx) < 0) {
|
88
96
|
rb_ndtypes_set_error(&ctx);
|
89
97
|
raise_error();
|
90
98
|
}
|
@@ -35,12 +35,20 @@
|
|
35
35
|
/* Gufunc Object */
|
36
36
|
/****************************************************************************/
|
37
37
|
|
38
|
+
VALUE cGumath_GufuncObject;
|
39
|
+
|
38
40
|
static void
|
39
|
-
|
41
|
+
GufuncObject_dmark(void *self)
|
40
42
|
{
|
41
43
|
GufuncObject *guobj = (GufuncObject*)self;
|
44
|
+
rb_gc_mark(guobj->identity);
|
45
|
+
}
|
42
46
|
|
43
|
-
|
47
|
+
static void
|
48
|
+
GufuncObject_dfree(void *self)
|
49
|
+
{
|
50
|
+
GufuncObject *guobj = (GufuncObject*)self;
|
51
|
+
ndt_free(guobj->name); /* ndt_free because we use ndt_strdup in _alloc. */
|
44
52
|
}
|
45
53
|
|
46
54
|
static size_t
|
@@ -52,7 +60,7 @@ GufuncObject_dsize(const void *self)
|
|
52
60
|
const rb_data_type_t GufuncObject_type = {
|
53
61
|
.wrap_struct_name = "GufuncObject",
|
54
62
|
.function = {
|
55
|
-
.dmark =
|
63
|
+
.dmark = GufuncObject_dmark,
|
56
64
|
.dfree = GufuncObject_dfree,
|
57
65
|
.dsize = GufuncObject_dsize,
|
58
66
|
.reserved = {0,0},
|
@@ -62,7 +70,7 @@ const rb_data_type_t GufuncObject_type = {
|
|
62
70
|
};
|
63
71
|
|
64
72
|
VALUE
|
65
|
-
GufuncObject_alloc(const gm_tbl_t *table, const char *name)
|
73
|
+
GufuncObject_alloc(const gm_tbl_t *table, const char *name, const uint32_t flags)
|
66
74
|
{
|
67
75
|
NDT_STATIC_CONTEXT(ctx);
|
68
76
|
GufuncObject *guobj_p;
|
@@ -75,5 +83,8 @@ GufuncObject_alloc(const gm_tbl_t *table, const char *name)
|
|
75
83
|
seterr(&ctx);
|
76
84
|
}
|
77
85
|
|
86
|
+
guobj_p->flags = flags;
|
87
|
+
guobj_p->identity = Qnil;
|
88
|
+
|
78
89
|
return guobj;
|
79
90
|
}
|
@@ -33,13 +33,18 @@
|
|
33
33
|
|
34
34
|
#include "ruby_gumath_internal.h"
|
35
35
|
|
36
|
+
#define GM_CPU_FUNC 0x0001U
|
37
|
+
#define GM_CUDA_MANAGED_FUNC 0x0002U
|
38
|
+
|
36
39
|
typedef struct {
|
37
40
|
const gm_tbl_t *table; /* kernel table */
|
38
41
|
char *name; /* function name */
|
42
|
+
uint32_t flags; /* memory target */
|
43
|
+
VALUE identity; /* identity element */
|
39
44
|
} GufuncObject;
|
40
45
|
|
41
|
-
const rb_data_type_t GufuncObject_type;
|
42
|
-
VALUE cGumath_GufuncObject;
|
46
|
+
extern const rb_data_type_t GufuncObject_type;
|
47
|
+
extern VALUE cGumath_GufuncObject;
|
43
48
|
|
44
49
|
#define GET_GUOBJ(obj, guobj_p) do { \
|
45
50
|
TypedData_Get_Struct((obj), GufuncObject, \
|
@@ -50,6 +55,7 @@ VALUE cGumath_GufuncObject;
|
|
50
55
|
#define WRAP_GUOBJ(klass, guobj_p) TypedData_Wrap_Struct(klass, \
|
51
56
|
&GufuncObject_type, guobj_p)
|
52
57
|
|
53
|
-
VALUE GufuncObject_alloc(const gm_tbl_t *table, const char *name
|
58
|
+
VALUE GufuncObject_alloc(const gm_tbl_t *table, const char *name,
|
59
|
+
const uint32_t flags);
|
54
60
|
|
55
61
|
#endif
|
@@ -0,0 +1,63 @@
|
|
1
|
+
|
2
|
+
# ==============================================================================
|
3
|
+
# Unix Makefile for libgumath
|
4
|
+
# ==============================================================================
|
5
|
+
|
6
|
+
|
7
|
+
PACKAGE_TARNAME = gumath
|
8
|
+
LIBSTATIC = libgumath.a
|
9
|
+
LIBNAME = libgumath.so
|
10
|
+
LIBSONAME = libgumath.so.0
|
11
|
+
LIBSHARED = libgumath.so.0.2.0dev3
|
12
|
+
|
13
|
+
LIBRARY_PATH = ..:../../ndtypes/libndtypes
|
14
|
+
INSTALL = /usr/bin/install -c
|
15
|
+
|
16
|
+
prefix = /home/sameer/gitrepos/xnd-ruby/gumath/ext/ruby_gumath
|
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 libgumath && $(MAKE)
|
26
|
+
$(INSTALL) -m 644 libgumath/gumath.h python/gumath
|
27
|
+
$(INSTALL) -m 644 libgumath/$(LIBSTATIC) python/gumath
|
28
|
+
$(INSTALL) -m 755 libgumath/$(LIBSHARED) python/gumath
|
29
|
+
cd python/gumath && ln -sf $(LIBSHARED) $(LIBSONAME) && ln -sf $(LIBSHARED) $(LIBNAME)
|
30
|
+
|
31
|
+
install: install_libs
|
32
|
+
|
33
|
+
install_libs: FORCE
|
34
|
+
$(INSTALL) -d -m 755 $(DESTDIR)$(includedir)
|
35
|
+
$(INSTALL) -m 644 libgumath/gumath.h $(DESTDIR)$(includedir)
|
36
|
+
$(INSTALL) -d -m 755 $(DESTDIR)$(libdir)
|
37
|
+
$(INSTALL) -m 644 libgumath/$(LIBSTATIC) $(DESTDIR)$(libdir)
|
38
|
+
$(INSTALL) -m 755 libgumath/$(LIBSHARED) $(DESTDIR)$(libdir)
|
39
|
+
cd $(DESTDIR)$(libdir) && ln -sf $(LIBSHARED) $(LIBSONAME) && ln -sf $(LIBSHARED) $(LIBNAME)
|
40
|
+
|
41
|
+
install_docs: FORCE
|
42
|
+
$(INSTALL) -d -m 755 $(DESTDIR)$(docdir)
|
43
|
+
cp -R doc/* $(DESTDIR)$(docdir)
|
44
|
+
|
45
|
+
clean: FORCE
|
46
|
+
cd libgumath && if [ -f Makefile ]; then $(MAKE) clean; else exit 0; fi
|
47
|
+
rm -rf build
|
48
|
+
cd python/gumath && rm -f *.so $(LIBSTATIC) $(LIBSHARED) $(LIBSONAME) $(LIBNAME)
|
49
|
+
cd python/gumath && rm -rf __pycache__
|
50
|
+
cd tools && rm -f detect_cuda_arch
|
51
|
+
|
52
|
+
distclean: FORCE
|
53
|
+
cd libgumath && if [ -f Makefile ]; then $(MAKE) distclean; else exit 0; fi
|
54
|
+
rm -f config.h config.log config.status Makefile
|
55
|
+
rm -rf build dist MANIFEST ndtypes xnd record.txt
|
56
|
+
cd python && rm -rf ndtypes xnd *.egg-info __pycache__ ndtypes.egg-info
|
57
|
+
cd python/gumath && rm -f *.so $(LIBSTATIC) $(LIBSHARED) $(LIBSONAME) $(LIBNAME) gumath.h
|
58
|
+
cd python/gumath && rm -rf __pycache__
|
59
|
+
|
60
|
+
FORCE:
|
61
|
+
|
62
|
+
|
63
|
+
|
@@ -47,6 +47,7 @@ clean: FORCE
|
|
47
47
|
rm -rf build
|
48
48
|
cd python/gumath && rm -f *.so $(LIBSTATIC) $(LIBSHARED) $(LIBSONAME) $(LIBNAME)
|
49
49
|
cd python/gumath && rm -rf __pycache__
|
50
|
+
cd tools && rm -f detect_cuda_arch
|
50
51
|
|
51
52
|
distclean: FORCE
|
52
53
|
cd libgumath && if [ -f Makefile ]; then $(MAKE) distclean; else exit 0; fi
|
@@ -0,0 +1,56 @@
|
|
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 1 if you have the <inttypes.h> header file. */
|
8
|
+
#define HAVE_INTTYPES_H 1
|
9
|
+
|
10
|
+
/* Define to 1 if you have the <memory.h> header file. */
|
11
|
+
#define HAVE_MEMORY_H 1
|
12
|
+
|
13
|
+
/* Define to 1 if you have the <pthread.h> header file. */
|
14
|
+
#define HAVE_PTHREAD_H 1
|
15
|
+
|
16
|
+
/* Define to 1 if you have the <stdint.h> header file. */
|
17
|
+
#define HAVE_STDINT_H 1
|
18
|
+
|
19
|
+
/* Define to 1 if you have the <stdlib.h> header file. */
|
20
|
+
#define HAVE_STDLIB_H 1
|
21
|
+
|
22
|
+
/* Define to 1 if you have the <strings.h> header file. */
|
23
|
+
#define HAVE_STRINGS_H 1
|
24
|
+
|
25
|
+
/* Define to 1 if you have the <string.h> header file. */
|
26
|
+
#define HAVE_STRING_H 1
|
27
|
+
|
28
|
+
/* Define to 1 if you have the <sys/stat.h> header file. */
|
29
|
+
#define HAVE_SYS_STAT_H 1
|
30
|
+
|
31
|
+
/* Define to 1 if you have the <sys/types.h> header file. */
|
32
|
+
#define HAVE_SYS_TYPES_H 1
|
33
|
+
|
34
|
+
/* Define to 1 if you have the <unistd.h> header file. */
|
35
|
+
#define HAVE_UNISTD_H 1
|
36
|
+
|
37
|
+
/* Define to the address where bug reports for this package should be sent. */
|
38
|
+
#define PACKAGE_BUGREPORT "skrah@bytereef.org"
|
39
|
+
|
40
|
+
/* Define to the full name of this package. */
|
41
|
+
#define PACKAGE_NAME "gumath"
|
42
|
+
|
43
|
+
/* Define to the full name and version of this package. */
|
44
|
+
#define PACKAGE_STRING "gumath 0.2.0dev3"
|
45
|
+
|
46
|
+
/* Define to the one symbol short name of this package. */
|
47
|
+
#define PACKAGE_TARNAME "gumath"
|
48
|
+
|
49
|
+
/* Define to the home page for this package. */
|
50
|
+
#define PACKAGE_URL "https://github.com/plures/"
|
51
|
+
|
52
|
+
/* Define to the version of this package. */
|
53
|
+
#define PACKAGE_VERSION "0.2.0dev3"
|
54
|
+
|
55
|
+
/* Define to 1 if you have the ANSI C header files. */
|
56
|
+
#define STDC_HEADERS 1
|
@@ -0,0 +1,497 @@
|
|
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 gumath 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/gumath/ext/ruby_gumath --with-docs=no
|
8
|
+
|
9
|
+
## --------- ##
|
10
|
+
## Platform. ##
|
11
|
+
## --------- ##
|
12
|
+
|
13
|
+
hostname = sameer-K401UB
|
14
|
+
uname -m = x86_64
|
15
|
+
uname -r = 5.0.0-27-generic
|
16
|
+
uname -s = Linux
|
17
|
+
uname -v = #28~18.04.1-Ubuntu SMP Thu Aug 22 03:00:32 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/anaconda3/bin
|
33
|
+
PATH: /home/sameer/gitrepos/starpu-1.2.8/bin
|
34
|
+
PATH: /home/sameer/.rvm/gems/ruby-2.4.1@global/bin
|
35
|
+
PATH: /home/sameer/.rvm/rubies/ruby-2.4.1/bin
|
36
|
+
PATH: /usr/local/sbin
|
37
|
+
PATH: /usr/local/bin
|
38
|
+
PATH: /usr/sbin
|
39
|
+
PATH: /usr/bin
|
40
|
+
PATH: /sbin
|
41
|
+
PATH: /bin
|
42
|
+
PATH: /usr/games
|
43
|
+
PATH: /usr/local/games
|
44
|
+
PATH: /snap/bin
|
45
|
+
PATH: /home/sameer/.rvm/bin
|
46
|
+
PATH: /home/sameer/.emacs.d/elpa/rtags-2.21/rtags-2.21/bin/
|
47
|
+
|
48
|
+
|
49
|
+
## ----------- ##
|
50
|
+
## Core tests. ##
|
51
|
+
## ----------- ##
|
52
|
+
|
53
|
+
configure:2085: checking system as reported by uname -s
|
54
|
+
configure:2088: result: Linux
|
55
|
+
configure:2150: checking build system type
|
56
|
+
configure:2164: result: x86_64-unknown-linux-gnu
|
57
|
+
configure:2184: checking host system type
|
58
|
+
configure:2197: result: x86_64-unknown-linux-gnu
|
59
|
+
configure:2277: checking for gcc
|
60
|
+
configure:2293: found /usr/bin/gcc
|
61
|
+
configure:2304: result: gcc
|
62
|
+
configure:2533: checking for C compiler version
|
63
|
+
configure:2542: gcc --version >&5
|
64
|
+
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
|
65
|
+
Copyright (C) 2017 Free Software Foundation, Inc.
|
66
|
+
This is free software; see the source for copying conditions. There is NO
|
67
|
+
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
68
|
+
|
69
|
+
configure:2553: $? = 0
|
70
|
+
configure:2542: gcc -v >&5
|
71
|
+
Using built-in specs.
|
72
|
+
COLLECT_GCC=gcc
|
73
|
+
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
|
74
|
+
OFFLOAD_TARGET_NAMES=nvptx-none
|
75
|
+
OFFLOAD_TARGET_DEFAULT=1
|
76
|
+
Target: x86_64-linux-gnu
|
77
|
+
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
|
78
|
+
Thread model: posix
|
79
|
+
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
|
80
|
+
configure:2553: $? = 0
|
81
|
+
configure:2542: gcc -V >&5
|
82
|
+
gcc: error: unrecognized command line option '-V'
|
83
|
+
gcc: fatal error: no input files
|
84
|
+
compilation terminated.
|
85
|
+
configure:2553: $? = 1
|
86
|
+
configure:2542: gcc -qversion >&5
|
87
|
+
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
|
88
|
+
gcc: fatal error: no input files
|
89
|
+
compilation terminated.
|
90
|
+
configure:2553: $? = 1
|
91
|
+
configure:2573: checking whether the C compiler works
|
92
|
+
configure:2595: gcc -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
93
|
+
configure:2599: $? = 0
|
94
|
+
configure:2647: result: yes
|
95
|
+
configure:2650: checking for C compiler default output file name
|
96
|
+
configure:2652: result: a.out
|
97
|
+
configure:2658: checking for suffix of executables
|
98
|
+
configure:2665: gcc -o conftest -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
99
|
+
configure:2669: $? = 0
|
100
|
+
configure:2691: result:
|
101
|
+
configure:2713: checking whether we are cross compiling
|
102
|
+
configure:2721: gcc -o conftest -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
103
|
+
configure:2725: $? = 0
|
104
|
+
configure:2732: ./conftest
|
105
|
+
configure:2736: $? = 0
|
106
|
+
configure:2751: result: no
|
107
|
+
configure:2756: checking for suffix of object files
|
108
|
+
configure:2778: gcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
109
|
+
configure:2782: $? = 0
|
110
|
+
configure:2803: result: o
|
111
|
+
configure:2807: checking whether we are using the GNU C compiler
|
112
|
+
configure:2826: gcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
113
|
+
configure:2826: $? = 0
|
114
|
+
configure:2835: result: yes
|
115
|
+
configure:2844: checking whether gcc accepts -g
|
116
|
+
configure:2864: gcc -c -g conftest.c >&5
|
117
|
+
configure:2864: $? = 0
|
118
|
+
configure:2905: result: yes
|
119
|
+
configure:2922: checking for gcc option to accept ISO C89
|
120
|
+
configure:2985: gcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
121
|
+
configure:2985: $? = 0
|
122
|
+
configure:2998: result: none needed
|
123
|
+
configure:3076: checking for g++
|
124
|
+
configure:3092: found /usr/bin/g++
|
125
|
+
configure:3103: result: g++
|
126
|
+
configure:3130: checking for C++ compiler version
|
127
|
+
configure:3139: g++ --version >&5
|
128
|
+
g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
|
129
|
+
Copyright (C) 2017 Free Software Foundation, Inc.
|
130
|
+
This is free software; see the source for copying conditions. There is NO
|
131
|
+
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
132
|
+
|
133
|
+
configure:3150: $? = 0
|
134
|
+
configure:3139: g++ -v >&5
|
135
|
+
Using built-in specs.
|
136
|
+
COLLECT_GCC=g++
|
137
|
+
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
|
138
|
+
OFFLOAD_TARGET_NAMES=nvptx-none
|
139
|
+
OFFLOAD_TARGET_DEFAULT=1
|
140
|
+
Target: x86_64-linux-gnu
|
141
|
+
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
|
142
|
+
Thread model: posix
|
143
|
+
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
|
144
|
+
configure:3150: $? = 0
|
145
|
+
configure:3139: g++ -V >&5
|
146
|
+
g++: error: unrecognized command line option '-V'
|
147
|
+
g++: fatal error: no input files
|
148
|
+
compilation terminated.
|
149
|
+
configure:3150: $? = 1
|
150
|
+
configure:3139: g++ -qversion >&5
|
151
|
+
g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
|
152
|
+
g++: fatal error: no input files
|
153
|
+
compilation terminated.
|
154
|
+
configure:3150: $? = 1
|
155
|
+
configure:3154: checking whether we are using the GNU C++ compiler
|
156
|
+
configure:3173: g++ -c conftest.cpp >&5
|
157
|
+
configure:3173: $? = 0
|
158
|
+
configure:3182: result: yes
|
159
|
+
configure:3191: checking whether g++ accepts -g
|
160
|
+
configure:3211: g++ -c -g conftest.cpp >&5
|
161
|
+
configure:3211: $? = 0
|
162
|
+
configure:3252: result: yes
|
163
|
+
configure:3322: checking for ar
|
164
|
+
configure:3338: found /usr/bin/ar
|
165
|
+
configure:3349: result: ar
|
166
|
+
configure:3414: checking for ranlib
|
167
|
+
configure:3430: found /usr/bin/ranlib
|
168
|
+
configure:3441: result: ranlib
|
169
|
+
configure:3473: checking how to run the C preprocessor
|
170
|
+
configure:3504: gcc -E conftest.c
|
171
|
+
configure:3504: $? = 0
|
172
|
+
configure:3518: gcc -E conftest.c
|
173
|
+
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
|
174
|
+
#include <ac_nonexistent.h>
|
175
|
+
^~~~~~~~~~~~~~~~~~
|
176
|
+
compilation terminated.
|
177
|
+
configure:3518: $? = 1
|
178
|
+
configure: failed program was:
|
179
|
+
| /* confdefs.h */
|
180
|
+
| #define PACKAGE_NAME "gumath"
|
181
|
+
| #define PACKAGE_TARNAME "gumath"
|
182
|
+
| #define PACKAGE_VERSION "0.2.0dev3"
|
183
|
+
| #define PACKAGE_STRING "gumath 0.2.0dev3"
|
184
|
+
| #define PACKAGE_BUGREPORT "skrah@bytereef.org"
|
185
|
+
| #define PACKAGE_URL "https://github.com/plures/"
|
186
|
+
| /* end confdefs.h. */
|
187
|
+
| #include <ac_nonexistent.h>
|
188
|
+
configure:3543: result: gcc -E
|
189
|
+
configure:3563: gcc -E conftest.c
|
190
|
+
configure:3563: $? = 0
|
191
|
+
configure:3577: gcc -E conftest.c
|
192
|
+
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
|
193
|
+
#include <ac_nonexistent.h>
|
194
|
+
^~~~~~~~~~~~~~~~~~
|
195
|
+
compilation terminated.
|
196
|
+
configure:3577: $? = 1
|
197
|
+
configure: failed program was:
|
198
|
+
| /* confdefs.h */
|
199
|
+
| #define PACKAGE_NAME "gumath"
|
200
|
+
| #define PACKAGE_TARNAME "gumath"
|
201
|
+
| #define PACKAGE_VERSION "0.2.0dev3"
|
202
|
+
| #define PACKAGE_STRING "gumath 0.2.0dev3"
|
203
|
+
| #define PACKAGE_BUGREPORT "skrah@bytereef.org"
|
204
|
+
| #define PACKAGE_URL "https://github.com/plures/"
|
205
|
+
| /* end confdefs.h. */
|
206
|
+
| #include <ac_nonexistent.h>
|
207
|
+
configure:3606: checking for grep that handles long lines and -e
|
208
|
+
configure:3664: result: /bin/grep
|
209
|
+
configure:3669: checking for egrep
|
210
|
+
configure:3731: result: /bin/grep -E
|
211
|
+
configure:3736: checking for ANSI C header files
|
212
|
+
configure:3756: gcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
213
|
+
configure:3756: $? = 0
|
214
|
+
configure:3829: gcc -o conftest -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
215
|
+
configure:3829: $? = 0
|
216
|
+
configure:3829: ./conftest
|
217
|
+
configure:3829: $? = 0
|
218
|
+
configure:3840: result: yes
|
219
|
+
configure:3853: checking for sys/types.h
|
220
|
+
configure:3853: gcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
221
|
+
configure:3853: $? = 0
|
222
|
+
configure:3853: result: yes
|
223
|
+
configure:3853: checking for sys/stat.h
|
224
|
+
configure:3853: gcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
225
|
+
configure:3853: $? = 0
|
226
|
+
configure:3853: result: yes
|
227
|
+
configure:3853: checking for stdlib.h
|
228
|
+
configure:3853: gcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
229
|
+
configure:3853: $? = 0
|
230
|
+
configure:3853: result: yes
|
231
|
+
configure:3853: checking for string.h
|
232
|
+
configure:3853: gcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
233
|
+
configure:3853: $? = 0
|
234
|
+
configure:3853: result: yes
|
235
|
+
configure:3853: checking for memory.h
|
236
|
+
configure:3853: gcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
237
|
+
configure:3853: $? = 0
|
238
|
+
configure:3853: result: yes
|
239
|
+
configure:3853: checking for strings.h
|
240
|
+
configure:3853: gcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
241
|
+
configure:3853: $? = 0
|
242
|
+
configure:3853: result: yes
|
243
|
+
configure:3853: checking for inttypes.h
|
244
|
+
configure:3853: gcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
245
|
+
configure:3853: $? = 0
|
246
|
+
configure:3853: result: yes
|
247
|
+
configure:3853: checking for stdint.h
|
248
|
+
configure:3853: gcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
249
|
+
configure:3853: $? = 0
|
250
|
+
configure:3853: result: yes
|
251
|
+
configure:3853: checking for unistd.h
|
252
|
+
configure:3853: gcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
253
|
+
configure:3853: $? = 0
|
254
|
+
configure:3853: result: yes
|
255
|
+
configure:3865: checking pthread.h usability
|
256
|
+
configure:3865: gcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
257
|
+
configure:3865: $? = 0
|
258
|
+
configure:3865: result: yes
|
259
|
+
configure:3865: checking pthread.h presence
|
260
|
+
configure:3865: gcc -E conftest.c
|
261
|
+
configure:3865: $? = 0
|
262
|
+
configure:3865: result: yes
|
263
|
+
configure:3865: checking for pthread.h
|
264
|
+
configure:3865: result: yes
|
265
|
+
configure:3889: checking for a BSD-compatible install
|
266
|
+
configure:3957: result: /usr/bin/install -c
|
267
|
+
configure:3971: checking for nvcc
|
268
|
+
configure:3987: nvcc -c -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include conftest.c >&5
|
269
|
+
./configure: line 1465: nvcc: command not found
|
270
|
+
configure:3987: $? = 127
|
271
|
+
configure: failed program was:
|
272
|
+
| /* confdefs.h */
|
273
|
+
| #define PACKAGE_NAME "gumath"
|
274
|
+
| #define PACKAGE_TARNAME "gumath"
|
275
|
+
| #define PACKAGE_VERSION "0.2.0dev3"
|
276
|
+
| #define PACKAGE_STRING "gumath 0.2.0dev3"
|
277
|
+
| #define PACKAGE_BUGREPORT "skrah@bytereef.org"
|
278
|
+
| #define PACKAGE_URL "https://github.com/plures/"
|
279
|
+
| #define STDC_HEADERS 1
|
280
|
+
| #define HAVE_SYS_TYPES_H 1
|
281
|
+
| #define HAVE_SYS_STAT_H 1
|
282
|
+
| #define HAVE_STDLIB_H 1
|
283
|
+
| #define HAVE_STRING_H 1
|
284
|
+
| #define HAVE_MEMORY_H 1
|
285
|
+
| #define HAVE_STRINGS_H 1
|
286
|
+
| #define HAVE_INTTYPES_H 1
|
287
|
+
| #define HAVE_STDINT_H 1
|
288
|
+
| #define HAVE_UNISTD_H 1
|
289
|
+
| #define HAVE_PTHREAD_H 1
|
290
|
+
| /* end confdefs.h. */
|
291
|
+
|
|
292
|
+
| void
|
293
|
+
| f(void)
|
294
|
+
| {
|
295
|
+
| return;
|
296
|
+
| }
|
297
|
+
|
|
298
|
+
configure:3996: result: no
|
299
|
+
configure:4015: checking for --with-includes
|
300
|
+
configure:4026: result: none
|
301
|
+
configure:4041: checking for --with-libs
|
302
|
+
configure:4052: result: none
|
303
|
+
configure:4067: checking for --with-docs
|
304
|
+
configure:4077: result: no
|
305
|
+
configure:4254: creating ./config.status
|
306
|
+
|
307
|
+
## ---------------------- ##
|
308
|
+
## Running config.status. ##
|
309
|
+
## ---------------------- ##
|
310
|
+
|
311
|
+
This file was extended by gumath config.status 0.2.0dev3, which was
|
312
|
+
generated by GNU Autoconf 2.69. Invocation command line was
|
313
|
+
|
314
|
+
CONFIG_FILES =
|
315
|
+
CONFIG_HEADERS =
|
316
|
+
CONFIG_LINKS =
|
317
|
+
CONFIG_COMMANDS =
|
318
|
+
$ ./config.status
|
319
|
+
|
320
|
+
on sameer-K401UB
|
321
|
+
|
322
|
+
config.status:839: creating Makefile
|
323
|
+
config.status:839: creating libgumath/Makefile
|
324
|
+
config.status:839: creating config.h
|
325
|
+
config.status:1014: config.h is unchanged
|
326
|
+
|
327
|
+
## ---------------- ##
|
328
|
+
## Cache variables. ##
|
329
|
+
## ---------------- ##
|
330
|
+
|
331
|
+
ac_cv_build=x86_64-unknown-linux-gnu
|
332
|
+
ac_cv_c_compiler_gnu=yes
|
333
|
+
ac_cv_cxx_compiler_gnu=yes
|
334
|
+
ac_cv_env_CCC_set=
|
335
|
+
ac_cv_env_CCC_value=
|
336
|
+
ac_cv_env_CC_set=
|
337
|
+
ac_cv_env_CC_value=
|
338
|
+
ac_cv_env_CFLAGS_set=set
|
339
|
+
ac_cv_env_CFLAGS_value=' -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include '
|
340
|
+
ac_cv_env_CPPFLAGS_set=
|
341
|
+
ac_cv_env_CPPFLAGS_value=
|
342
|
+
ac_cv_env_CPP_set=
|
343
|
+
ac_cv_env_CPP_value=
|
344
|
+
ac_cv_env_CXXFLAGS_set=
|
345
|
+
ac_cv_env_CXXFLAGS_value=
|
346
|
+
ac_cv_env_CXX_set=
|
347
|
+
ac_cv_env_CXX_value=
|
348
|
+
ac_cv_env_LDFLAGS_set=
|
349
|
+
ac_cv_env_LDFLAGS_value=
|
350
|
+
ac_cv_env_LIBS_set=
|
351
|
+
ac_cv_env_LIBS_value=
|
352
|
+
ac_cv_env_build_alias_set=
|
353
|
+
ac_cv_env_build_alias_value=
|
354
|
+
ac_cv_env_host_alias_set=
|
355
|
+
ac_cv_env_host_alias_value=
|
356
|
+
ac_cv_env_target_alias_set=
|
357
|
+
ac_cv_env_target_alias_value=
|
358
|
+
ac_cv_header_inttypes_h=yes
|
359
|
+
ac_cv_header_memory_h=yes
|
360
|
+
ac_cv_header_pthread_h=yes
|
361
|
+
ac_cv_header_stdc=yes
|
362
|
+
ac_cv_header_stdint_h=yes
|
363
|
+
ac_cv_header_stdlib_h=yes
|
364
|
+
ac_cv_header_string_h=yes
|
365
|
+
ac_cv_header_strings_h=yes
|
366
|
+
ac_cv_header_sys_stat_h=yes
|
367
|
+
ac_cv_header_sys_types_h=yes
|
368
|
+
ac_cv_header_unistd_h=yes
|
369
|
+
ac_cv_host=x86_64-unknown-linux-gnu
|
370
|
+
ac_cv_objext=o
|
371
|
+
ac_cv_path_EGREP='/bin/grep -E'
|
372
|
+
ac_cv_path_GREP=/bin/grep
|
373
|
+
ac_cv_path_install='/usr/bin/install -c'
|
374
|
+
ac_cv_prog_CPP='gcc -E'
|
375
|
+
ac_cv_prog_ac_ct_AR=ar
|
376
|
+
ac_cv_prog_ac_ct_CC=gcc
|
377
|
+
ac_cv_prog_ac_ct_CXX=g++
|
378
|
+
ac_cv_prog_ac_ct_RANLIB=ranlib
|
379
|
+
ac_cv_prog_cc_c89=
|
380
|
+
ac_cv_prog_cc_g=yes
|
381
|
+
ac_cv_prog_cxx_g=yes
|
382
|
+
|
383
|
+
## ----------------- ##
|
384
|
+
## Output variables. ##
|
385
|
+
## ----------------- ##
|
386
|
+
|
387
|
+
AR='ar'
|
388
|
+
CC='gcc'
|
389
|
+
CFLAGS=' -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include '
|
390
|
+
CONFIGURE_CFLAGS=' -Wall -Wextra -std=c11 -pedantic -O3 -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/xnd-0.2.0dev7/ext/ruby_xnd/include -I /home/sameer/.rvm/gems/ruby-2.4.1/gems/ndtypes-0.2.0dev6/ext/ruby_ndtypes/include '
|
391
|
+
CONFIGURE_CUDA_CXXFLAGS=''
|
392
|
+
CONFIGURE_CXXFLAGS=' -Wall -Wextra -std=c++11 -O3 -g'
|
393
|
+
CONFIGURE_INCLUDES='../ndtypes/libndtypes'
|
394
|
+
CONFIGURE_INCLUDES_TEST='../../ndtypes/libndtypes'
|
395
|
+
CONFIGURE_LDFLAGS=' -shared -Wl,-soname,libgumath.so.0'
|
396
|
+
CONFIGURE_LIBS='../ndtypes/libndtypes'
|
397
|
+
CONFIGURE_LIBS_TEST='../../ndtypes/libndtypes'
|
398
|
+
CPP='gcc -E'
|
399
|
+
CPPFLAGS=''
|
400
|
+
CUDA_CXX=''
|
401
|
+
CXX='g++'
|
402
|
+
CXXFLAGS=''
|
403
|
+
DEFS='-DHAVE_CONFIG_H'
|
404
|
+
ECHO_C=''
|
405
|
+
ECHO_N='-n'
|
406
|
+
ECHO_T=''
|
407
|
+
EGREP='/bin/grep -E'
|
408
|
+
EXEEXT=''
|
409
|
+
GM_OPT='-O3'
|
410
|
+
GM_WARN='-Wall -Wextra -std=c11 -pedantic'
|
411
|
+
GREP='/bin/grep'
|
412
|
+
INSTALL='/usr/bin/install -c'
|
413
|
+
INSTALL_DATA='${INSTALL} -m 644'
|
414
|
+
INSTALL_PROGRAM='${INSTALL}'
|
415
|
+
INSTALL_SCRIPT='${INSTALL}'
|
416
|
+
LD='g++'
|
417
|
+
LDFLAGS=''
|
418
|
+
LIBNAME='libgumath.so'
|
419
|
+
LIBOBJS=''
|
420
|
+
LIBRARY_PATH='LD_LIBRARY_PATH'
|
421
|
+
LIBS=''
|
422
|
+
LIBSHARED='libgumath.so.0.2.0dev3'
|
423
|
+
LIBSONAME='libgumath.so.0'
|
424
|
+
LIBSTATIC='libgumath.a'
|
425
|
+
LTLIBOBJS=''
|
426
|
+
NDT_INSTALL_DOCS=''
|
427
|
+
OBJEXT='o'
|
428
|
+
PACKAGE_BUGREPORT='skrah@bytereef.org'
|
429
|
+
PACKAGE_NAME='gumath'
|
430
|
+
PACKAGE_STRING='gumath 0.2.0dev3'
|
431
|
+
PACKAGE_TARNAME='gumath'
|
432
|
+
PACKAGE_URL='https://github.com/plures/'
|
433
|
+
PACKAGE_VERSION='0.2.0dev3'
|
434
|
+
PATH_SEPARATOR=':'
|
435
|
+
RANLIB='ranlib'
|
436
|
+
SHELL='/bin/bash'
|
437
|
+
ac_ct_CC='gcc'
|
438
|
+
ac_ct_CXX='g++'
|
439
|
+
bindir='${exec_prefix}/bin'
|
440
|
+
build='x86_64-unknown-linux-gnu'
|
441
|
+
build_alias=''
|
442
|
+
build_cpu='x86_64'
|
443
|
+
build_os='linux-gnu'
|
444
|
+
build_vendor='unknown'
|
445
|
+
datadir='${datarootdir}'
|
446
|
+
datarootdir='${prefix}/share'
|
447
|
+
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
448
|
+
dvidir='${docdir}'
|
449
|
+
exec_prefix='${prefix}'
|
450
|
+
host='x86_64-unknown-linux-gnu'
|
451
|
+
host_alias=''
|
452
|
+
host_cpu='x86_64'
|
453
|
+
host_os='linux-gnu'
|
454
|
+
host_vendor='unknown'
|
455
|
+
htmldir='${docdir}'
|
456
|
+
includedir='${prefix}/include'
|
457
|
+
infodir='${datarootdir}/info'
|
458
|
+
libdir='${exec_prefix}/lib'
|
459
|
+
libexecdir='${exec_prefix}/libexec'
|
460
|
+
localedir='${datarootdir}/locale'
|
461
|
+
localstatedir='${prefix}/var'
|
462
|
+
mandir='${datarootdir}/man'
|
463
|
+
oldincludedir='/usr/include'
|
464
|
+
pdfdir='${docdir}'
|
465
|
+
prefix='/home/sameer/gitrepos/xnd-ruby/gumath/ext/ruby_gumath'
|
466
|
+
program_transform_name='s,x,x,'
|
467
|
+
psdir='${docdir}'
|
468
|
+
runstatedir='${localstatedir}/run'
|
469
|
+
sbindir='${exec_prefix}/sbin'
|
470
|
+
sharedstatedir='${prefix}/com'
|
471
|
+
sysconfdir='${prefix}/etc'
|
472
|
+
target_alias=''
|
473
|
+
|
474
|
+
## ----------- ##
|
475
|
+
## confdefs.h. ##
|
476
|
+
## ----------- ##
|
477
|
+
|
478
|
+
/* confdefs.h */
|
479
|
+
#define PACKAGE_NAME "gumath"
|
480
|
+
#define PACKAGE_TARNAME "gumath"
|
481
|
+
#define PACKAGE_VERSION "0.2.0dev3"
|
482
|
+
#define PACKAGE_STRING "gumath 0.2.0dev3"
|
483
|
+
#define PACKAGE_BUGREPORT "skrah@bytereef.org"
|
484
|
+
#define PACKAGE_URL "https://github.com/plures/"
|
485
|
+
#define STDC_HEADERS 1
|
486
|
+
#define HAVE_SYS_TYPES_H 1
|
487
|
+
#define HAVE_SYS_STAT_H 1
|
488
|
+
#define HAVE_STDLIB_H 1
|
489
|
+
#define HAVE_STRING_H 1
|
490
|
+
#define HAVE_MEMORY_H 1
|
491
|
+
#define HAVE_STRINGS_H 1
|
492
|
+
#define HAVE_INTTYPES_H 1
|
493
|
+
#define HAVE_STDINT_H 1
|
494
|
+
#define HAVE_UNISTD_H 1
|
495
|
+
#define HAVE_PTHREAD_H 1
|
496
|
+
|
497
|
+
configure: exit 0
|