Skip to content

Commit 6a6462e

Browse files
authored
[infra] Trim trailing whitespace (#16324)
This commit removes trailing whitespace from all files in infra directory. ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
1 parent 78a42cb commit 6a6462e

15 files changed

Lines changed: 34 additions & 35 deletions

infra/cmake/packages/CaffeSource.patch

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,5 @@ index 5295d9dd..f71553c9 100644
88
CodedInputStream* coded_input = new CodedInputStream(raw_input);
99
- coded_input->SetTotalBytesLimit(kProtoReadBytesLimit, 536870912);
1010
+ coded_input->SetTotalBytesLimit(kProtoReadBytesLimit);
11-
11+
1212
bool success = proto->ParseFromCodedStream(coded_input);
13-

infra/cmake/packages/H5Tinit.c.linux-armv7l

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* architecture. The parameters below should be
2727
* checked carefully and errors reported to the
2828
* HDF5 maintainer.
29-
*
29+
*
3030
* Each of the numeric formats listed below are
3131
* printed from most significant bit to least
3232
* significant bit even though the actual bytes
@@ -36,7 +36,7 @@
3636
* memory; little-endian machines have
3737
* decreasing numbers while big-endian machines
3838
* have increasing numbers.
39-
*
39+
*
4040
* The fields of the numbers are printed as
4141
* letters with `S' for the mantissa sign bit,
4242
* `M' for the mantissa magnitude, and `E' for
@@ -48,7 +48,7 @@
4848
* of these categories is printed as a question
4949
* mark. Bits of integer types are printed as
5050
* `I' for 2's complement and `U' for magnitude.
51-
*
51+
*
5252
* If the most significant bit of the normalized
5353
* mantissa (always a `1' except for `0.0') is
5454
* not stored then an `implicit=yes' appears
@@ -123,7 +123,7 @@
123123
/*******************/
124124

125125

126-
126+
127127
/*-------------------------------------------------------------------------
128128
* Function: H5TN_init_interface
129129
*

infra/cmake/packages/HDF5Source.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ diff -r -u a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.c
5252
+endif(NOT CMAKE_CROSSCOMPILING)
5353
# ----------------------------------------------------------------------
5454
# Set the flag to indicate that the machine is using a special algorithm
55-
# to convert some values of '(unsigned) long' to 'long double' values.
55+
# to convert some values of '(unsigned) long' to 'long double' values.
5656
@@ -230,7 +240,12 @@
57-
# ..., 7fffff..., the compiler uses a unknown algorithm. We define a
57+
# ..., 7fffff..., the compiler uses a unknown algorithm. We define a
5858
# macro and skip the test for now until we know about the algorithm.
5959
#
6060
+if(NOT CMAKE_CROSSCOMPILING)
@@ -98,7 +98,7 @@ diff -r -u a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.c
9898
+ set(H5_NO_ALIGNMENT_RESTRICTIONS_RUN 0)
9999
+ set(H5_NO_ALIGNMENT_RESTRICTIONS_COMPILE TRUE)
100100
+endif(NOT CMAKE_CROSSCOMPILING)
101-
101+
102102
# -----------------------------------------------------------------------
103103
# wrapper script variables
104104
diff -r -u a/config/cmake_ext_mod/ConfigureChecks.cmake b/config/cmake_ext_mod/ConfigureChecks.cmake
@@ -160,7 +160,7 @@ diff -r -u a/config/cmake_ext_mod/ConfigureChecks.cmake b/config/cmake_ext_mod/C
160160
+ set (${HDF_PREFIX}_PRINTF_LL "L")
161161
+ set (PRINT_LL_FOUND 1)
162162
+ endif(NOT CMAKE_CROSSCOMPILING)
163-
163+
164164
if (PRINT_LL_FOUND)
165165
message (STATUS "Checking for appropriate format for 64 bit long: found ${${HDF_PREFIX}_PRINTF_LL_WIDTH}")
166166
diff -r -u a/src/CMakeLists.txt b/src/CMakeLists.txt
@@ -169,7 +169,7 @@ diff -r -u a/src/CMakeLists.txt b/src/CMakeLists.txt
169169
@@ -616,6 +616,7 @@
170170
target_link_libraries (H5detect "ws2_32.lib")
171171
endif (MSVC OR MINGW)
172-
172+
173173
+if (NOT CMAKE_CROSSCOMPILING)
174174
set (CMD $<TARGET_FILE:H5detect>)
175175
add_custom_command (
@@ -179,12 +179,12 @@ diff -r -u a/src/CMakeLists.txt b/src/CMakeLists.txt
179179
DEPENDS H5detect
180180
)
181181
+endif (NOT CMAKE_CROSSCOMPILING)
182-
182+
183183
add_executable (H5make_libsettings ${HDF5_SRC_DIR}/H5make_libsettings.c)
184184
TARGET_C_PROPERTIES (H5make_libsettings STATIC " " " ")
185185
@@ -631,6 +633,10 @@
186186
endif (MSVC OR MINGW)
187-
187+
188188
set (CMD $<TARGET_FILE:H5make_libsettings>)
189189
+# for cross compile
190190
+if (DEFINED ENV{EXTERNAL_H5MAKE_LIBSETTINGS})

infra/cmake/packages/LLVMConfig.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ function(_LLVM_import)
2323
# get llvm link options
2424
execute_process(COMMAND ${llvm_config} --ldflags OUTPUT_VARIABLE
2525
LLVM_LINKFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE)
26-
execute_process(COMMAND ${llvm_config} --system-libs
26+
execute_process(COMMAND ${llvm_config} --system-libs
2727
OUTPUT_VARIABLE LLVM_LINKSYSLIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
2828
execute_process(COMMAND ${llvm_config} --libs core mcjit native
2929
OUTPUT_VARIABLE LLVM_LINKLIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
30-
30+
3131
add_library(llvm INTERFACE)
32-
32+
3333
foreach(ONE_CPPFLAG ${LLVM_CPPFLAGS})
3434
target_compile_options(llvm INTERFACE ${ONE_CPPFLAG})
3535
endforeach()
3636
target_link_libraries(llvm INTERFACE ${LLVM_LINKFLAGS})
3737
target_link_libraries(llvm INTERFACE ${LLVM_LINKLIBS})
3838
target_link_libraries(llvm INTERFACE ${LLVM_LINKSYSLIBS})
39-
39+
4040
endif(NOT TARGET llvm)
4141

4242
set(LLVM_FOUND TRUE PARENT_SCOPE)

infra/debian/compiler/changelog

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
one (1.30.0) focal jammy noble; urgency=medium
22

3-
* Support more optimization option(s): `--dynamic_batch_to_single_batch`,
3+
* Support more optimization option(s): `--dynamic_batch_to_single_batch`,
44
`--fuse_rmsnorm`, `--fuse_rope`, `--fuse_rsqrt`.
5-
* Introduce _one-import-pytorch_ for direct PyTorch import that converts
5+
* Introduce _one-import-pytorch_ for direct PyTorch import that converts
66
PyTorch modules straight to Circle.
77
* Support MX (microscaling) data type.
8-
* Introduce _circle-mlir_ that converts new ops (e.g., ConvTranspose2D,
9-
DepthwiseConv2D, ArgMax, Reduce*, Resize, Pooling, GELU, Sigmoid, Softmax,
8+
* Introduce _circle-mlir_ that converts new ops (e.g., ConvTranspose2D,
9+
DepthwiseConv2D, ArgMax, Reduce*, Resize, Pooling, GELU, Sigmoid, Softmax,
1010
Slice/StridedSlice, Select, Gather, BatchMatMul) and validates shape inference.
11-
* ONNX is converted from new _circle-mlir/onnx2circle_ tool (onnx-tf tool
11+
* ONNX is converted from new _circle-mlir/onnx2circle_ tool (onnx-tf tool
1212
is deprecated)
13-
* _luci-interpreter_ handles scalar indices in Gather and additional element
13+
* _luci-interpreter_ handles scalar indices in Gather and additional element
1414
types across several kernels.
15-
* Ubuntu22.04 with python3.10 is official supported platform, python3.10 is
15+
* Ubuntu22.04 with python3.10 is official supported platform, python3.10 is
1616
necessary for Ubuntu20.04 and Ubuntu24.04 with python3.12 is experimentally supported.
17-
* Python packages are upgraded to TensorFlow 2.19.0, ONNX 1.18.0,
17+
* Python packages are upgraded to TensorFlow 2.19.0, ONNX 1.18.0,
1818
ONNXRuntime 1.21.1, Torch 2.7.0.
1919

2020
-- seongwoo <mhs4670go@naver.com> Tue, 01 Jul 2025 13:51:37 +0900

infra/packaging/preset/20200616_windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function preset_install()
5454
install -T -m 755 -D "${SCRIPT_PATH}/res/tf2nnpkg.${PRESET}" "${NNAS_INSTALL_PREFIX}/bin/tf2nnpkg"
5555

5656
# Though you have to install tensorflow to run 'tf2tfliteV2',
57-
# tensorflow can't be installed in mingw. First, You can install tensorflow
57+
# tensorflow can't be installed in mingw. First, You can install tensorflow
5858
# from Window native CMD(run as administrator) with python virtual environment.
5959
# And, you must copy it to "${NNAS_INSTALL_PREFIX}/bin/venv"
6060
}

infra/packaging/preset/20200731_windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function preset_install()
5959
install -T -m 755 -D "${SCRIPT_PATH}/res/tf2nnpkg.20200630" "${NNAS_INSTALL_PREFIX}/bin/tf2nnpkg"
6060

6161
# Though you have to install tensorflow to run 'tf2tfliteV2',
62-
# tensorflow can't be installed in mingw. First, You can install tensorflow
62+
# tensorflow can't be installed in mingw. First, You can install tensorflow
6363
# from Window native CMD(run as administrator) with python virtual environment.
6464
# And, you must copy it to "${NNAS_INSTALL_PREFIX}/bin/venv"
6565
}

infra/packaging/preset/20210406_windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function preset_install()
6161
install -T -m 755 -D "${SCRIPT_PATH}/res/tf2nnpkg.20210406" "${NNAS_INSTALL_PREFIX}/bin/tf2nnpkg"
6262

6363
# Though you have to install tensorflow to run 'tf2tfliteV2',
64-
# tensorflow can't be installed in mingw. First, You can install tensorflow
64+
# tensorflow can't be installed in mingw. First, You can install tensorflow
6565
# from Window native CMD(run as administrator) with python virtual environment.
6666
# And, you must copy it to "${NNAS_INSTALL_PREFIX}/bin/venv"
6767
}

infra/packaging/preset/20210706_windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function preset_install()
6161
install -T -m 755 -D "${SCRIPT_PATH}/res/tf2nnpkg.20210706" "${NNAS_INSTALL_PREFIX}/bin/tf2nnpkg"
6262

6363
# Though you have to install tensorflow to run 'tf2tfliteV2',
64-
# tensorflow can't be installed in mingw. First, You can install tensorflow
64+
# tensorflow can't be installed in mingw. First, You can install tensorflow
6565
# from Window native CMD(run as administrator) with python virtual environment.
6666
# And, you must copy it to "${NNAS_INSTALL_PREFIX}/bin/venv"
6767
}

infra/packaging/preset/20210910_windows

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function preset_install()
6161
install -T -m 755 -D "${SCRIPT_PATH}/res/tf2nnpkg.20210910" "${NNAS_INSTALL_PREFIX}/bin/tf2nnpkg"
6262

6363
# Though you have to install tensorflow to run 'tf2tfliteV2',
64-
# tensorflow can't be installed in mingw. First, You can install tensorflow
64+
# tensorflow can't be installed in mingw. First, You can install tensorflow
6565
# from Window native CMD(run as administrator) with python virtual environment.
6666
# And, you must copy it to "${NNAS_INSTALL_PREFIX}/bin/venv"
6767
}

0 commit comments

Comments
 (0)