Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lihuiba committed May 31, 2024
1 parent b466137 commit ca93f8e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.linux.compiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
-D PHOTON_ENABLE_FUSE=ON \
-D PHOTON_ENABLE_URING=ON \
-D PHOTON_ENABLE_EXTFS=ON \
-D PHOTON_BUILD_DEPENDENCIES=ON \
-D PHOTON_AIO_SOURCE="" \
-D PHOTON_ZLIB_SOURCE="" \
-D PHOTON_CURL_SOURCE="" \
-D PHOTON_OPENSSL_SOURCE="" \
-D PHOTON_GFLAGS_SOURCE="" \
-D PHOTON_GOOGLETEST_SOURCE="" \
-D PHOTON_URING_SOURCE=https://github.com/axboe/liburing/archive/refs/tags/liburing-2.3.tar.gz
# -D PHOTON_BUILD_DEPENDENCIES=ON \
# -D PHOTON_AIO_SOURCE="" \
# -D PHOTON_ZLIB_SOURCE="" \
# -D PHOTON_CURL_SOURCE="" \
# -D PHOTON_OPENSSL_SOURCE="" \
# -D PHOTON_GFLAGS_SOURCE="" \
# -D PHOTON_GOOGLETEST_SOURCE="" \
# -D PHOTON_URING_SOURCE=https://github.com/axboe/liburing/archive/refs/tags/liburing-2.3.tar.gz
cmake --build build -j $(nproc) --clean-first -- VERBOSE=1
ln -f common/checksum/test/checksum.in build/output/
Expand Down
3 changes: 2 additions & 1 deletion io/test/test-iouring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@ TEST(perf, DISABLED_read) {
class event_engine : public testing::Test {
protected:
void SetUp() override {
GTEST_ASSERT_EQ(0, photon::init(ci_ev_engine, photon::INIT_IO_NONE));
auto eng = photon::INIT_EVENT_DEFAULT - photon::INIT_EVENT_EPOLL;
GTEST_ASSERT_EQ(0, photon::init(eng, photon::INIT_IO_NONE));
#ifdef PHOTON_URING
engine = (ci_ev_engine == photon::INIT_EVENT_EPOLL) ? photon::new_epoll_cascading_engine()
: photon::new_iouring_cascading_engine();
Expand Down

0 comments on commit ca93f8e

Please sign in to comment.