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

build: adds configure flag notargettype #7437

Closed
wants to merge 1 commit into from
Closed

build: adds configure flag notargettype #7437

wants to merge 1 commit into from

Conversation

eljefedelrodeodeljefe
Copy link
Contributor

@eljefedelrodeodeljefe eljefedelrodeodeljefe commented Jun 27, 2016

Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

build

Description of change

In the wake of #7440 in order to replace GYP nodejs/CTC#2, this would be the first step. Effectively ./configure --no-target-type will still compile any dependency and run js2c, but not let gyp gcc src/*.cc -c -o out/*.o and run the linker as last build step.

This can be used, as presented in the above PR, to build node-core with node itself.

In order to fully compile without gyp, it's a long way, but definitely doable

This flag is useful, to make gyp not build and link node cores /src/*.cc files.
However all dependecnies will be built.

This can be used to build node proper with an arbitrary build runner and/ or
with itself.
@mscdex mscdex added the build Issues and PRs related to build files or the CI. label Jun 27, 2016
@jasnell
Copy link
Member

jasnell commented Jun 27, 2016

@nodejs/build

@eljefedelrodeodeljefe
Copy link
Contributor Author

Ref: This is needed for #7440 but can also used in other contexts.

@rvagg
Copy link
Member

rvagg commented Jul 7, 2016

I'm not seeing anything in here that warrants doing this as a separate PR, particularly in vcbuild.bat where the new variable isn't even used. I'd suggest closing this and rolling it up in proposed changes in #7440 unless you can demonstrate usefulness outside of that work.

@jasnell
Copy link
Member

jasnell commented Mar 1, 2017

Closing due to lack of forward progress on this

@jasnell jasnell closed this Mar 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants