Commit Graph

22 Commits

Author SHA1 Message Date
David Malcolm a8e52ca5f8 fix an incompatibility with virtualenv (rhbz#742641)
Previously, we manually fixed up the library search path to be
below %{pypyprefix}, by patching pypy/translator/goal/app_main.py (adding
LIBRARY_INSTALLATION_PATH in patch 3, then using sed to change it to the
correct value in %prep after applying the patch).

This led to issues when using pypy with virtualenv, so now (as suggested in
https://codespeak.net/issue/pypy-dev/issue614 ) we simply install the pypy
binary into %{pypyprefix}, and make /usr/bin/pypy be a symlink to it.  This
allows pypy to find its libraries both when run outside a virtualenv, and
within it.

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=742641
2012-01-31 04:53:38 -05:00
Dennis Gilmore e21faf468c - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 19:29:18 -06:00
David Malcolm 416c353a67 1.7-2: use --gcrootfinder=shadowstack, and use standard Fedora compilation flags
* Fri Dec 16 2011 David Malcolm <dmalcolm@redhat.com> - 1.7-2
- use --gcrootfinder=shadowstack, and use standard Fedora compilation flags,
with -Wno-unused (rhbz#666966 and rhbz#707707)
2011-12-16 17:15:41 -05:00
David Malcolm 4ef3f10721 1.7
* Mon Nov 21 2011 David Malcolm <dmalcolm@redhat.com> - 1.7-1
- 1.7: refresh patch 0 (configuration) and patch 4 (readability of generated
code)
2011-11-22 11:30:49 -05:00
David Malcolm 953cba8f40 1.6-7: skip test_multiprocessing
* Tue Oct  4 2011 David Malcolm <dmalcolm@redhat.com> - 1.6-7
- skip test_multiprocessing
2011-10-04 14:38:28 -04:00
David Malcolm 2d36a5e816 don't ship the emacs JIT-viewer on el5 and el6
* Tue Sep 13 2011 David Malcolm <dmalcolm@redhat.com> - 1.6-6
- don't ship the emacs JIT-viewer on el5 and el6 (missing emacs-filesystem;
missing _emacs_bytecompile macro on el5)
2011-09-13 05:00:09 -04:00
David Malcolm 009aeb1c2d build using python26 on el5 (2.4 is too early) 2011-09-12 21:01:16 -04:00
David Malcolm 106cb91275 fix SkipTest function to avoid corrupting the name of "test_gdbm" 2011-08-25 14:50:53 -04:00
David Malcolm afabd9d6be 1.6-3: add rpm macros file to the devel subpackage; skip some tests 2011-08-25 11:58:55 -04:00
David Malcolm 1df5c3e618 work around test_subprocess failure seen in koji (patch 5) 2011-08-20 11:59:48 -04:00
David Malcolm 3a2c2ec86d pypy-1.6-1
- 1.6
- rewrite the %check section, introducing per-test timeouts
2011-08-19 19:04:38 -04:00
David Malcolm 1feef4d56b add pypytrace-mode.el to the pypy-libs subpackage, for viewing JIT trace logs in emacs 2011-08-03 13:02:57 -04:00
Dan Horák 3d2cef177d fix build on non-jit arches
Build on non-jit arch like s390 fails with

[translation:info] Translating target as defined by targetpypystandalone
[platform:msg] Setting platform to 'host' cc=None
Traceback (most recent call last):
  File "translate.py", line 322, in <module>
    main()
  File "translate.py", line 208, in main
    targetspec_dic, translateconfig, config, args = parse_options_and_load_target()
  File "translate.py", line 176, in parse_options_and_load_target
    targetspec_dic['handle_config'](config, translateconfig)
  File "targetpypystandalone.py", line 109, in handle_config
    raise Exception("You have to specify the --opt level.\n"
Exception: You have to specify the --opt level.
Try --opt=2 or --opt=jit, or equivalently -O2 or -Ojit .
2011-05-11 10:15:52 +02:00
David Malcolm 169de85aca Rebase to 1.5 (rhbz#701121)
Update patches:
  patch 0: pypy-1.4-config.patch -> pypy-1.5-config.patch
  patch 4: pypy-1.4.1-more-readable-c-code.patch -> pypy-1.5-more-readable-c-code.patch

Remove references to *.inl files, no longer present

Add the following tests to the skip list:
  test_audioop, test_capi, test_distutils, test_gc, test_gdb, test_generators,
  test_getargs2, test_hotshot, test_io, test_multiprocessing, test_posix,
  test_readline, test_scope, test_strop, test_structmembers, test_subprocess,
  test_symtable, test_sys_settrace, test_tempfile, test_thread, test_uuid,
  test_zipimport_support

Add a couple of text files to the payload (TODO, stdlib-version.txt)
2011-05-02 14:46:32 -04:00
David Malcolm 3ca83f1944 Fix the build on architectures that the JIT doesn't support
- build a /usr/bin/pypy (but without the JIT compiler) on architectures that
don't support the JIT, so that they do at least have something that runs
2011-04-30 18:24:07 -04:00
Dennis Gilmore d853ff6a5b - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 20:23:05 -06:00
David Malcolm c225b1c092 Disable self-hosting for now, due to fatal error seen JIT-compiling the translator 2011-01-14 11:58:45 -05:00
David Malcolm 7632349386 skip test_ioctl for now 2011-01-14 11:06:07 -05:00
David Malcolm 0a81116e89 Add a pypy-devel subpackage; rerun failed selftests in verbose mode
* Thu Jan 13 2011 David Malcolm <dmalcolm@redhat.com> - 1.4.1-6
- add a "pypy-devel" subpackage, and install the header files there
- in %%check, re-run failed tests in verbose mode
2011-01-13 19:51:26 -05:00
Dan Horák d39359a3af - valgrind available only on selected architectures 2011-01-07 17:56:06 +01:00
David Malcolm 00e57e74f8 * Wed Jan 5 2011 David Malcolm <dmalcolm@redhat.com> - 1.4.1-4
- rebuild pypy using itself, for speed, with a boolean to break this cycle in
the build-requirement graph (falling back to using "python-devel" aka CPython)
- add work-in-progress patch to try to make generated c more readable
(rhbz#666963)
- capture the RPython source code files from the build within the debuginfo
package (rhbz#666975)
2011-01-06 17:09:03 -05:00
David Malcolm f756cfcb34 Initial import of pypy-1.4.1-3 from package review (rhbz#588941) 2011-01-03 15:06:28 -05:00