fix disable ccache
This commit is contained in:
parent
76e58676de
commit
6d1b3925e4
@ -4,19 +4,20 @@
|
|||||||
# All rights reserved
|
# All rights reserved
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
|
|
||||||
import warnings
|
|
||||||
import traceback
|
import traceback
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from typing import get_type_hints, Type, List, Union, Dict, Any, Callable, Tuple, Optional, TYPE_CHECKING, Iterable
|
from typing import get_type_hints, Type, List, Union, Dict, Any, Callable, Tuple, Optional, TYPE_CHECKING, Iterable
|
||||||
|
|
||||||
__all__ = ['get_type_hints_',
|
__all__ = [
|
||||||
'Options',
|
'get_type_hints_',
|
||||||
'Fonts',
|
'Options',
|
||||||
'FontData',
|
'OptionsError',
|
||||||
'OptionsError',
|
'OptionNotFound',
|
||||||
'OptionNotFound',
|
'OptionNameNotDefined',
|
||||||
'OptionNameNotDefined']
|
'Fonts',
|
||||||
|
'FontData'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
def get_type_hints_(cls: Type):
|
def get_type_hints_(cls: Type):
|
||||||
|
@ -108,7 +108,7 @@ class CompilerHelper(Options):
|
|||||||
_add_cmd(cmd_list, '--mingw64' if self.use_mingw else None)
|
_add_cmd(cmd_list, '--mingw64' if self.use_mingw else None)
|
||||||
_add_cmd(cmd_list, '--standalone' if self.standalone else None)
|
_add_cmd(cmd_list, '--standalone' if self.standalone else None)
|
||||||
|
|
||||||
_add_cmd(cmd_list, '--disable-ccache' if self.use_ccache else None)
|
_add_cmd(cmd_list, '--disable-ccache' if not self.use_ccache else None)
|
||||||
_add_cmd(cmd_list, '--show-progress' if self.show_progress else None)
|
_add_cmd(cmd_list, '--show-progress' if self.show_progress else None)
|
||||||
_add_cmd(cmd_list, '--show-memory' if self.show_memory else None)
|
_add_cmd(cmd_list, '--show-memory' if self.show_memory else None)
|
||||||
_add_cmd(cmd_list, '--assume-yes-for-download' if self.download_confirm else None)
|
_add_cmd(cmd_list, '--assume-yes-for-download' if self.download_confirm else None)
|
||||||
|
Loading…
Reference in New Issue
Block a user