Skip to content
Snippets Groups Projects
Unverified Commit 49b95c0d authored by daquexian's avatar daquexian Committed by GitHub
Browse files

upload core when build with clang plugin (#5384)


* upload clang plugin log

Signed-off-by: default avatardaquexian <daquexian566@gmail.com>

* set build type to RelWithDebInfo

Signed-off-by: default avatardaquexian <daquexian566@gmail.com>
parent 91754928
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ jobs:
cd tools/clang-plugin
mkdir build
cd build
cmake .. -DCP_LLVM_INSTALL_DIR=/usr/lib/llvm-12
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCP_LLVM_INSTALL_DIR=/usr/lib/llvm-12
make -j$(nproc)
clang_plugin_path="${PWD}/lib/libCheckUnusedMaybe.so"
ldd ${clang_plugin_path}
......@@ -142,6 +142,18 @@ jobs:
run: |
cd build
cmake --build . -j$(nproc)
- name: Tar core
if: always()
run: |
set -ex
tar -cvf build_core.tar ${PWD}/build/core.*
- name: Upload core
if: always()
uses: actions/upload-artifact@v2
with:
name: core-build-oneflow-with-clang-plugin
path: |
build.tar
wait_for_gpu_slot:
name: Wait for GPU slots
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment