Skip to content

Use define macro in setup.py#1121

Merged
unnonouno merged 1 commit intocupy:masterfrom
okuta:use-define-macro
Jun 1, 2018
Merged

Use define macro in setup.py#1121
unnonouno merged 1 commit intocupy:masterfrom
okuta:use-define-macro

Conversation

@okuta
Copy link
Copy Markdown
Member

@okuta okuta commented Apr 10, 2018

This PR is related to #1117.

@okuta okuta added cat:install Build and installation to-be-backported Pull-requests to be backported to stable branch labels Apr 10, 2018
@okuta okuta force-pushed the use-define-macro branch from d060f91 to 1e93561 Compare May 11, 2018 01:05
Copy link
Copy Markdown
Contributor

@unnonouno unnonouno left a comment

Choose a reason for hiding this comment

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

Check a comment


try:
postargs = ['/MANIFEST'] if sys.platform == 'win32' else []
compiler.link_executable(objects,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

build_and_run calls link_executable, but build_shlib calls link_shared_lib . You cannot change it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

OK, I will fix it.

@unnonouno unnonouno self-assigned this May 31, 2018
@okuta okuta force-pushed the use-define-macro branch from 1e93561 to 5023366 Compare May 31, 2018 03:50
@okuta
Copy link
Copy Markdown
Member Author

okuta commented May 31, 2018

I fixed.

@unnonouno unnonouno merged commit b6909e0 into cupy:master Jun 1, 2018
@unnonouno
Copy link
Copy Markdown
Contributor

LGTM

@unnonouno unnonouno added this to the v5.0.0b2 milestone Jun 1, 2018
@unnonouno
Copy link
Copy Markdown
Contributor

Do we need to backport it?

@okuta okuta deleted the use-define-macro branch June 3, 2018 16:05
@chainer-ci
Copy link
Copy Markdown
Member

@unnonouno This pull-request is marked as to-be-backported, but the corresponding backport PR could not be found. Could you check?

@okuta okuta removed the to-be-backported Pull-requests to be backported to stable branch label Jun 11, 2018
@okuta
Copy link
Copy Markdown
Member Author

okuta commented Jun 11, 2018

No. I removed to-be-backported label.

@kmaehashi kmaehashi changed the title Use define macro in setup.py Use define macro in setup.py Jun 20, 2018
@okuta okuta mentioned this pull request Jul 23, 2018
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:install Build and installation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants