-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
[WIP] Travis to check deno2 #270
Conversation
2a49587
to
614e891
Compare
c912f62
to
db735da
Compare
.travis.yml
Outdated
- export PATH=`pwd`/third_party/llvm-build/Release+Asserts/bin:$PATH | ||
- (cd js; yarn) | ||
- rm -f $BUILD_PATH/args.gn # Don't use cached values. | ||
- gn gen $BUILD_PATH --args='is_debug=false cc_wrapper="ccache" use_custom_libcxx = false use_sysroot = false' |
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.
spaces around the equals sign (use_sysroot = false
). That works?
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.
Fixed.
deno2/.gn
Outdated
@@ -8,7 +8,7 @@ buildconfig = "//build/config/BUILDCONFIG.gn" | |||
# The secondary source root is a parallel directory tree where | |||
# GN build files are placed when they can not be placed directly | |||
# in the source tree, e.g. for third party source trees. | |||
secondary_source = "//v8/" | |||
#secondary_source = "//v8/" |
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.
Why is this commented out?
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.
Removed completely. Symlinks are introduced in this commit that circumvent the need for this.
"tmp": "0.0.33", | ||
"uglify-js": "^2.8.29", | ||
"espree": "^3.5.3", | ||
"minimist": "^1.2.0" |
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.
Why are all these extra packages needed?
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.
These are packages that are automatically installed by protobufjs. I would have added a comment, but that isn't possible here. -_-
deno2/.gn
Outdated
v8_imminent_deprecation_warnings = false | ||
v8_monolithic = false | ||
v8_monolithic = true | ||
v8_static_library=false |
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.
Does this mean we're building a shared library? Or does v8_monolithic turn it into yet something else?
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.
Removed. Everything is statically linked in the end - this is inconsequential to our task
cea6997
to
8f13534
Compare
Supports deno_rs now and added comments. |
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.
lgtm!
Plan: