Liboil-0.3.13

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Liboil-0.3.13

David Schleef

Release of Liboil-0.3.13
========================

This release merges lots of distributions patches and bug fixes
and adds new functionality used by the upcoming (now!) release
of Schroedinger-1.0.0.


Web:         http://liboil.freedesktop.org/
Download:    http://liboil.freedesktop.org/download/
Bug reports: http://bugs.freedesktop.org/enter_bug.cgi?product=liboil



dave...


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Liboil] Liboil-0.3.13

Robert Schwebel
Hi David,

On Fri, Feb 22, 2008 at 01:38:16PM -0800, David Schleef wrote:
> Release of Liboil-0.3.13
> ========================
>
> This release merges lots of distributions patches and bug fixes
> and adds new functionality used by the upcoming (now!) release
> of Schroedinger-1.0.0.

Some patches for ARM follow shortly.

Robert
--
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

[patch] liboil: jit example does only work when glib is active

Robert Schwebel
From: Robert Schwebel <[hidden email]>

The makefile tries to build the jit example unconditionally, which fails
if we don't find glib:

jit.c:4:18: error: glib.h: No such file or directoryojprogram.c:4:18:

Signed-off-by: Robert Schwebel <[hidden email]>

---
 examples/Makefile.am |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Index: liboil-0.3.13/examples/Makefile.am
===================================================================
--- liboil-0.3.13.orig/examples/Makefile.am 2008-02-22 20:59:17.000000000 +0100
+++ liboil-0.3.13/examples/Makefile.am 2008-02-23 01:01:02.000000000 +0100
@@ -1,5 +1,8 @@
+if HAVE_GLIB
+SUBDIRS_GLIB = jit
+endif
 
-SUBDIRS = jpeg md5 uberopt work huffman taylor videoscale audioresample jit
+SUBDIRS = jpeg md5 uberopt work huffman taylor videoscale audioresample $(SUBDIRS_GLIB)
 
 bin_PROGRAMS = oil-bugreport
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

[patch] liboil: make oil_cpu_detect_arch() un-static

Robert Schwebel
In reply to this post by Robert Schwebel
From: Robert Schwebel <[hidden email]>

Looks like ARM was forgotten while converting oil_cpu_detect_arch().
Additionally, arm still needs get_rpoc_cpuinfo().

Signed-off-by: Robert Schwebel <[hidden email]>

---
 liboil/liboilcpu-arm.c |   35 ++++++++++++++++++++++++++++++-----
 1 file changed, 30 insertions(+), 5 deletions(-)

Index: liboil-0.3.13/liboil/liboilcpu-arm.c
===================================================================
--- liboil-0.3.13.orig/liboil/liboilcpu-arm.c 2008-02-22 20:59:17.000000000 +0100
+++ liboil-0.3.13/liboil/liboilcpu-arm.c 2008-02-23 01:01:48.000000000 +0100
@@ -60,10 +60,6 @@
  *
  */
 
-static void oil_cpu_detect_arch(void);
-
-static unsigned long oil_cpu_flags;
-
 extern unsigned long (*_oil_profile_stamp)(void);
 
 #if defined(__arm__)
@@ -126,6 +122,35 @@
   free (cpuinfo_flags);
 }
 
+static char *
+get_proc_cpuinfo (void)
+{
+  char *cpuinfo;
+  int fd;
+  int n;
+
+  cpuinfo = malloc(4096);
+  if (cpuinfo == NULL) return NULL;
+
+  fd = open("/proc/cpuinfo", O_RDONLY);
+  if (fd < 0) {
+    free (cpuinfo);
+    return NULL;
+  }
+
+  n = read(fd, cpuinfo, 4095);
+  if (n < 0) {
+    free (cpuinfo);
+    close (fd);
+    return NULL;
+  }
+  cpuinfo[n] = 0;
+
+  close (fd);
+
+  return cpuinfo;
+}
+
 static void
 oil_cpu_detect_arm(void)
 {
@@ -249,7 +274,7 @@
 }
 #endif
 
-static void
+void
 oil_cpu_detect_arch(void)
 {
 #if defined(__i386__) || defined(__amd64__)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel