orc: update to 0.4.30. 0.4.30 =================== - Don't always generate static library but default to shared-only (Xavier Claessens) - Work around false positives in Microsoft UWP certification kit (Nirbheek Chauhan) - Add endbr32/endbr64 instructions on x86/x86-64 for indirect branch tracking (Wim Taymans) - Fix gtk-doc build when orc is used as a meson subproject (Mathieu Duponchelle) - Switch float comparison in tests to ULP method to fix spurious failures (Doug Nazar) - Fix flushing of ARM icache when using dual map (Doug Nazar) - Use float constants/parameters when testing float opcodes (Doug Nazar) - Add support for Hygon Dhyana processor (fanjinke) - Fix PPC/PPC64 CPU family detection (Doug Nazar) - Add little-endian PPC support (Doug Nazar) - Fix compiler warnings with clang (Matthew Waters) - Mark exec mapping writable in debug mode for allowing breakpoints (Doug Nazar) - Various codegen refactorings (Doug Nazar) - autotools support has been dropped in favour of Meson as build system (Tim-Philipp M端ller) - Fix PPC CPU feature detection and add support for VSX/v2.07 (Doug Nazar) - Add double/int64 support for PPC (Doug Nazar)diff -r1.15 -r1.16 pkgsrc/devel/orc/Makefile
(wiz)
@@ -1,30 +1,23 @@ | @@ -1,30 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.15 2019/04/27 18:22:39 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.16 2019/10/10 13:04:22 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= orc-0.4.29 | 3 | DISTNAME= orc-0.4.30 | |
4 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
5 | MASTER_SITES= https://gstreamer.freedesktop.org/src/orc/ | 5 | MASTER_SITES= https://gstreamer.freedesktop.org/src/orc/ | |
6 | EXTRACT_SUFX= .tar.xz | 6 | EXTRACT_SUFX= .tar.xz | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= https://gstreamer.freedesktop.org/modules/orc.html | 9 | HOMEPAGE= https://gstreamer.freedesktop.org/modules/orc.html | |
10 | COMMENT= Compiler for vector operations | 10 | COMMENT= Compiler for vector operations | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | USE_LIBTOOL= yes | 13 | PKGCONFIG_OVERRIDE+= output/orc-0.4.pc | |
14 | USE_TOOLS+= gmake | 14 | PKGCONFIG_OVERRIDE+= output/meson-private/orc-test-0.4.pc | |
15 | GNU_CONFIGURE= yes | 15 | PKGCONFIG_OVERRIDE_STAGE= post-configure | |
16 | PKGCONFIG_OVERRIDE+= orc.pc.in | |||
17 | PKGCONFIG_OVERRIDE+= orc-test.pc.in | |||
18 | ||||
19 | # XXX: Kludge to avoid uncoditionally pick up some gtkdoc-* tools if gtk-doc | |||
20 | # XXX: package is installed and then fails in the installation phase. | |||
21 | CONFIGURE_ENV+= ac_cv_prog_GTKDOC_CHECK= \ | |||
22 | ac_cv_path_GTKDOC_CHECK_PATH= \ | |||
23 | ac_cv_path_GTKDOC_REBASE= \ | |||
24 | ac_cv_path_GTKDOC_MKPDF= | |||
25 | 16 | |||
26 | TEST_TARGET= check | 17 | MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/${PKGBASE} | |
27 | 18 | |||
19 | MESON_ARGS+= -Dgtk_doc=disabled | |||
28 | 20 | |||
21 | .include "../../devel/meson/build.mk" | |||
29 | .include "../../mk/pthread.buildlink3.mk" | 22 | .include "../../mk/pthread.buildlink3.mk" | |
30 | .include "../../mk/bsd.pkg.mk" | 23 | .include "../../mk/bsd.pkg.mk" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.8 2019/04/27 18:22:39 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.9 2019/10/10 13:04:22 wiz Exp $ | |
2 | bin/orc-bugreport | 2 | bin/orc-bugreport | |
3 | bin/orcc | 3 | bin/orcc | |
4 | include/orc-0.4/orc-test/orcarray.h | 4 | include/orc-0.4/orc-test/orcarray.h | |
5 | include/orc-0.4/orc-test/orcprofile.h | 5 | include/orc-0.4/orc-test/orcprofile.h | |
6 | include/orc-0.4/orc-test/orcrandom.h | 6 | include/orc-0.4/orc-test/orcrandom.h | |
7 | include/orc-0.4/orc-test/orctest.h | 7 | include/orc-0.4/orc-test/orctest.h | |
8 | include/orc-0.4/orc/orc-stdint.h | 8 | include/orc-0.4/orc/orc-stdint.h | |
9 | include/orc-0.4/orc/orc.h | 9 | include/orc-0.4/orc/orc.h | |
10 | include/orc-0.4/orc/orcarm.h | 10 | include/orc-0.4/orc/orcarm.h | |
11 | include/orc-0.4/orc/orcbytecode.h | 11 | include/orc-0.4/orc/orcbytecode.h | |
12 | include/orc-0.4/orc/orcbytecodes.h | 12 | include/orc-0.4/orc/orcbytecodes.h | |
13 | include/orc-0.4/orc/orccode.h | 13 | include/orc-0.4/orc/orccode.h | |
14 | include/orc-0.4/orc/orccompiler.h | 14 | include/orc-0.4/orc/orccompiler.h | |
@@ -27,53 +27,23 @@ include/orc-0.4/orc/orcmmx.h | @@ -27,53 +27,23 @@ include/orc-0.4/orc/orcmmx.h | |||
27 | include/orc-0.4/orc/orcneon.h | 27 | include/orc-0.4/orc/orcneon.h | |
28 | include/orc-0.4/orc/orconce.h | 28 | include/orc-0.4/orc/orconce.h | |
29 | include/orc-0.4/orc/orcopcode.h | 29 | include/orc-0.4/orc/orcopcode.h | |
30 | include/orc-0.4/orc/orcparse.h | 30 | include/orc-0.4/orc/orcparse.h | |
31 | include/orc-0.4/orc/orcpowerpc.h | 31 | include/orc-0.4/orc/orcpowerpc.h | |
32 | include/orc-0.4/orc/orcprogram.h | 32 | include/orc-0.4/orc/orcprogram.h | |
33 | include/orc-0.4/orc/orcrule.h | 33 | include/orc-0.4/orc/orcrule.h | |
34 | include/orc-0.4/orc/orcsse.h | 34 | include/orc-0.4/orc/orcsse.h | |
35 | include/orc-0.4/orc/orctarget.h | 35 | include/orc-0.4/orc/orctarget.h | |
36 | include/orc-0.4/orc/orcutils.h | 36 | include/orc-0.4/orc/orcutils.h | |
37 | include/orc-0.4/orc/orcvariable.h | 37 | include/orc-0.4/orc/orcvariable.h | |
38 | include/orc-0.4/orc/orcx86.h | 38 | include/orc-0.4/orc/orcx86.h | |
39 | include/orc-0.4/orc/orcx86insn.h | 39 | include/orc-0.4/orc/orcx86insn.h | |
40 | lib/liborc-0.4.la | 40 | lib/liborc-0.4.so | |
41 | lib/liborc-test-0.4.la | 41 | lib/liborc-0.4.so.0 | |
42 | lib/liborc-0.4.so.0.30.0 | |||
43 | lib/liborc-test-0.4.a | |||
44 | lib/liborc-test-0.4.so | |||
45 | lib/liborc-test-0.4.so.0 | |||
46 | lib/liborc-test-0.4.so.0.30.0 | |||
42 | lib/pkgconfig/orc-0.4.pc | 47 | lib/pkgconfig/orc-0.4.pc | |
43 | lib/pkgconfig/orc-test-0.4.pc | 48 | lib/pkgconfig/orc-test-0.4.pc | |
44 | share/aclocal/orc.m4 | 49 | share/aclocal/orc.m4 | |
45 | share/gtk-doc/html/orc/ch01.html | |||
46 | share/gtk-doc/html/orc/ch02.html | |||
47 | share/gtk-doc/html/orc/ch03.html | |||
48 | share/gtk-doc/html/orc/ch04.html | |||
49 | share/gtk-doc/html/orc/ch05.html | |||
50 | share/gtk-doc/html/orc/home.png | |||
51 | share/gtk-doc/html/orc/index.html | |||
52 | share/gtk-doc/html/orc/left-insensitive.png | |||
53 | share/gtk-doc/html/orc/left.png | |||
54 | share/gtk-doc/html/orc/orc-ARM.html | |||
55 | share/gtk-doc/html/orc/orc-MMX.html | |||
56 | share/gtk-doc/html/orc/orc-Orc.html | |||
57 | share/gtk-doc/html/orc/orc-OrcCompiler.html | |||
58 | share/gtk-doc/html/orc/orc-OrcDebug.html | |||
59 | share/gtk-doc/html/orc/orc-OrcExecutor.html | |||
60 | share/gtk-doc/html/orc/orc-OrcOpcode.html | |||
61 | share/gtk-doc/html/orc/orc-OrcProgram.html | |||
62 | share/gtk-doc/html/orc/orc-OrcRule.html | |||
63 | share/gtk-doc/html/orc/orc-PowerPC.html | |||
64 | share/gtk-doc/html/orc/orc-SSE.html | |||
65 | share/gtk-doc/html/orc/orc-Utility-functions.html | |||
66 | share/gtk-doc/html/orc/orc-building.html | |||
67 | share/gtk-doc/html/orc/orc-concepts.html | |||
68 | share/gtk-doc/html/orc/orc-misc.html | |||
69 | share/gtk-doc/html/orc/orc-opcodes.html | |||
70 | share/gtk-doc/html/orc/orc-program.html | |||
71 | share/gtk-doc/html/orc/orc-runninging.html | |||
72 | share/gtk-doc/html/orc/orc-tutorial.html | |||
73 | share/gtk-doc/html/orc/orc-x86.html | |||
74 | share/gtk-doc/html/orc/orc.devhelp2 | |||
75 | share/gtk-doc/html/orc/right-insensitive.png | |||
76 | share/gtk-doc/html/orc/right.png | |||
77 | share/gtk-doc/html/orc/style.css | |||
78 | share/gtk-doc/html/orc/up-insensitive.png | |||
79 | share/gtk-doc/html/orc/up.png |
@@ -1,8 +1,7 @@ | @@ -1,8 +1,7 @@ | |||
1 | $NetBSD: distinfo,v 1.16 2019/04/27 18:22:39 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.17 2019/10/10 13:04:22 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (orc-0.4.29.tar.xz) = d97286566f22fa7890b93fdd3d5b64b255f75a30 | 3 | SHA1 (orc-0.4.30.tar.xz) = b5a778b285e3d7fa75bcba32a0a7804207f7e2cf | |
4 | RMD160 (orc-0.4.29.tar.xz) = 85b7566c3d870b4f8c150dd509e8fbd403d39b8c | 4 | RMD160 (orc-0.4.30.tar.xz) = 322c384aee5b158d1592d6f65b28c044e3277282 | |
5 | SHA512 (orc-0.4.29.tar.xz) = 57aa75bbefa9ba9ffcce97affd504c13c57612e2409863c011555bed6ff6ba224d38ed66b715bf103679a8ee28ddae427db3d78c7b4a2ddfa7dbd72a4fa81726 | 5 | SHA512 (orc-0.4.30.tar.xz) = da254347f5ebb278f0932a7bfa878adc2a14c42c7e6a20a4e6bb68c0883e307fef57bef867d54e150bd1d875f79eee27f9d34aede410d3eddd4093e5b055cd22 | |
6 | Size (orc-0.4.29.tar.xz) = 465076 bytes | 6 | Size (orc-0.4.30.tar.xz) = 176340 bytes | |
7 | SHA1 (patch-ab) = 589967ac10bbfcf1cf557918aed86a93f0d85a2b | 7 | SHA1 (patch-ab) = 8536500f42ed59f9159597e2b7d51772d103faa5 | |
8 | SHA1 (patch-configure) = 5359186c25ddb3f30fcee9cd746b524dd3b04254 |
@@ -1,47 +1,47 @@ | @@ -1,47 +1,47 @@ | |||
1 | $NetBSD: patch-ab,v 1.4 2011/04/18 20:07:31 he Exp $ | 1 | $NetBSD: patch-ab,v 1.5 2019/10/10 13:04:22 wiz Exp $ | |
2 | 2 | |||
3 | Fix this so that NetBSD is also probed for altivec on powerpc | 3 | Fix this so that NetBSD is also probed for altivec on powerpc | |
4 | (and so that this builds). | 4 | (and so that this builds). | |
5 | 5 | |||
6 | --- orc/orccpu-powerpc.c.orig 2010-07-09 23:56:52.000000000 +0000 | 6 | --- orc/orccpu-powerpc.c.orig 2019-09-09 07:21:43.000000000 +0000 | |
7 | +++ orc/orccpu-powerpc.c | 7 | +++ orc/orccpu-powerpc.c | |
8 | @@ -45,7 +45,7 @@ | 8 | @@ -54,7 +54,7 @@ | |
9 | 9 | |||
10 | #endif | 10 | #endif | |
11 | 11 | |||
12 | -#if defined(__FreeBSD__) || defined(__APPLE__) | 12 | -#if defined(__FreeBSD__) || defined(__APPLE__) | |
13 | +#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) | 13 | +#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) | |
14 | #include <sys/types.h> | 14 | #include <sys/types.h> | |
15 | #include <sys/sysctl.h> | 15 | #include <sys/sysctl.h> | |
16 | #endif | 16 | #endif | |
17 | @@ -76,9 +76,11 @@ test_altivec (void * ignored) | 17 | @@ -86,9 +86,11 @@ test_altivec (void * ignored) | |
18 | } | 18 | } | |
19 | #endif | 19 | #endif | |
20 | 20 | |||
21 | -#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) | 21 | -#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) | |
22 | +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) | 22 | +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) | |
23 | #if defined(__APPLE__) | 23 | #if defined(__APPLE__) | |
24 | #define SYSCTL "hw.vectorunit" | 24 | #define SYSCTL "hw.vectorunit" | |
25 | +#elif defined(__NetBSD__) | 25 | +#elif defined(__NetBSD__) | |
26 | +#define SYSCTL "machdep.altivec" | 26 | +#define SYSCTL "machdep.altivec" | |
27 | #else | 27 | #else | |
28 | #define SYSCTL "hw.altivec" | 28 | #define SYSCTL "hw.altivec" | |
29 | #endif | 29 | #endif | |
30 | @@ -174,7 +176,7 @@ out: | 30 | @@ -182,7 +184,7 @@ orc_check_powerpc_proc_auxv (void) | |
31 | } | 31 | } | |
32 | #endif | 32 | #endif | |
33 | 33 | |||
34 | -#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__OpenBSD__) && !defined(__APPLE__) && !defined(__linux__) | 34 | -#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__OpenBSD__) && !defined(__APPLE__) && !defined(__linux__) | |
35 | +#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__OpenBSD__) && !defined(__APPLE__) && !defined(__linux__) && !defined(__NetBSD__) | 35 | +#if !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__OpenBSD__) && !defined(__APPLE__) && !defined(__linux__) && !defined(__NetBSD__) | |
36 | static void | 36 | static void | |
37 | orc_check_altivec_fault (void) | 37 | orc_check_powerpc_fault (void) | |
38 | { | |||
39 | @@ -190,7 +192,7 @@ orc_check_altivec_fault (void) | |||
40 | void | |||
41 | orc_cpu_detect_arch(void) | |||
42 | { | 38 | { | |
39 | @@ -203,7 +205,7 @@ powerpc_detect_cpu_flags (void) | |||
40 | if (inited) return; | |||
41 | inited = 1; | |||
42 | ||||
43 | -#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) | 43 | -#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) | |
44 | +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) || defined(__NetBSD__) | 44 | +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) || defined(__NetBSD__) | |
45 | orc_check_altivec_sysctl_bsd(); | 45 | orc_check_powerpc_sysctl_bsd(); | |
46 | #elif defined(__OpenBSD__) | 46 | #elif defined(__OpenBSD__) | |
47 | orc_check_altivec_sysctl_openbsd(); | 47 | orc_check_powerpc_sysctl_openbsd(); |