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

Update dependency: kevm-pyk/src/kevm_pyk/kproj/plugin #2368

Merged
Merged
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
2 changes: 1 addition & 1 deletion deps/blockchain-k-plugin_release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
247588a696bdb7fcfc170c93a59bd86927a91b3c
5aa6993fab90675d971b8b98b3430d11f1ec2a2b
8 changes: 4 additions & 4 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
poetry2nix.follows = "pyk/poetry2nix";
blockchain-k-plugin = {
url =
"github:runtimeverification/blockchain-k-plugin/da74e13951883cecbbc23a941d0fe1bb48821afe";
"github:runtimeverification/blockchain-k-plugin/5aa6993fab90675d971b8b98b3430d11f1ec2a2b";
inputs.flake-utils.follows = "k-framework/flake-utils";
inputs.nixpkgs.follows = "k-framework/nixpkgs";
};
Expand Down
16 changes: 8 additions & 8 deletions kevm-pyk/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion kevm-pyk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "kevm-pyk"
version = "1.0.506"
version = "1.0.507"
description = ""
authors = [
"Runtime Verification, Inc. <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion kevm-pyk/src/kevm_pyk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from typing import Final


VERSION: Final = '1.0.506'
VERSION: Final = '1.0.507'
5 changes: 2 additions & 3 deletions kevm-pyk/src/kevm_pyk/kdist/plugin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from __future__ import annotations

import shutil
import sys
from distutils.dir_util import copy_tree
from typing import TYPE_CHECKING
Expand Down Expand Up @@ -65,13 +64,13 @@ def build(self, output_dir: Path, deps: dict[str, Any], args: dict[str, Any], ve

copy_tree(str(config.PLUGIN_DIR), '.')
run_process(
['make', 'libcryptopp', 'libff', 'plugin-c/blake2.a', '-j8'],
['make', 'libcryptopp', 'libff', 'blake2', '-j8'],
pipe_stdout=not verbose,
)

copy_tree('./build/libcryptopp', str(output_dir / 'libcryptopp'))
copy_tree('./build/libff', str(output_dir / 'libff'))
shutil.copy2('./plugin-c/blake2.a', output_dir / 'plugin-c' / 'blake2.a')
copy_tree('./build/blake2', str(output_dir / 'blake2'))

def source(self) -> tuple[Path]:
return (config.PLUGIN_DIR,)
Expand Down
4 changes: 3 additions & 1 deletion kevm-pyk/src/kevm_pyk/kompile.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,13 @@ def lib_ccopts(plugin_dir: Path, debug_build: bool = False) -> list[str]:
libcryptopp_dir = plugin_dir / 'libcryptopp'
ccopts += [f'{libcryptopp_dir}/lib/libcryptopp.a', f'-I{libcryptopp_dir}/include']

blake2_dir = plugin_dir / 'blake2'
ccopts += [f'{blake2_dir}/lib/blake2.a']

plugin_include = plugin_dir / 'plugin-c'
ccopts += [
f'{plugin_include}/plugin_util.cpp',
f'{plugin_include}/crypto.cpp',
f'{plugin_include}/blake2.a',
]

if kernel == 'darwin':
Expand Down
2 changes: 1 addition & 1 deletion kevm-pyk/src/kevm_pyk/kproj/plugin
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.506
1.0.507
Loading