These are the build system changes for SM78.
It's mostly the same as SM68, except rust is actually usde by SM.
Details
- Reviewers
- None
- Commits
- rP24332: [SM78 1/2] Upgrade Spidermonkey build system and binaries to 78.6.0
- Trac Tickets
- #5861
Compile.
Diff Detail
- Repository
- rP 0 A.D. Public Repository
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 14129 Build 29543: Vulcan Build Jenkins Build 29542: Vulcan Build (macOS) Jenkins Build 29541: Vulcan Build (Windows) Jenkins Build 29540: arc lint + arc unit
Event Timeline
Build failure - The Moirai have given mortals hearts that can endure.
Link to build: https://jenkins.wildfiregames.com/job/macos-differential/2191/display/redirect
Build failure - The Moirai have given mortals hearts that can endure.
Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/3287/display/redirect
Build failure - The Moirai have given mortals hearts that can endure.
Link to build: https://jenkins.wildfiregames.com/job/docker-differential/3857/display/redirect
Build failure - The Moirai have given mortals hearts that can endure.
Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/3357/display/redirect
Build failure - The Moirai have given mortals hearts that can endure.
builderr-debug-gcc7.txt In file included from ../../../source/lib/precompiled.h:74, from ../../../source/pch/simulation2/precompiled.h:19: ../../../source/simulation2/components/CCmpAIManager.cpp: In member function 'void CAIWorker::UpdatePathfinder(const Grid<short unsigned int>&, bool, const Grid<unsigned char>&, bool, const std::map<std::__cxx11::basic_string<char>, short unsigned int>&, const std::map<std::__cxx11::basic_string<char>, short unsigned int>&)': ../../../source/simulation2/components/CCmpAIManager.cpp:560:11: error: 'JS_GetArrayLength' was not declared in this scope ENSURE(JS_GetArrayLength(rq.cx, dataObj, &length)); ^~~~~~~~~~~~~~~~~ ../../../source/lib/debug.h:295:8: note: in definition of macro 'ENSURE' if(!(expr))\ ^~~~ ../../../source/simulation2/components/CCmpAIManager.cpp:560:11: note: suggested alternative: 'JS_GetTypedArrayLength' ENSURE(JS_GetArrayLength(rq.cx, dataObj, &length)); ^~~~~~~~~~~~~~~~~ ../../../source/lib/debug.h:295:8: note: in definition of macro 'ENSURE' if(!(expr))\ ^~~~ ../../../source/simulation2/components/CCmpAIManager.cpp: In member function 'void CAIWorker::UpdateTerritoryMap(const Grid<unsigned char>&)': ../../../source/simulation2/components/CCmpAIManager.cpp:588:11: error: 'JS_GetArrayLength' was not declared in this scope ENSURE(JS_GetArrayLength(rq.cx, dataObj, &length)); ^~~~~~~~~~~~~~~~~ ../../../source/lib/debug.h:295:8: note: in definition of macro 'ENSURE' if(!(expr))\ ^~~~ ../../../source/simulation2/components/CCmpAIManager.cpp:588:11: note: suggested alternative: 'JS_GetTypedArrayLength' ENSURE(JS_GetArrayLength(rq.cx, dataObj, &length)); ^~~~~~~~~~~~~~~~~ ../../../source/lib/debug.h:295:8: note: in definition of macro 'ENSURE' if(!(expr))\ ^~~~ make[1]: *** [simulation2.make:248: obj/simulation2_Debug/CCmpAIManager.o] Error 1 make: *** [Makefile:107: simulation2] Error 2
Link to build: https://jenkins.wildfiregames.com/job/docker-differential/3927/display/redirect
Build failure - The Moirai have given mortals hearts that can endure.
builderr-debug-macos.txt ../../../source/simulation2/components/CCmpAIManager.cpp:560:11: error: use of undeclared identifier 'JS_GetArrayLength' ENSURE(JS_GetArrayLength(rq.cx, dataObj, &length)); ^ ../../../source/simulation2/components/CCmpAIManager.cpp:588:11: error: use of undeclared identifier 'JS_GetArrayLength' ENSURE(JS_GetArrayLength(rq.cx, dataObj, &length)); ^ 2 errors generated. make[1]: *** [obj/simulation2_Debug/CCmpAIManager.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [simulation2] Error 2
Link to build: https://jenkins.wildfiregames.com/job/macos-differential/2263/display/redirect