Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added some components needed for sender concepts #5

Merged
merged 29 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
3fb1236
added some components needed for sender concepts
dietmarkuehl Aug 11, 2024
8e5d6d3
added exposition-only fwd_env()
dietmarkuehl Aug 17, 2024
cdec19d
added exposition-only make_env
dietmarkuehl Aug 17, 2024
c6f5eff
added exposition-only join_env()
dietmarkuehl Aug 17, 2024
5aa5622
added get_completion_scheduler, get_scheduler, sched_attrs, and sched…
dietmarkuehl Aug 17, 2024
dec9ddf
added default_domain
dietmarkuehl Aug 18, 2024
b7fd2a5
added schedule and scheduler (and starts on a few other components)
dietmarkuehl Aug 19, 2024
fc227dc
changed code to make g++ more happy
dietmarkuehl Aug 19, 2024
9c9ab7e
completed get_completion_scheduler to test for scheduler while not de…
dietmarkuehl Aug 20, 2024
50bfd64
added completion_domain implementation
dietmarkuehl Aug 21, 2024
4f3c973
fixed a leftover merge conflict
dietmarkuehl Aug 22, 2024
d90c6d8
added a file with component dependencies
dietmarkuehl Aug 24, 2024
96b5f8b
added default_impls
dietmarkuehl Aug 25, 2024
ea56d99
work-around for gcc apparently missing forward_like
dietmarkuehl Aug 25, 2024
af33377
fixed the forward_like work-around
dietmarkuehl Aug 25, 2024
7a16c7e
added impls_for
dietmarkuehl Aug 25, 2024
ea28d98
added state_type
dietmarkuehl Aug 25, 2024
fbd3d00
added basic_state
dietmarkuehl Aug 25, 2024
f61e9e1
added indices_for
dietmarkuehl Aug 25, 2024
effe6a1
added valid_specialization
dietmarkuehl Aug 25, 2024
bdbd3a8
added env_type
dietmarkuehl Aug 25, 2024
b99b5c1
added basic_receiver
dietmarkuehl Aug 25, 2024
e44eff7
added completion_tag
dietmarkuehl Aug 26, 2024
ecf1915
added get_domain_late tests
dietmarkuehl Aug 26, 2024
f9defa4
saving progress on transform_sender
dietmarkuehl Aug 26, 2024
fb1b9c5
added transform_sender
dietmarkuehl Aug 26, 2024
b80bcba
added schedule_result_t
dietmarkuehl Aug 26, 2024
3e345da
added env_of_t
dietmarkuehl Aug 26, 2024
0bb0f52
added a first version of connect() (coroutine stuff is missing)
dietmarkuehl Aug 26, 2024
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
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the plan to do cmake stuff later?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm ok there's a cmake file later....

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm using make to drive my builds even if the main work is done by cmake: the default target just runs cmake to build and test things. There are a few other target like a naïve dependency checker and something to build one header suitable for Compiler Explorer: I'd forget how to run these if I don't encode the "procedure" somewhere.

tl;dr: it uses cmake already! make is just a "convenience" frontend you don't have to use.


SANITIZERS = none msan asan usan tsan
.PHONY: default todo ce distclean clean build test all $(SANITIZERS)
.PHONY: default check ce todo distclean clean build test all $(SANITIZERS)

CXX_FLAGS = -g
SANITIZER = none
Expand Down Expand Up @@ -56,6 +56,14 @@ test: build
ce:
@mkdir -p $(BUILD)
bin/mk-compiler-explorer.py $(BUILD)

check:
@for h in `find include -name \*.hpp`; \
do \
from=`echo -n $$h | sed -n 's@.*Beman/\(.*\).hpp.*@\1@p'`; \
< $$h sed -n "/^ *# *include <Beman\//s@.*[</]Beman/\(.*\).hpp>.*@$$from \1@p"; \
done | tsort > /dev/null

todo:
bin/mk-todo.py

Expand Down
17 changes: 17 additions & 0 deletions bin/mk-deps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/python3

import re
import subprocess

deps = {}

done_re = re.compile('^\+ (?P<name>.*)')
with open("deps") as file:
for line in file.readlines():
match = done_re.match(line)
if match:
deps[match.group("name")] = 1

result = subprocess.run(["/usr/bin/tsort", "docs/dependency.txt"], capture_output=True, encoding="utf-8")
for line in result.stdout.split("\n"):
print(f'{"+" if line in deps else "-"} {line}')
Loading