cmake: Fix `check_arm32_assembly` when using as subproject #1526

pull hebasto wants to merge 1 commits into bitcoin-core:master from hebasto:240507-project-dir changing 1 files +2 −2
  1. hebasto commented at 11:40 AM on May 7, 2024: member

    When integrating libsecpk1 in a downstream project like this:

    set(SECP256K1_ASM arm32 CACHE STRING "" FORCE)
    add_subdirectory(src/secp256k1)
    

    it fails to configure:

    CMake Error at /home/hebasto/git/bitcoin/build/check_arm32_assembly/CMakeFiles/CMakeTmp/CMakeLists.txt:21 (target_sources):
      Cannot find source file:
    
        /home/hebasto/git/bitcoin/cmake/source_arm32.s
    
    
    CMake Error at /home/hebasto/git/bitcoin/build/check_arm32_assembly/CMakeFiles/CMakeTmp/CMakeLists.txt:20 (add_executable):
      No SOURCES given to target: cmTC_d0f0b
    
    
    CMake Error at src/secp256k1/cmake/CheckArm32Assembly.cmake:2 (try_compile):
      Failed to generate test project build system.
    Call Stack (most recent call first):
      src/secp256k1/CMakeLists.txt:127 (check_arm32_assembly)
    
    

    This PR fixes this issue, which was overlooked in #1304.

  2. cmake: Fix `check_arm32_assembly` when using as subproject 9f4c8cd730
  3. hebasto commented at 11:41 AM on May 7, 2024: member
  4. real-or-random added the label build on May 7, 2024
  5. real-or-random added the label bug on May 7, 2024
  6. real-or-random approved
  7. real-or-random commented at 11:44 AM on May 7, 2024: contributor

    utACK 9f4c8cd730bba94f0c09cbef9b0cf9df44eb7b03

    Yes, this makes sense according to the docs.

  8. theuni approved
  9. theuni commented at 5:14 PM on May 8, 2024: contributor

    utACK 9f4c8cd730bba94f0c09cbef9b0cf9df44eb7b03

  10. real-or-random merged this on May 9, 2024
  11. real-or-random closed this on May 9, 2024

  12. hebasto deleted the branch on May 9, 2024
  13. fanquake referenced this in commit ca3d945dc6 on May 16, 2024
  14. vmta referenced this in commit f75d43863d on May 22, 2024
  15. janus referenced this in commit 4a09aa7cc4 on Jun 6, 2024
  16. vmta referenced this in commit c16ce221c4 on Sep 6, 2024
  17. vmta referenced this in commit 4d1f6d5635 on Oct 29, 2024
  18. div72 referenced this in commit af627d47c3 on Apr 12, 2025
  19. oskarszoon referenced this in commit 0d5c9260f4 on Jul 1, 2025
  20. github-actions[bot] referenced this in commit 758d4e90b4 on Mar 1, 2026
  21. github-actions[bot] referenced this in commit 68a2178f22 on Mar 1, 2026
  22. github-actions[bot] referenced this in commit a8bc1a0b2b on Mar 1, 2026
  23. 0x000000000019d6689c085ae165831e934ff76 referenced this in commit 3b9450150d on Mar 2, 2026
  24. csjones referenced this in commit a4d92824ae on Mar 2, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:52 UTC