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

1256: Create vt_trace_only option before creating trace-only CMake target #1257

Merged

Conversation

JacobDomagala
Copy link
Contributor

Fixes #1256

With this fix, it's no longer required to add -Dvt_trace_only

@JacobDomagala JacobDomagala force-pushed the 1256-move-vt-trace-option-before-target-creation branch from 835e3b4 to 9aa7cd5 Compare February 10, 2021 19:16
@DARMA-tasking DARMA-tasking deleted a comment from azure-pipelines bot Feb 10, 2021
Copy link
Contributor

@cz4rs cz4rs left a comment

Choose a reason for hiding this comment

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

looks good to me

@JacobDomagala JacobDomagala force-pushed the 1256-move-vt-trace-option-before-target-creation branch from 9aa7cd5 to 7c3eaea Compare February 11, 2021 11:29
@JacobDomagala JacobDomagala self-assigned this Feb 11, 2021
Copy link
Collaborator

@lifflander lifflander left a comment

Choose a reason for hiding this comment

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

Do you need to update the docs for this?

Looks good to me

@JacobDomagala JacobDomagala force-pushed the 1256-move-vt-trace-option-before-target-creation branch from 7c3eaea to efc6262 Compare February 16, 2021 10:37
@DARMA-tasking DARMA-tasking deleted a comment from azure-pipelines bot Feb 16, 2021
@DARMA-tasking DARMA-tasking deleted a comment from azure-pipelines bot Feb 16, 2021
@DARMA-tasking DARMA-tasking deleted a comment from azure-pipelines bot Feb 16, 2021
@DARMA-tasking DARMA-tasking deleted a comment from azure-pipelines bot Feb 16, 2021
@DARMA-tasking DARMA-tasking deleted a comment from azure-pipelines bot Feb 16, 2021
@DARMA-tasking DARMA-tasking deleted a comment from azure-pipelines bot Feb 16, 2021
@@ -110,6 +110,11 @@ include(cmake/load_bundled_libraries.cmake)

include(cmake/nvcc_no_deprecated_gpu_targets.cmake)

option(vt_trace_only "Build VT with trace-only mode enabled" OFF)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've also changed it to be disabled by default. I think it's better to only build it on demand.

@JacobDomagala
Copy link
Contributor Author

JacobDomagala commented Feb 16, 2021

@lifflander Docs are still valid. This change fixes the small bug when building VT with cmake, without using --Dvt_trace_only flag. Also I made it not build by default, so if user wants to use trace-only, he has to use the cmake flag (which is described in the docs).

@DARMA-tasking DARMA-tasking deleted a comment from azure-pipelines bot Feb 16, 2021
@DARMA-tasking DARMA-tasking deleted a comment from azure-pipelines bot Feb 16, 2021
@lifflander lifflander self-requested a review February 16, 2021 18:13
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.

Move option setup for vt_trace_only before trace-only target is created
4 participants