-
Notifications
You must be signed in to change notification settings - Fork 1
Add buildscript #153
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
base: swm
Are you sure you want to change the base?
Add buildscript #153
Conversation
mat-hek
left a comment
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.
I get the following error trying to run the script: ninja: error: loading 'build.ninja': No such file or directory
You must delete BTW I would suggest
|
|
BTW the script could support passing CMake flags |
Changes: - When a NIF is not found, print crash dump before aborting. The crash dump contains stacktrace, including the missing NIF (at least for the cases I checked) - Add `TRACE_RAISE` macro, which prints the file and line of each raise triggered from C (`RAISE_ERROR`, `VALIDATE_VALUE` etc) and prints a crash dump for each raise (no matter from where) - Redirect `TRACE` to stderr - Add `AVM_ENABLE_TRACE` and `AVM_ENABLE_TRACE_RAISE` CMake options to enable `TRACE` and `TRACE_RAISE` respectively - Set `AVM_PRINT_PROCESS_CRASH_DUMPS` to OFF by default
Signed-off-by: Jakub Gonet <[email protected]>
7dcc97d to
ae08363
Compare
Instead of building using command line and cmake/make/emcmake/emmake, streamline to use single script.
These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later