Searched refs:GIT_VERSION (Results 1 – 16 of 16) sorted by relevance
11 # get_git_version(GIT_VERSION)26 OUTPUT_VARIABLE GIT_VERSION29 set(GIT_VERSION "v0.0.0") variable31 string(STRIP ${GIT_VERSION} GIT_VERSION)32 string(REGEX REPLACE "-[0-9]+-g" "-" GIT_VERSION ${GIT_VERSION})46 set(GIT_VERSION "${GIT_VERSION}-dirty") variable49 set(GIT_VERSION "v0.0.0") variable52 message(STATUS "git Version: ${GIT_VERSION}")53 set(${var} ${GIT_VERSION} PARENT_SCOPE)
36 GIT_VERSION=$(cd "$SRCDIR" && git status > /dev/null 2>&1 \38 GIT_VERSION=${GIT_VERSION#v}40 if [ -n "$GIT_VERSION" ]; then42 [ "$GIT_VERSION" != "$PACKAGE_VERSION" ] || exit 143 PACKAGE_VERSION="$GIT_VERSION"
23 GIT_VERSION=$(git describe --long --tags)25 GIT_VERSION=unknown;30 const char* tf_git_version() {return "${GIT_VERSION}";}
24 tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"` 2. TF 2.0: `python -c25 "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"`
8 name: "GIT_VERSION"
72 name: "GIT_VERSION"
37 GIT_VERSION = __git_version__ variable
49 self.assertEqual(type(versions.GIT_VERSION), str)
109 test_set_git_version(GIT_VERSION); in test_harness()
10 GIT_VERSION = $(shell git describe --always --long --dirty || echo "unknown") macro
120 print("tf.version.GIT_VERSION = %s" % tf.version.GIT_VERSION)
35 python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
78 get_git_version(GIT_VERSION)81 string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" VERSION ${GIT_VERSION})
82 get_git_version(GIT_VERSION)85 string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" VERSION ${GIT_VERSION})