feat/support_fiber #2

Merged
tqcq merged 57 commits from feat/support_fiber into master 2024-06-21 10:33:52 +08:00
6 changed files with 15 additions and 13 deletions
Showing only changes of commit 9140f7d425 - Show all commits

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;
} }