Merge branch 'feat/support_fiber' of code.uocat.com:tqcq/tile into feat/support_fiber
All checks were successful
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 2m39s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 4m20s
linux-x86-gcc / linux-gcc (Debug) (push) Successful in 2m19s
linux-x86-gcc / linux-gcc (Release) (push) Successful in 2m23s

This commit is contained in:
tqcq 2024-06-20 23:36:02 +08:00
commit 9140f7d425
6 changed files with 15 additions and 13 deletions

View File

@ -53,6 +53,6 @@ jobs:
- name: test - name: test
run: |- run: |-
cd build cd build
sudo ln -sf /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 /lib/ld-linux-aarch64.so.1 # sudo ln -sf /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 /lib/ld-linux-aarch64.so.1
export LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/lib # export LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/lib
ctest --output-on-failure -j $(nproc) ctest --output-on-failure -j $(nproc)

View File

@ -51,8 +51,8 @@ jobs:
- name: test - name: test
run: | run: |
cd build cd build
sudo ln -sf /usr/arm-linux-gnueabi/lib/ld-linux.so.3 /lib/ld-linux.so.3 #sudo ln -sf /usr/arm-linux-gnueabi/lib/ld-linux.so.3 /lib/ld-linux.so.3
export LD_LIBRARY_PATH=/usr/arm-linux-gnueabi/lib #export LD_LIBRARY_PATH=/usr/arm-linux-gnueabi/lib
ctest --output-on-failure -j $(nproc) ctest --output-on-failure -j $(nproc)
linux-gcc-armhf: linux-gcc-armhf:
@ -79,6 +79,6 @@ jobs:
- name: test - name: test
run: |- run: |-
cd build cd build
sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3 # sudo ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3
export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib/ #export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib/
ctest --output-on-failure -j $(nproc) ctest --output-on-failure -j $(nproc)

View File

@ -48,6 +48,6 @@ jobs:
- name: test - name: test
run: |- run: |-
cd build cd build
sudo ln -sf /usr/mipsel-linux-gnu/lib/ld.so.1 /lib/ld.so.1 # sudo ln -sf /usr/mipsel-linux-gnu/lib/ld.so.1 /lib/ld.so.1
export LD_LIBRARY_PATH=/usr/mipsel-linux-gnu/lib/ # export LD_LIBRARY_PATH=/usr/mipsel-linux-gnu/lib/
ctest --output-on-failure -j $(nproc) ctest --output-on-failure -j $(nproc)

View File

@ -49,6 +49,6 @@ jobs:
- name: test - name: test
run: |- run: |-
cd build cd build
sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64/ld.so.1 # sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64/ld.so.1
export LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib # export LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib
ctest --output-on-failure -j $(nproc) ctest --output-on-failure -j $(nproc)

View File

@ -50,6 +50,6 @@ jobs:
- name: test - name: test
run: |- run: |-
cd build cd build
sudo ln -sf /usr/riscv64-linux-gnu/lib/ld-linux-riscv64-lp64d.so.1 /lib/ld-linux-riscv64-lp64d.so.1 # sudo ln -sf /usr/riscv64-linux-gnu/lib/ld-linux-riscv64-lp64d.so.1 /lib/ld-linux-riscv64-lp64d.so.1
export LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib # export LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib
ctest --output-on-failure -j $(nproc) ctest --output-on-failure -j $(nproc)

View File

@ -53,6 +53,7 @@ int Start(int argc, char **argv, std::function<int(int, char **)> cb,
google::InstallFailureSignalHandler(); google::InstallFailureSignalHandler();
} }
gflags::SetVersionString("0.1.0");
gflags::ParseCommandLineFlags(&argc, &argv, true); gflags::ParseCommandLineFlags(&argc, &argv, true);
detail::ApplyFlagOverrider(); detail::ApplyFlagOverrider();
@ -88,8 +89,9 @@ int Start(int argc, char **argv, std::function<int(int, char **)> cb,
detail::RunAllFinalizers(); detail::RunAllFinalizers();
TerminateBasicRuntime(); TerminateBasicRuntime();
gflags::ShutDownCommandLineFlags();
TILE_LOG_INFO("Exited"); TILE_LOG_INFO("Exited");
return rc; return rc;
} }