Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rzrfreefr
nodejs
2011_enable_mipsel_build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2011_enable_mipsel_build.patch of Package nodejs
Description: Enable mipsel build wscript needs to recognize mips arch. tools/test.py is only used to run js tests, so arch is not needed there. Forwarded: not-needed Author: Jérémy Lal <kapouer@melix.org> Last-Update: 2012-04-01 --- a/wscript +++ b/wscript @@ -43,7 +43,7 @@ srcdir = '.' blddir = 'out' -supported_archs = ('arm', 'ia32', 'x64') # 'mips' supported by v8, but not node +supported_archs = ('arm', 'ia32', 'x64', 'mips') # 'mips' supported by v8, but not node jobs=1 if os.environ.has_key('JOBS'): @@ -53,7 +53,7 @@ return path.replace("\\", "/") def canonical_cpu_type(arch): - m = {'x86': 'ia32', 'i386':'ia32', 'x86_64':'x64', 'amd64':'x64'} + m = {'x86': 'ia32', 'i386':'ia32', 'x86_64':'x64', 'amd64':'x64', 'mipsel':'mips'} if arch in m: arch = m[arch] if not arch in supported_archs: raise Exception("supported architectures are "+', '.join(supported_archs)+\ --- a/tools/test.py +++ b/tools/test.py @@ -1203,12 +1203,12 @@ return False # Ensure that the simulator argument is handed down to scons. options.scons_flags.append("simulator=" + options.simulator) - else: + #else: # If options.arch is not set by the command line and no simulator setting # was found, set the arch to the guess. - if options.arch == 'none': - options.arch = ARCH_GUESS - options.scons_flags.append("arch=" + options.arch) + # if options.arch == 'none': + # options.arch = ARCH_GUESS + # options.scons_flags.append("arch=" + options.arch) if options.snapshot: options.scons_flags.append("snapshot=on") return True
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor