summaryrefslogtreecommitdiff
path: root/recipes/python/python-numpy/trycompile.diff
blob: 3ab3d72f2cfe9c8434864cbd1acb658136057211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- /tmp/setup.py	2008-09-01 10:37:44.000000000 +0200
+++ numpy-1.1.1/numpy/core/setup.py	2008-09-01 10:38:20.373198000 +0200
@@ -80,8 +80,7 @@
                 raise SystemError,\
                       "Non-existing %s. Perhaps you need to install"\
                       " python-dev|python-devel." % (python_h)
-            result = config_cmd.try_run(tc,include_dirs=[python_include],
-                                        library_dirs = default_lib_dirs)
+            result = config_cmd.try_compile(tc)
             if not result:
                 raise SystemError,"Failed to test configuration. "\
                       "See previous error messages for more information."
@@ -95,7 +94,7 @@
             if mathlib:
                 mathlibs_choices.insert(0,mathlib.split(','))
             for libs in mathlibs_choices:
-                if config_cmd.try_run(tc,libraries=libs):
+                if config_cmd.try_compile(tc):
                     mathlibs = libs
                     break
             else:
@@ -180,10 +179,7 @@
                       " python-dev|python-devel." % (python_h)
 
             config.numpy_include_dirs
-            result = config_cmd.try_run(testcode,
-                                include_dirs = [python_include] + \
-                                                       config.numpy_include_dirs,
-                                        library_dirs = default_lib_dirs)
+            result = config_cmd.try_compile(testcode)
 
             if not result:
                 raise SystemError,"Failed to generate numpy configuration. "\
ype='text'> into bitbake.utwente.nl:/home/koen/OE/openembedded 2005/04/16 10:27:09+02:00 utwente.nl!koen handhelds-pxa_2.4.19-rmk6-pxa1-hh39.bb: bump PR for hh-pxa-hh39 BKrev: 4260cc79Kt0PF0NpGo1o1s0mBxxixw
into bitbake.utwente.nl:/home/koen/OE/openembedded

2005/04/16 10:27:09+02:00 utwente.nl!koen
handhelds-pxa_2.4.19-rmk6-pxa1-hh39.bb:
  bump PR for hh-pxa-hh39

BKrev: 4260cc79Kt0PF0NpGo1o1s0mBxxixw
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded 2005-04-15T10:11:33+00:00 Koen Kooi koen@openembedded.org 2005-04-15T10:11:33+00:00 07632e04f8f19a1fbba4cd243e1740497e8846b4 into bitbake.utwente.nl:/home/koen/OE/openembedded 2005/04/15 12:11:14+02:00 utwente.nl!koen Add -hh39 sa and pxa kernels. They feature WE17, and updated h5400 sound drivers BKrev: 425f9355AQYUGDq5AvrdZyPqMxH56w
into bitbake.utwente.nl:/home/koen/OE/openembedded

2005/04/15 12:11:14+02:00 utwente.nl!koen
Add -hh39 sa and pxa kernels. They feature WE17, and updated h5400 sound drivers

BKrev: 425f9355AQYUGDq5AvrdZyPqMxH56w