Skip to content

Commit

Permalink
Re-add PHOTON_BUILD_DEPENDENCIES in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
beef9999 committed Oct 26, 2024
1 parent 693f540 commit 7700f0d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.linux.arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
ctest -E test-lockfree --timeout 3600 -V
pkill redis-server
gcc921-build-debug:
gcc921-debug-build-from-source:
runs-on: [self-hosted, Linux, ARM64]

container:
Expand All @@ -63,9 +63,10 @@ jobs:
source /opt/rh/gcc-toolset-9/enable
cmake -B build \
-D CMAKE_BUILD_TYPE=Debug \
-D PHOTON_BUILD_DEPENDENCIES=ON \
-D PHOTON_ENABLE_ECOSYSTEM=ON \
-D PHOTON_BUILD_TESTING=ON \
-D PHOTON_ENABLE_SASL=ON \
-D PHOTON_ENABLE_FUSE=ON \
-D PHOTON_ENABLE_EXTFS=ON
-D PHOTON_ENABLE_URING=ON
cmake --build build -j $(nproc) -- VERBOSE=1
9 changes: 8 additions & 1 deletion CMake/Finduring.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
set(URING_VERSION 2.3)

find_path(URING_INCLUDE_DIRS liburing.h)

find_library(URING_LIBRARIES uring)

find_package_handle_standard_args(uring DEFAULT_MSG URING_LIBRARIES URING_INCLUDE_DIRS)

mark_as_advanced(URING_INCLUDE_DIRS URING_LIBRARIES)
mark_as_advanced(URING_INCLUDE_DIRS URING_LIBRARIES)

get_filename_component(URING_LIB_BASE ${URING_LIBRARIES} DIRECTORY)
if (NOT EXISTS "${URING_LIB_BASE}/liburing.so.${URING_VERSION}")
message(FATAL_ERROR "Requires liburing ${URING_VERSION}. Install it to system or try -D PHOTON_BUILD_DEPENDENCIES=ON")
endif ()
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
[PhotonlibOS.github.io](https://photonlibos.github.io)

## What's New
* We present a article to illustrate why Photon's stackful coroutine is fast.
[link](https://photonlibos.github.io/blog/stackful-coroutine-made-fast)
* We present an article to illustrate the theory of Photon's coroutine.
[Stackful Coroutine Made Fast](https://photonlibos.github.io/blog/stackful-coroutine-made-fast)
* Version 0.8 has been released in August 2024
* Feb 2024,[中文文档](https://photonlibos.github.io/cn/docs/category/introduction)在官网上线了
* Since 0.7, Photon will use release branches to enhance the reliability of software delivery. Bugfix will be merged into a stable release at first, then to higher release versions, and finally main.
Expand Down
3 changes: 3 additions & 0 deletions doc/blog/2024-10-14-stackful-coroutine-made-fast.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ slug: stackful-coroutine-made-fast
title: Stackful Coroutine Made Fast
---

<a href="https://github.com/alibaba/PhotonLibOS/blob/main/doc/static/blog-20241014/Stackful_Coroutine_Made_Fast.pdf">
Download pdf</a>

<iframe src='/blog-20241014/stackful-coroutine-made-fast.html' width="100%" height="30000"></iframe>

0 comments on commit 7700f0d

Please sign in to comment.