MCPcopy Create free account
hub / github.com/boostorg/build / cpu_flags

Function cpu_flags

v2/tools/gcc.py:697–707  ·  view source on GitHub ↗
(toolset, variable, architecture, instruction_set, values, default=None)

Source from the content-addressed store, hash-verified

695 flags('gcc', 'FINDLIBS-SA', [], ['rt'])
696
697def cpu_flags(toolset, variable, architecture, instruction_set, values, default=None):
698 #FIXME: for some reason this fails. Probably out of date feature code
699## if default:
700## flags(toolset, variable,
701## ['<architecture>' + architecture + '/<instruction-set>'],
702## values)
703 flags(toolset, variable,
704 #FIXME: same as above
705 [##'<architecture>/<instruction-set>' + instruction_set,
706 '<architecture>' + architecture + '/<instruction-set>' + instruction_set],
707 values)
708
709# Set architecture/instruction-set options.
710#

Callers 1

gcc.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected