-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Use emscripten 1.37.21 on Travis (same as on Circleci) #3491
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
Conversation
d4d0f3b
to
5697f01
Compare
Should only merge after the release to avoid any potential problem with using the new emscripten (since no nightlies were created with it yet). |
Strangely enough this works on circleci, but fails on travis:
|
Also the build size is different: (And it took 52 minutes longer for Travis 😉) |
Should turn those warnings into errors (since not all solc-js test are actually affected by the missing symbols):
|
|
5697f01
to
902ebba
Compare
Just realized that |
902ebba
to
1ed5e71
Compare
Current Travis: But still Travis fails with unresolved symbols while circleci is happy:
|
After cleaning the emscripten cache, the new emscripten version fails to build boost on Travis. |
f168218
to
17c5af8
Compare
Do we still want to include this with 0.4.21? |
No, there's no point forcing this. I'd like to have more testing with the new emscripten with nightlies also it has a >10% size increase and probably will need some tuning once it starts working on travis. |
Moved to 0.5.0 |
5f640d6
to
7a416ac
Compare
The emscripten we use to ship soljson is 1.35.4 was released on 27 Oct 2015. I wonder what is the risk updating it and what is the risk not updating it. |
Latest emscripten docker has a newer cmake, so the cmake installation step can be removed. |
a8bbeb6
to
a795259
Compare
Travis just abruptly aborts in the middle of the log. The same warnings exists on circle too, but it doesn't abort. Maybe some kind of out of memory issue? |
@@ -110,6 +110,8 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MA | |||
# Abort if linking results in any undefined symbols | |||
# Note: this is on by default in the CMake Emscripten module which we aren't using | |||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s ERROR_ON_UNDEFINED_SYMBOLS=1") | |||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s VERBOSE=1") | |||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -s STRICT=1") |
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.
@ekpyron Don't fully remember these options, but probably worth keeping it on the other PRs.
Replaced by #4486. |
The same version used by the circleci target.
Fixes #3558.
This results in:
But it fails on cirlceci.