Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix description of setting Debug build type for cmake #18114

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

anko-intel
Copy link
Contributor

@anko-intel anko-intel commented Apr 20, 2020

Description

Setting CMAKE_BUILD_TYPE in config.cmake not works properly as the
config file is read too late. Instead, ask user to setup build type
from the command line to generate proper cache file.

It fixes #18091
Thanks @leezu

Checklist

Essentials

Please feel free to remove inapplicable items for your PR.

  • Changes are complete (i.e. I finished coding on this PR)
  • Code is well-documented:
  • To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Setting CMAKE_BUILD_TYPE in config.cmake not works properly as the
config file is read too late. Instead, ask user to setup build type
from the command line to generate proper cache file.
@mxnet-bot
Copy link

Hey @anko-intel , Thanks for submitting the PR
All tests are already queued to run once. If tests fail, you can trigger one or more tests again with the following commands:

  • To trigger all jobs: @mxnet-bot run ci [all]
  • To trigger specific jobs: @mxnet-bot run ci [job1, job2]

CI supported jobs: [clang, windows-gpu, centos-cpu, centos-gpu, website, sanity, edge, unix-gpu, windows-cpu, unix-cpu, miscellaneous]


Note:
Only following 3 categories can trigger CI :PR Author, MXNet Committer, Jenkins Admin.
All CI tests must pass before the PR can be merged.

@anko-intel
Copy link
Contributor Author

@mxnet-bot run ci [unix-gpu]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [unix-gpu]

@leezu leezu merged commit 44d5671 into apache:master Apr 21, 2020
@anko-intel anko-intel deleted the cmake_debug branch April 22, 2020 06:21
AntiZpvoh pushed a commit to AntiZpvoh/incubator-mxnet that referenced this pull request Jul 6, 2020
Setting CMAKE_BUILD_TYPE in config.cmake not works properly as the
config file is read too late. Instead, ask user to setup build type
from the command line to generate proper cache file.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

config/linux.cmake - misleading comment about setting Debug build
3 participants