File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 45
45
46
46
CLANG_VERSION=${{ inputs.clang_version }}
47
47
CLANG_MAJOR_MINOR_VERSION=$(echo "$CLANG_VERSION" | cut -d. -f1-2)
48
+ clang_major=$(echo "$CLANG_VERSION" | cut -d '.' -f 1)
48
49
echo "CLANG_VERSION=$CLANG_VERSION" >> $GITHUB_ENV
49
50
echo "CLANG_MAJOR_MINOR_VERSION=$CLANG_MAJOR_MINOR_VERSION" >> $GITHUB_ENV
51
+ echo "clang_major=$clang_major" >> $GITHUB_ENV
50
52
51
53
RELEASE_TAG="clang-${{ inputs.clang_version }}"
52
54
if [ -n "${{ inputs.github_tag }}" ]; then
67
69
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION="on" \
68
70
-DLLVM_ENABLE_PROJECTS="clang;lld" \
69
71
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind;compiler-rt" \
70
- -DLLVM_DISTRIBUTION_COMPONENTS="clang-resource-headers;libclang " \
72
+ -DLLVM_DISTRIBUTION_COMPONENTS="clang-resource-headers" \
71
73
-DLLVM_ENABLE_LTO=Thin \
72
74
-DLLVM_ENABLE_PIC=ON \
73
75
-DLLVM_ENABLE_THREADS=ON \
You can’t perform that action at this time.
0 commit comments