Skip to content

Temporarily remove alpide test and improve ITSRESPONSE location#10542

Merged
ktf merged 2 commits intoAliceO2Group:devfrom
mconcas:pr-disable-test
Jan 13, 2023
Merged

Temporarily remove alpide test and improve ITSRESPONSE location#10542
ktf merged 2 commits intoAliceO2Group:devfrom
mconcas:pr-disable-test

Conversation

@mconcas
Copy link
Copy Markdown
Collaborator

@mconcas mconcas commented Jan 11, 2023

This is temporary to workaround some sporadic CI tests failures.

It will be reverted after some fixups in the O2 recipe for the AlpideResponse package.

@mconcas mconcas changed the title Temporary remove alpide test Temporarily remove alpide test Jan 11, 2023
@mconcas mconcas changed the title Temporarily remove alpide test Temporarily remove alpide test and improve ITSRESPONSE location Jan 11, 2023
@mconcas
Copy link
Copy Markdown
Collaborator Author

mconcas commented Jan 11, 2023

@ktf this should be part of what we discussed today concerning O2.
Can it work?


add_custom_command(TARGET O2exe-alpide-response-generator POST_BUILD
COMMAND ${CMAKE_BINARY_DIR}/stage/bin/o2-alpide-response-generator -i $ENV{ITSRESPONSE_ROOT}/response/AlpideResponseData/ -o ${CMAKE_SOURCE_DIR}/Detectors/ITSMFT/common/data/AlpideResponseData/
COMMAND ${CMAKE_BINARY_DIR}/stage/bin/o2-alpide-response-generator -i ${ITSRESPONSE_LOCATION}/response/AlpideResponseData/ -o ${CMAKE_SOURCE_DIR}/Detectors/ITSMFT/common/data/AlpideResponseData/
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think the common pattern is to call those variables _DIR. @aphecetche ?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

if intended to be used with e.g. find_package(ITSResponse) _ROOT would even be better I believe, as _DIR are expected to be env variable, as far as I can tell. But would work as well. See https://cmake.org/cmake/help/latest/command/find_package.html#config-mode-search-procedure (in particular the part after "The set of installation prefixes is constructed using the following steps" listing 9 steps).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants