Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .beman-tidy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

# This is the config file for beman-tidy, which checks compliance with the Beman Standard (https://github.com/bemanproject/beman/blob/main/docs/beman_standard.md)
# Check documentation for beman-tidy here:
# https://github.com/bemanproject/beman-tidy/blob/main/README.md

disabled_rules: []
ignored_paths:
- infra/
1 change: 1 addition & 0 deletions .github/workflows/doxygen-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: Doxygen GitHub Pages Deploy Action

on:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pre-commit-check.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: Lint Check (pre-commit)

on:
Expand Down
1 change: 1 addition & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# MD033/no-inline-html : Inline HTML : https://github.com/DavidAnson/markdownlint/blob/v0.35.0/doc/md033.md
# Disable inline html linter is needed for <details> <summary>
MD033: false
Expand Down
10 changes: 6 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
Expand Down Expand Up @@ -60,9 +61,10 @@ repos:
- id: black

# Beman Standard checking via beman-tidy
# - repo : https://github.com/bemanproject/beman-tidy
# rev: v0.5.1
# hooks:
# - id: beman-tidy
- repo: https://github.com/bemanproject/beman-tidy
rev: v0.5.2
hooks:
- id: beman-tidy
args: [".", "--verbose"]

exclude: 'infra/'
13 changes: 11 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ if(BEMAN_USE_MODULES)

# CMake requires the language standard to be specified as compile feature
# when a target provides C++23 modules and the target will be installed
add_library(${BEMAN_EXECUTION_TARGET_PREFIX} STATIC) # FIXME: only static yet! CK
add_library(beman::execution ALIAS ${BEMAN_EXECUTION_TARGET_PREFIX})
add_library(beman.execution STATIC) # FIXME: only static yet! CK
add_library(beman::execution ALIAS beman.execution)
target_compile_features(
${BEMAN_EXECUTION_TARGET_PREFIX}
PUBLIC cxx_std_${CMAKE_CXX_STANDARD}
Expand Down Expand Up @@ -106,6 +106,15 @@ option(

add_subdirectory(src/beman/execution)

if(NOT BEMAN_USE_MODULES)
add_library(beman.execution INTERFACE)
target_link_libraries(
beman.execution
INTERFACE ${BEMAN_EXECUTION_TARGET_NAME}
)
add_library(beman::execution ALIAS beman.execution)
endif()

#===============================================================================
# NOTE: this must be done before tests! CK
include(infra/cmake/beman-install-library.cmake)
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-->
# beman.execution: Building Block For Asynchronous Programs

<img src="https://github.com/bemanproject/beman/blob/main/images/logos/beman_logo-beman_library_under_development.png" style="width:5%; height:auto;">

![Library Status](https://raw.githubusercontent.com/bemanproject/beman/refs/heads/main/images/badges/beman_badge-beman_library_under_development.svg) ![Standard Target](https://github.com/bemanproject/beman/blob/main/images/badges/cpp26.svg) [![Coverage](https://coveralls.io/repos/github/bemanproject/execution/badge.svg?branch=main)](https://coveralls.io/github/bemanproject/execution?branch=main)
<!-- markdownlint-disable line-length -->
[![Library Status](https://raw.githubusercontent.com/bemanproject/beman/refs/heads/main/images/badges/beman_badge-beman_library_under_development.svg)](https://github.com/bemanproject/beman/blob/main/docs/beman_library_maturity_model.md#the-beman-library-maturity-model)
![Standard Target](https://github.com/bemanproject/beman/blob/main/images/badges/cpp26.svg) [![Coverage](https://coveralls.io/repos/github/bemanproject/execution/badge.svg?branch=main)](https://coveralls.io/github/bemanproject/execution?branch=main)
<!-- markdownlint-restore -->

`beman.execution` provides the basic vocabulary for asynchronous
programming as well as important algorithms implemented in terms
Expand Down
1 change: 1 addition & 0 deletions bin/mk-deps.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/python3
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

import re
import subprocess
Expand Down
1 change: 1 addition & 0 deletions bin/mk-doc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/python3
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

import re
import sys
Expand Down
1 change: 1 addition & 0 deletions examples/suspend_never.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#ifdef BEMAN_HAS_IMPORT_STD
import std;
#else
Expand Down
2 changes: 1 addition & 1 deletion include/beman/execution/detail/transform_sender.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// include/beman/execution/detail/transform_sender.hpp _*_C++_*_
// SPDX_License_Identifier: Apache_2.0 WITH LLVM_exception
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#ifndef INCLUDED_BEMAN_EXECUTION_DETAIL_TRANSFORM_SENDER
#define INCLUDED_BEMAN_EXECUTION_DETAIL_TRANSFORM_SENDER
Expand Down
Loading