acts-project / acts-project/acts

Install podio edm

Aberta
#4,406 10 comentários 0 reações 0 responsáveis Ver no GitHub
Stale
Linguagem predominante
C++
Estrelas
131
Forks
277
Merge médio
3d 13h
PRs com merge (30d)
112

Descrição

In order to inherit experiment EDM from Acts EDM one has to do something like this:

```cmake
PODIO_GENERATE_DATAMODEL(myedm myedm .yaml headers sources
UPSTREAM_EDM edm4hep:${ACTS_EDM_DATA_DIR}/edm.yaml
IO_BACKEND_HANDLERS ${PODIO_IO_HANDLERS}
OUTPUT_FOLDER ${CMAKE_CURRENT_BINARY_DIR}
)
```

The problem is that [edm.yaml](https://github.com/acts-project/acts/blob/main/Plugins/Podio/edm.yml) is not being installed anywhere.

Providing something like `ACTS_EDM_DATA_DIR` or maybe directly `ACTS_PODIO_EDM_YAML` variable in cmake config would also simplify life and appreciated.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by inspecting Plugins/Podio/edm.yml and the CMake install and configuration entry points, then trace how PODIO_GENERATE_DATAMODEL consumes the EDM path. Done means an installed Acts consumer can locate the EDM YAML through the CMake package configuration and use the shown inheritance setup without a source-tree path.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
cmake, cpp
Domínio
build-system
Tipo de issue
Funcionalidade
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.