Skip to content

Commit a9a865e

Browse files
authored
Remove trailing spaces from workflow yml files, source files, test files and cmakelists.txt files (#539)
1 parent 10f5449 commit a9a865e

19 files changed

+143
-142
lines changed

.github/workflows/MacOS-arm.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
cling-version: '1.0'
5959
llvm_enable_projects: "clang"
6060
llvm_targets_to_build: "host;NVPTX"
61-
61+
6262
steps:
6363
- uses: actions/checkout@v4
6464
with:
6565
fetch-depth: 0
6666

67-
- name: Set up Python
67+
- name: Set up Python
6868
uses: actions/setup-python@v5
6969
with:
7070
python-version: '3.11'
@@ -87,7 +87,7 @@ jobs:
8787
fi
8888
8989
echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
90-
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
90+
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
9191
9292
- name: Restore Cache LLVM/Clang runtime build directory
9393
uses: actions/cache/restore@v4
@@ -116,7 +116,7 @@ jobs:
116116
echo "CXX=g++-${vers}" >> $GITHUB_ENV
117117
else
118118
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
119-
if [[ "${cling_on}" == "ON" ]]; then
119+
if [[ "${cling_on}" == "ON" ]]; then
120120
brew install llvm@15
121121
brew remove llvm@18
122122
brew cleanup
@@ -147,7 +147,7 @@ jobs:
147147
brew unlink "$pkg"
148148
brew link --overwrite "$pkg"
149149
done
150-
brew upgrade openssl >/dev/null 2>&1
150+
brew upgrade openssl >/dev/null 2>&1
151151
brew upgrade
152152
brew install ninja
153153
@@ -157,7 +157,7 @@ jobs:
157157
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
158158
if [[ "${cling_on}" == "ON" ]]; then
159159
git clone https://github.com/root-project/cling.git
160-
cd ./cling
160+
cd ./cling
161161
git checkout tags/v${{ matrix.cling-version }}
162162
cd ..
163163
git clone --depth=1 -b cling-llvm${{ matrix.clang-runtime }} https://github.com/root-project/llvm-project.git
@@ -288,7 +288,7 @@ jobs:
288288
with:
289289
fetch-depth: 0
290290

291-
- name: Set up Python
291+
- name: Set up Python
292292
uses: actions/setup-python@v5
293293
with:
294294
python-version: '3.11'
@@ -328,7 +328,7 @@ jobs:
328328
echo "CXX=g++-${vers}" >> $GITHUB_ENV
329329
else
330330
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
331-
if [[ "${cling_on}" == "ON" ]]; then
331+
if [[ "${cling_on}" == "ON" ]]; then
332332
brew install llvm@15
333333
brew remove llvm@18
334334
brew cleanup
@@ -351,19 +351,19 @@ jobs:
351351

352352
- name: Install deps
353353
run: |
354-
brew update --force
354+
brew update --force
355355
brew remove unxip
356356
# workaround for https://github.com/actions/setup-python/issues/577
357357
for pkg in $(brew list | grep '^python@'); do
358358
brew unlink "$pkg"
359359
brew link --overwrite "$pkg"
360360
done
361-
brew upgrade --force
361+
brew upgrade --force
362362
brew install eigen
363363
brew install boost
364364
brew install gnu-sed
365365
pip install distro pytest
366-
366+
367367
368368
- name: Restore Cache LLVM/Clang runtime build directory
369369
uses: actions/cache/restore@v4
@@ -442,7 +442,7 @@ jobs:
442442
cmake --build . --parallel ${{ env.ncpus }}
443443
cp libcppyy-backend.dylib $CPPINTEROP_DIR/lib/
444444
cd ..
445-
445+
446446
- name: Install CPyCppyy
447447
if: ${{ matrix.cppyy == 'On' }}
448448
run: |
@@ -529,7 +529,7 @@ jobs:
529529
tail -n1 test_xfailed.log
530530
echo "Return Code: ${RETCODE}"
531531
exit $RETCODE
532-
532+
533533
- name: Show debug info
534534
if: ${{ failure() }}
535535
run: |

.github/workflows/MacOS.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ jobs:
5858
cling-version: '1.0'
5959
llvm_enable_projects: "clang"
6060
llvm_targets_to_build: "host;NVPTX"
61-
61+
6262
steps:
6363
- uses: actions/checkout@v4
6464
with:
6565
fetch-depth: 0
6666

67-
- name: Set up Python
67+
- name: Set up Python
6868
uses: actions/setup-python@v5
6969
with:
7070
python-version: '3.11'
@@ -87,7 +87,7 @@ jobs:
8787
fi
8888
8989
echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
90-
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
90+
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
9191
9292
- name: Restore Cache LLVM/Clang runtime build directory
9393
uses: actions/cache/restore@v4
@@ -131,7 +131,7 @@ jobs:
131131
brew unlink "$pkg"
132132
brew link --overwrite "$pkg"
133133
done
134-
brew upgrade openssl >/dev/null 2>&1
134+
brew upgrade openssl >/dev/null 2>&1
135135
brew upgrade
136136
brew install ninja
137137
@@ -141,7 +141,7 @@ jobs:
141141
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
142142
if [[ "${cling_on}" == "ON" ]]; then
143143
git clone https://github.com/root-project/cling.git
144-
cd ./cling
144+
cd ./cling
145145
git checkout tags/v${{ matrix.cling-version }}
146146
cd ..
147147
git clone --depth=1 -b cling-llvm${{ matrix.clang-runtime }} https://github.com/root-project/llvm-project.git
@@ -272,7 +272,7 @@ jobs:
272272
with:
273273
fetch-depth: 0
274274

275-
- name: Set up Python
275+
- name: Set up Python
276276
uses: actions/setup-python@v5
277277
with:
278278
python-version: '3.11'
@@ -320,19 +320,19 @@ jobs:
320320

321321
- name: Install deps
322322
run: |
323-
brew update --force
323+
brew update --force
324324
brew remove swiftlint
325325
# workaround for https://github.com/actions/setup-python/issues/577
326326
for pkg in $(brew list | grep '^python@'); do
327327
brew unlink "$pkg"
328328
brew link --overwrite "$pkg"
329329
done
330-
brew upgrade --force
330+
brew upgrade --force
331331
brew install eigen
332332
brew install boost
333333
brew install gnu-sed
334334
pip install distro pytest
335-
335+
336336
337337
- name: Restore Cache LLVM/Clang runtime build directory
338338
uses: actions/cache/restore@v4
@@ -411,7 +411,7 @@ jobs:
411411
cmake --build . --parallel ${{ env.ncpus }}
412412
cp libcppyy-backend.dylib $CPPINTEROP_DIR/lib/
413413
cd ..
414-
414+
415415
- name: Install CPyCppyy
416416
if: ${{ matrix.cppyy == 'On' }}
417417
run: |
@@ -498,7 +498,7 @@ jobs:
498498
tail -n1 test_xfailed.log
499499
echo "Return Code: ${RETCODE}"
500500
exit $RETCODE
501-
501+
502502
- name: Show debug info
503503
if: ${{ failure() }}
504504
run: |

.github/workflows/Ubuntu-arm.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ jobs:
9494
cling-version: '1.0'
9595
llvm_enable_projects: "clang"
9696
llvm_targets_to_build: "host;NVPTX"
97-
97+
9898
steps:
9999
- uses: actions/checkout@v4
100100
with:
101101
fetch-depth: 0
102102

103-
- name: Set up Python
103+
- name: Set up Python
104104
uses: actions/setup-python@v5
105105
with:
106106
python-version: '3.11'
@@ -123,7 +123,7 @@ jobs:
123123
fi
124124
125125
echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
126-
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
126+
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
127127
128128
- name: Restore Cache LLVM/Clang runtime build directory
129129
uses: actions/cache/restore@v4
@@ -181,7 +181,7 @@ jobs:
181181
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
182182
if [[ "${cling_on}" == "ON" ]]; then
183183
git clone https://github.com/root-project/cling.git
184-
cd ./cling
184+
cd ./cling
185185
git checkout tags/v${{ matrix.cling-version }}
186186
cd ..
187187
git clone --depth=1 -b cling-llvm${{ matrix.clang-runtime }} https://github.com/root-project/llvm-project.git
@@ -343,7 +343,7 @@ jobs:
343343
with:
344344
fetch-depth: 0
345345

346-
- name: Set up Python
346+
- name: Set up Python
347347
uses: actions/setup-python@v5
348348
with:
349349
python-version: '3.11'
@@ -409,7 +409,7 @@ jobs:
409409
# Install libraries used by the cppyy test suite
410410
sudo apt install libeigen3-dev
411411
sudo apt install libboost-all-dev
412-
412+
413413
414414
- name: Restore Cache LLVM/Clang runtime build directory
415415
uses: actions/cache/restore@v4
@@ -522,7 +522,7 @@ jobs:
522522
cmake --build . --parallel ${{ env.ncpus }}
523523
cp libcppyy-backend.so $CPPINTEROP_DIR/lib/
524524
cd ..
525-
525+
526526
- name: Install CPyCppyy
527527
if: ${{ matrix.cppyy == 'On' }}
528528
run: |
@@ -596,7 +596,7 @@ jobs:
596596
declare -i RETCODE=0
597597
598598
set -o pipefail
599-
599+
600600
echo "Running valgrind on passing tests"
601601
CLANG_VERSION="${{ matrix.clang-runtime }}"
602602
SUPPRESSION_FILE="../etc/clang${CLANG_VERSION}-valgrind_arm.supp"
@@ -614,7 +614,7 @@ jobs:
614614
tail -n1 test_xfailed.log
615615
echo "Return Code: ${RETCODE}"
616616
exit $RETCODE
617-
617+
618618
- name: Show debug info
619619
if: ${{ failure() }}
620620
run: |

.github/workflows/Ubuntu.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ jobs:
9494
cling-version: '1.0'
9595
llvm_enable_projects: "clang"
9696
llvm_targets_to_build: "host;NVPTX"
97-
97+
9898
steps:
9999
- uses: actions/checkout@v4
100100
with:
101101
fetch-depth: 0
102102

103-
- name: Set up Python
103+
- name: Set up Python
104104
uses: actions/setup-python@v5
105105
with:
106106
python-version: '3.11'
@@ -123,7 +123,7 @@ jobs:
123123
fi
124124
125125
echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
126-
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
126+
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
127127
128128
- name: Restore Cache LLVM/Clang runtime build directory
129129
uses: actions/cache/restore@v4
@@ -181,7 +181,7 @@ jobs:
181181
cling_on=$(echo "${{ matrix.cling }}" | tr '[:lower:]' '[:upper:]')
182182
if [[ "${cling_on}" == "ON" ]]; then
183183
git clone https://github.com/root-project/cling.git
184-
cd ./cling
184+
cd ./cling
185185
git checkout tags/v${{ matrix.cling-version }}
186186
cd ..
187187
git clone --depth=1 -b cling-llvm${{ matrix.clang-runtime }} https://github.com/root-project/llvm-project.git
@@ -351,7 +351,7 @@ jobs:
351351
with:
352352
fetch-depth: 0
353353

354-
- name: Set up Python
354+
- name: Set up Python
355355
uses: actions/setup-python@v5
356356
with:
357357
python-version: '3.11'
@@ -417,7 +417,7 @@ jobs:
417417
# Install libraries used by the cppyy test suite
418418
sudo apt install libeigen3-dev
419419
sudo apt install libboost-all-dev
420-
420+
421421
422422
- name: Restore Cache LLVM/Clang runtime build directory
423423
uses: actions/cache/restore@v4
@@ -530,7 +530,7 @@ jobs:
530530
cmake --build . --parallel ${{ env.ncpus }}
531531
cp libcppyy-backend.so $CPPINTEROP_DIR/lib/
532532
cd ..
533-
533+
534534
- name: Install CPyCppyy
535535
if: ${{ matrix.cppyy == 'On' }}
536536
run: |
@@ -604,7 +604,7 @@ jobs:
604604
declare -i RETCODE=0
605605
606606
set -o pipefail
607-
607+
608608
echo "Running valgrind on passing tests"
609609
CLANG_VERSION="${{ matrix.clang-runtime }}"
610610
SUPPRESSION_FILE="../etc/clang${CLANG_VERSION}-valgrind.supp"
@@ -622,7 +622,7 @@ jobs:
622622
tail -n1 test_xfailed.log
623623
echo "Return Code: ${RETCODE}"
624624
exit $RETCODE
625-
625+
626626
- name: Show debug info
627627
if: ${{ failure() }}
628628
run: |

0 commit comments

Comments
 (0)