Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
  • Loading branch information
JanuszL committed Oct 24, 2024
1 parent e4a536e commit a3d2a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dali_tf_plugin/dali_tf_plugin_install_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def build(self):
lib_path = os.path.join(self.plugin_dest_dir, lib_filename)

# for a newer TF we need to compiler with C++17
cpp_ver = "--std=c++14" if self.tf_version < Version("2.10") else "--std=c++17"
cpp_ver = "--std=c++14" if Version(self.tf_version) < Version("2.10") else "--std=c++17"
# Note: DNDEBUG flag is needed due to issue with TensorFlow custom ops:
# https://github.com/tensorflow/tensorflow/issues/17316
# Do not remove it.
Expand Down

0 comments on commit a3d2a55

Please sign in to comment.