Skip to content

Commit f454059

Browse files
committed
Addressed review comments to consolidate tbb_root path
1 parent 5de71ec commit f454059

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

build_scripts/build_usd.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,9 +1037,7 @@ def InstallTBB_Windows(context, force, buildArgs):
10371037
),
10381038
(
10391039
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)",
1040-
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)\n" +
1041-
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)\n" +
1042-
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)"
1040+
"get_filename_component(_tbb_root \"${_tbb_root}/../..\" ABSOLUTE)"
10431041
),
10441042
(
10451043
"get_filename_component(_tbb_lib_path \"${_tbb_root}/bin/${_tbb_arch_subdir}/${_tbb_compiler_subdir}\" ABSOLUTE)",
@@ -1180,9 +1178,7 @@ def _RunBuild(arch):
11801178
),
11811179
(
11821180
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)",
1183-
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)\n" +
1184-
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)\n" +
1185-
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)"
1181+
"get_filename_component(_tbb_root \"${_tbb_root}/../..\" ABSOLUTE)"
11861182
),
11871183
(
11881184
"get_filename_component(_tbb_lib_path \"${_tbb_root}/lib/${_tbb_arch_subdir}/${_tbb_compiler_subdir}\" ABSOLUTE)",
@@ -1256,9 +1252,7 @@ def InstallTBB_Linux(context, force, buildArgs):
12561252
),
12571253
(
12581254
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)",
1259-
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)\n" +
1260-
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)\n" +
1261-
"get_filename_component(_tbb_root \"${_tbb_root}\" PATH)"
1255+
"get_filename_component(_tbb_root \"${_tbb_root}/../..\" ABSOLUTE)"
12621256
),
12631257
(
12641258
"get_filename_component(_tbb_lib_path \"${_tbb_root}/lib/${_tbb_arch_subdir}/${_tbb_compiler_subdir}\" ABSOLUTE)",

0 commit comments

Comments
 (0)