Skip to content
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

Merged
merged 1 commit into from
Jun 22, 2018
Merged

[WIP] Travis to check deno2 #270

merged 1 commit into from
Jun 22, 2018

Conversation

ry
Copy link
Member

@ry ry commented Jun 19, 2018

Plan:

  • Travis to only check deno2
  • Once that's working remove original deno and move deno2 to root
  • Leave original deno in a branch and link to it in a readme.

.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'
Copy link
Member

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?

Copy link
Member Author

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/"
Copy link
Member

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?

Copy link
Member Author

@ry ry Jun 21, 2018

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"
Copy link
Member

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?

Copy link
Member Author

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
Copy link
Member

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?

Copy link
Member Author

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

@ry ry mentioned this pull request Jun 21, 2018
@ry ry force-pushed the deno2_travis branch 4 times, most recently from cea6997 to 8f13534 Compare June 22, 2018 10:04
@ry
Copy link
Member Author

ry commented Jun 22, 2018

Supports deno_rs now and added comments.
PTAL @piscisaureus

Copy link
Member

@piscisaureus piscisaureus left a comment

Choose a reason for hiding this comment

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

lgtm!

@ry ry merged commit ef9dc24 into master Jun 22, 2018
@ry ry deleted the deno2_travis branch July 1, 2018 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants