Project

General

Profile

Actions

Bug #9589

closed

Fix obtaining compiler options for building models

Added by Evgeny Novikov about 5 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Tasks generation
Target version:
Start date:
04/07/2019
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

At the moment there is such ugly exception when there is not an appropriate build command in a build base:

Raise exception:
Traceback (most recent call last):
  File "/home/novikov/work/klever/core/core/components.py", line 427, in run
    self.main()
  File "/home/novikov/work/klever/core/core/components.py", line 332, in callbacks_caller
    ret = attr(*args, **kwargs)
  File "/home/novikov/work/klever/core/core/vtg/rsg/__init__.py", line 52, in generate_requirement
    self.add_models(generated_models)
  File "/home/novikov/work/klever/core/core/components.py", line 332, in callbacks_caller
    ret = attr(*args, **kwargs)
  File "/home/novikov/work/klever/core/core/vtg/rsg/__init__.py", line 196, in add_models
    if not empty_cc:
UnboundLocalError: local variable 'empty_cc' referenced before assignment

Actions #1

Updated by Evgeny Novikov about 4 years ago

  • Status changed from New to Resolved
  • Assignee changed from Evgeny Novikov to Ilja Zakharov

I fixed some bugs and make some refactoring in branch compiler-model-opts. Wait for testing results since changes are crucial.

Actions #2

Updated by Evgeny Novikov about 4 years ago

In general the issue was fixed by Ilja Zakharov (likely for BusyBox or/and Zephyr).

Actions #3

Updated by Evgeny Novikov about 4 years ago

  • Status changed from Resolved to Closed

Tests passed, so, I merged the branch to master in 320f150e8.

Actions

Also available in: Atom PDF