-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add assigner executable #14
Conversation
94df9cf
to
2ef70bd
Compare
8ddd03d
to
f698a5d
Compare
As far as I see, build of assigner is not done at CI. We should add a step for that. |
573b5c4
to
3345f32
Compare
be9fdeb
to
b24b9c5
Compare
f31604d
to
d36d500
Compare
85e350a
to
2b3c27c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also we can add apps
to outputs of flake.nix
here to define assigner as Nix app. This will allow to build and run assigner like this:
nix run .#assigner
Apps definition in flake.nix
outputs looks something like this:
packages = ...
checks = ...
apps = forAllSystems ({ pkgs }: {
assigner = {
type = "app";
program = "${self.packages.${pkgs.system}.default}/bin/assigner";
};
});
bin/assigner/CMakeLists.txt
Outdated
|
||
add_executable(${TARGET_NAME} ${SOURCES}) | ||
|
||
target_compile_options(${TARGET_NAME} PRIVATE -std=c++23) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a special property defining C++ standard (CXX_STANDARD
or CMAKE_CXX_STANDARD
)
Also, do we really use such new standard?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need it for intx
from evm-assigner
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to add evmc
to all buildInputs
in flake.nix
just like sszpp
is done.
7213cef
to
d3b40d5
Compare
No description provided.