Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Copy evmjit.dll to output on windows #2490

Merged
merged 6 commits into from
Jul 20, 2015
Merged

Conversation

arkpar
Copy link
Contributor

@arkpar arkpar commented Jul 16, 2015

No description provided.

@@ -409,10 +413,8 @@ if (JSCONSOLE)
add_subdirectory(ethconsole)
endif ()

if (NOT WIN32)
Copy link
Member

Choose a reason for hiding this comment

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

That fails Windows build.

@@ -42,7 +42,7 @@ if (JSCONSOLE)
endif()

if (DEFINED WIN32 AND NOT DEFINED CMAKE_COMPILER_IS_MINGW)
eth_copy_dlls("${EXECUTABLE}" MHD_DLLS)
eth_copy_dlls("${EXECUTABLE}" MHD_DLLS EVMJIT_DLLS)
Copy link
Member

Choose a reason for hiding this comment

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

It does not work!!

Copy link
Member

Choose a reason for hiding this comment

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

MSVC isn't CMAKE_COMPILER_IS_MINGW :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@subtly, NOT DEFINED CMAKE_COMPILER_IS_MINGW there, so msvc fits.

Copy link
Member

Choose a reason for hiding this comment

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

In other parts "compiler match msvc" is used. And it's just simpler.

@subtly
Copy link
Member

subtly commented Jul 16, 2015

Does eth need to be directly linked to evmjit? Or is evmjit header only? If it's the former... eth doesn't have any linkage to evmjit. What all needs to link evmjit?

@arkpar
Copy link
Contributor Author

arkpar commented Jul 16, 2015

evmjit builds as dll on widows (unlike other libraries which build as static). Every executable that links it directly or indirectly needs the dll to run. This build action copies the dll to the exe output dir

@arkpar arkpar removed the question label Jul 16, 2015
reverted libsecp256k1 changes
@gavofyork
Copy link
Contributor

base? preferably on whizz branch.

@debris
Copy link
Contributor

debris commented Jul 20, 2015

looksgood

gavofyork pushed a commit that referenced this pull request Jul 20, 2015
Copy evmjit.dll to output on windows
@gavofyork gavofyork merged commit cab2479 into ethereum:develop Jul 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants