Skip to content

Commit 6a613ad

Browse files
committed
Move PROJECT_VERSION to tensorflow_cc folder
1 parent efe7572 commit 6a613ad

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed
File renamed without changes.

Dockerfiles/install-archlinux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pacman -S --noconfirm --needed \
2929
protobuf \
3030
unzip \
3131
zip
32-
export BAZEL_VERSION=${BAZEL_VERSION:-`cat ./tensorflow_cc/BAZEL_VERSION`}
32+
export BAZEL_VERSION=${BAZEL_VERSION:-`cat ./tensorflow_cc/Dockerfiles/BAZEL_VERSION`}
3333
bazel_installer=bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh
3434
wget -P /tmp https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/${bazel_installer}
3535
chmod +x /tmp/${bazel_installer}

Dockerfiles/install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ apt-get -y install \
3535
wget
3636

3737
# install bazel
38-
export BAZEL_VERSION=${BAZEL_VERSION:-`cat ./tensorflow_cc/BAZEL_VERSION`}
38+
export BAZEL_VERSION=${BAZEL_VERSION:-`cat ./tensorflow_cc/Dockerfiles/BAZEL_VERSION`}
3939
apt-get -y install pkg-config zip g++ zlib1g-dev unzip python
4040
bazel_installer=bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh
4141
wget -P /tmp https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/${bazel_installer}

tensorflow_cc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.3 FATAL_ERROR)
2-
file(READ "PROJECT_VERSION" version)
2+
file(READ "${CMAKE_CURRENT_SOURCE_DIR}/PROJECT_VERSION" version)
33
project(
44
"tensorflow_cc"
55
VERSION "${version}"
File renamed without changes.

0 commit comments

Comments
 (0)