MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / set_tf_download_clang

Function set_tf_download_clang

configure.py:557–570  ·  view source on GitHub ↗

Set TF_DOWNLOAD_CLANG action_env.

(environ_cp)

Source from the content-addressed store, hash-verified

555
556
557def set_tf_download_clang(environ_cp):
558 """Set TF_DOWNLOAD_CLANG action_env."""
559 question = 'Do you wish to download a fresh release of clang? (Experimental)'
560 yes_reply = 'Clang will be downloaded and used to compile tensorflow.'
561 no_reply = 'Clang will not be downloaded.'
562 set_action_env_var(
563 environ_cp,
564 'TF_DOWNLOAD_CLANG',
565 None,
566 False,
567 question=question,
568 yes_reply=yes_reply,
569 no_reply=no_reply,
570 bazel_config_name='download_clang')
571
572
573def get_from_env_or_user_or_default(environ_cp, var_name, ask_for_var,

Callers 1

mainFunction · 0.85

Calls 1

set_action_env_varFunction · 0.85

Tested by

no test coverage detected