File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -222,18 +222,9 @@ jobs:
222222 BUILD_TYPE="perf"
223223 fi
224224 # sed -i '/cmdline = \[.*bazel_subcommand.*\]/s/\(bazel_subcommand\)/\1, "--jobs=4"/' ./kernel_platform/msm-kernel/build_with_bazel.py
225- # sed -i '/"\${ROOT_DIR}\/build_with_bazel.py"/i EXTRA_KBUILD_ARGS+=" --jobs=4"' ./kernel_platform/msm-kernel/build_with_bazel.py
226- # LTO=thin ./kernel_platform/oplus/build/oplus_build_kernel.sh ${{ inputs.soc }} $BUILD_TYPE
227- cd kernel_platform
228- ./tools/bazel query //...
229- cd ..
230- ./kernel_platform/build_with_bazel.py \
231- -t ${{ inputs.soc }} \
232- $BUILD_TYPE \
233- --jobs=$(nproc --all) \
234- --verbose_failures \
235- --lto=thin \
236- -o "$(pwd)/out"
225+ sed -i '/"\${ROOT_DIR}\/build_with_bazel.py"/i EXTRA_KBUILD_ARGS+=" --jobs=4"' ./kernel_platform/msm-kernel/build_with_bazel.py
226+ export MAKEFLAGS="-j$(nproc)"
227+ LTO=thin ./kernel_platform/oplus/build/oplus_build_kernel.sh ${{ inputs.soc }} $BUILD_TYPE
237228
238229 - name : Copy Images
239230 run : |
You can’t perform that action at this time.
0 commit comments