Remove some unneeded globals
This commit is contained in:
parent
07d1426dd4
commit
d9b44f8678
@ -53,9 +53,6 @@ URL: http://pypy.org/
|
|||||||
# Should we build the emacs JIT-viewing mode?
|
# Should we build the emacs JIT-viewing mode?
|
||||||
%global with_emacs 1
|
%global with_emacs 1
|
||||||
|
|
||||||
# Easy way to enable/disable verbose logging:
|
|
||||||
%global verbose_logs 0
|
|
||||||
|
|
||||||
# Forcibly use the shadow-stack option for detecting GC roots, rather than
|
# Forcibly use the shadow-stack option for detecting GC roots, rather than
|
||||||
# relying on hacking up generated assembler with regexps:
|
# relying on hacking up generated assembler with regexps:
|
||||||
%global shadow_stack 1
|
%global shadow_stack 1
|
||||||
@ -63,8 +60,6 @@ URL: http://pypy.org/
|
|||||||
# Easy way to turn off the selftests:
|
# Easy way to turn off the selftests:
|
||||||
%global run_selftests 1
|
%global run_selftests 1
|
||||||
|
|
||||||
%global pylibver 3
|
|
||||||
|
|
||||||
# We refer to this subdir of the source tree in a few places during the build:
|
# We refer to this subdir of the source tree in a few places during the build:
|
||||||
%global goal_dir pypy/goal
|
%global goal_dir pypy/goal
|
||||||
|
|
||||||
@ -303,7 +298,7 @@ for f in rpython/translator/goal/bpnn.py ; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Replace all lib-python and lib_pypy python shebangs with pypy3 (those will be shipped with pypy3-libs)
|
# Replace all lib-python and lib_pypy python shebangs with pypy3 (those will be shipped with pypy3-libs)
|
||||||
find lib-python/%{pylibver} lib_pypy -name "*.py" -exec \
|
find lib-python/3 lib_pypy -name "*.py" -exec \
|
||||||
sed -r -i '1s@^#!\s*/usr/bin.*(python|pypy).*@#!/usr/bin/%{name}@' \
|
sed -r -i '1s@^#!\s*/usr/bin.*(python|pypy).*@#!/usr/bin/%{name}@' \
|
||||||
"{}" \
|
"{}" \
|
||||||
\;
|
\;
|
||||||
|
Loading…
Reference in New Issue
Block a user