Investigate Redundant `@com_google_benchmark//:benchmark` Dependency in Bazel Builds
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- cpp
- Domínio
- build-system, ci-cd
Direção de pesquisa
Comece pelo PR #15543 e pelos alvos de benchmark afetados nos builds de CI do Bazel no macOS. Compare suas declarações de dependências com o arquivo BUILD.bazel referenciado de google/benchmark e investigue como a toolchain do macOS resolve benchmark e benchmark_main. O trabalho estará concluído quando a causa estiver documentada e for determinado se uma alteração de configuração pode remover a dependência explícita.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Pull request #15543 fixed build failures in several benchmark targets on the macOS Bazel CI. The builds were failing because they were missing a direct dependency on @com_google_benchmark//:benchmark, even though they already depended on @com_google_benchmark//:benchmark_main.
While adding the explicit dependency resolves the build errors, it's not clear why this is necessary. According to the google/benchmark BUILD.bazel file, the :benchmark_main target depends on :benchmark and should export the necessary headers and symbols.
This issue affects the macOS Bazel CI builds.
This issue is to track the investigation into the root cause of this behavior:
- Why is a direct dependency on
@com_google_benchmark//:benchmarkrequired when a dependency on@com_google_benchmark//:benchmark_mainalready exists? - Why does this issue appear to be specific to the macOS Bazel CI build environment?
- Is there a more fundamental issue in how dependencies are being resolved or in the toolchain configuration?
Acceptance Criteria:
- Understand and document the reason for the seemingly redundant dependency.
- Determine if a configuration change can remove the need for the explicit dependency on
@com_google_benchmark//:benchmarkin the benchmark targets.
Reference:
- PR #15543: fix(bazel): Add missing dependency to benchmark targets
- Linguagem predominante
- C++
- Estrelas
- 660
- Forks
- 479
- Merge médio
- 1d 12h
- PRs com merge (30d)
- 77
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de googleapis/google-cloud-cpp
-
cleanup(storage): remove deprecated OpenTelemetry rpc.message.type and rpc.message.id attributesAbertaapi: storage type: cleanup
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
googleapis/google-cloud-cpp#16544 ·
Mantenedores costumam responder em até 1 dia
-
api: storage priority: p2 type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
googleapis/google-cloud-cpp#16529 ·
Mantenedores costumam responder em até 1 dia
-
type: feature request
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
googleapis/google-cloud-cpp#16193 ·
Mantenedores costumam responder em até 1 dia
-
storage: MSan use-after-dtor flake at exit in tests calling EnableGrpcMetricsImplTalvez já em andamento @kalragauri assumiu há 6 dias. Abertaapi: storage type: bug
googleapis/google-cloud-cpp#16587 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
type: feature request
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 48/100
googleapis/google-cloud-cpp#16575 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de googleapis/google-cloud-cpp
Issues semelhantes
-
A-tools P-medium S-ready-to-start studio task
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Mantenedores costumam responder em até 1 dia
-
Status: Needs confirmation Status: Needs triage Type: Code Quality
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Mantenedores costumam responder em até 1 dia
-
Image.resolveAssetSource's TypeScript declaration drops the null it returns for an unknown assetAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
react/react-native#59648 ·
Mantenedores costumam responder em até 2 dias
-
platform: Linux
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 80/100
keepassxreboot/keepassxc#13947 ·
Mantenedores costumam responder em até 1 dia
-
Shell: serve the home app's Cookie Policy on a hard reloadTalvez já em andamento @2001anshkaushik assumiu hoje. Abertafeature module:ai
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
rocketride-org/rocketride-server#2899 · 1 comentário ·
Mantenedores costumam responder em até 2 dias