Closed PrzemekWirkus closed 9 years ago
Code below in
mbed/workspace_tools/toolchains/toolchains/__init__.py
throws this exception:
def compile_queue(self, queue, objects):
jobs_count = int(self.jobs if self.jobs else cpu_count())
p = Pool(processes=jobs_count)
results = []
for i in range(len(queue)):
results.append(p.apply_async(compile_worker, [queue[i]]))
itr = 0
while True:
itr += 1
if itr > 6000:
p.terminate()
p.join()
raise ToolException("Compile did not finish in 5 minutes")
Hi, I tried the same way on my Linux and Windows8.1. It seems no problem. I'm using , Linux(32bit) on VMWare: gcc version 4.8.4 20140725 (release) ARM/embedded-4_8-branch revision 213147 (GNU Tools for ARM Embedded Processors) Python 2.7.3
Windows8.1(64bit), AMD 1GHz 4Core Note PC: gcc version 4.8.3 (GNU Tools for ARM Embedded Processors) Python 2.6.6
dinau
The actual limit is 1 minute, not 5 minutes as reported and originally intended. This should now be fixed.
@screamerbg You could have sent a pull request, reference this issue , and we could test it from your branch
@PrzemekWirkus this is the fix which was pushed to master https://github.com/mbedmicro/mbed/commit/45c1f43182dd9402e87e4b46a981e9f9667a2374
If you consider it's fixed with this commit, please close this issue, if not , add comment here. Thanks
Description
When I try to run workspace_tools/build_travis.py on our local Linux:
machine I got:
error and compilation stops on the first target executed with below command:
Compilation stops during DSP library compilation.
Note: I was also able to reproduce this on my Thinkpad laptop with Widnows 7 64-bit.
My Linux machine CPU info:
Testing on Linux machine