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

cmake: Fix evmc_add_vm_test() not working in cross-compilation #695

Merged
merged 1 commit into from
Sep 2, 2023

Conversation

chfast
Copy link
Member

@chfast chfast commented Sep 2, 2023

In add_test() use the evmc::evmc-vmtester CMake target name directly to make it work with CROSSCOMPILING_EMULATOR.

In add_test() use the evmc::evmc-vmtester target name directly
to make it work with `CROSSCOMPILING_EMULATOR`.
@chfast
Copy link
Member Author

chfast commented Sep 2, 2023

Not sure if I should release this as EVMC 10.2. The master is already 11.x so we cannot use it in evmone without breaking ABI.

@codecov
Copy link

codecov bot commented Sep 2, 2023

Codecov Report

Merging #695 (97c929b) into master (418461e) will increase coverage by 0.02%.
Report is 24 commits behind head on master.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #695      +/-   ##
==========================================
+ Coverage   93.15%   93.18%   +0.02%     
==========================================
  Files          25       25              
  Lines        3786     3800      +14     
  Branches      394      394              
==========================================
+ Hits         3527     3541      +14     
  Misses        147      147              
  Partials      112      112              

rodiazet
rodiazet previously approved these changes Sep 2, 2023
@chfast chfast changed the base branch from master to release/10.1 September 2, 2023 16:52
@chfast chfast dismissed rodiazet’s stale review September 2, 2023 16:52

The base branch was changed.

@chfast chfast changed the title cmake: Use target name directly in add_test() cmake: Fix evmc_add_vm_test() not working in cross-compilation Sep 2, 2023
@chfast chfast merged commit 61c23b8 into release/10.1 Sep 2, 2023
20 checks passed
@chfast chfast deleted the crosscompiling branch September 2, 2023 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants