Skip to content

Conversation

@MridulS
Copy link
Member

@MridulS MridulS commented Oct 21, 2025

No description provided.

@MridulS
Copy link
Member Author

MridulS commented Oct 21, 2025

All builds for conda and cibuildwheel passed in https://github.com/scipp/scipp/actions/runs/18698001628 and this is ready for another review.

Copy link
Member

@SimonHeybrock SimonHeybrock 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, small questions.

CMakeLists.txt Outdated
# conda don't seem to play well with this.
set(CMAKE_CXX_SCAN_FOR_MODULES 0)

if(APPLE AND NOT SKBUILD)
Copy link
Member

Choose a reason for hiding this comment

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

Is SKBUILD active for all our builds, both PyPI and conda-forge?

Copy link
Member Author

Choose a reason for hiding this comment

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

no, SKBUILD is only for pypi wheel building.

CMakeLists.txt Outdated
Comment on lines 16 to 20
set(CMAKE_THREAD_LIBS_INIT "-lpthread")
set(CMAKE_HAVE_THREADS_LIBRARY 1)
set(CMAKE_USE_WIN32_THREADS_INIT 0)
set(CMAKE_USE_PTHREADS_INIT 1)
set(THREADS_PREFER_PTHREAD_FLAG ON)
Copy link
Member

Choose a reason for hiding this comment

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

So this is not disabling threading but using another kind?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, this is what works via clang compilers

Copy link
Member

Choose a reason for hiding this comment

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

What does it actually do? Does it change how TBB works? I don't think we use std::thread anywhere ourselves.

CMakeLists.txt Outdated
Comment on lines 16 to 20
set(CMAKE_THREAD_LIBS_INIT "-lpthread")
set(CMAKE_HAVE_THREADS_LIBRARY 1)
set(CMAKE_USE_WIN32_THREADS_INIT 0)
set(CMAKE_USE_PTHREADS_INIT 1)
set(THREADS_PREFER_PTHREAD_FLAG ON)
Copy link
Member

Choose a reason for hiding this comment

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

What does it actually do? Does it change how TBB works? I don't think we use std::thread anywhere ourselves.

include(scipp-conan)
find_package(LLNL-Units REQUIRED)
# cpm installs llnl units for conda and wheels both
include(scipp-cpm)
Copy link
Member

Choose a reason for hiding this comment

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

Why do we only use scipp-cpm if we also use conan? Seems the wrong way around.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure I understand, this if clause is just skipping all network calls, conan and cpm are both not included as they both fetch remote sources.

Copy link
Member

Choose a reason for hiding this comment

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

Can you rename the variable? SKIP_CONAN sounds like it only controls conan, not network access.

FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}-config-version.cmake"
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/${PROJECT_NAME}-conan.cmake"
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/${PROJECT_NAME}-cpm.cmake"
Copy link
Member

Choose a reason for hiding this comment

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

Does this need to be conditional like include(scipp-cpm)?

Copy link
Member Author

Choose a reason for hiding this comment

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

I guess we can remove from conan and cpm.cmake as if you are building for nix you don't need both of them, but I'm not even sure what will survive (cpm/conan/something else) by the time I am done with this 😓

@MridulS
Copy link
Member Author

MridulS commented Oct 22, 2025

I was trying to recreate the state where I was getting the threads not found error, but I can't recreate the issue :/

I can just remove the whole threading bit from this PR then :)

The logs from one of the conda build failures are below:

Details


Run conda build --channel conda-forge --variant-config-files=${CONDA_PREFIX}/conda_build_config.yaml --variant-config-files=${GITHUB_WORKSPACE}/conda/variants/osx_arm64.yaml --variant-config-files=dynamic_var.yaml --no-anaconda-upload --override-channels --output-folder conda/package conda
WARNING: No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.26
Adding in variants from internal_defaults
Adding in variants from /Users/runner/miniconda3/envs/test/conda_build_config.yaml
Adding in variants from /Users/runner/work/scipp/scipp/conda/variants/osx_arm64.yaml
Adding in variants from /Users/runner/work/scipp/scipp/dynamic_var.yaml
WARNING: Number of parsed outputs does not match detected raw metadata blocks. Identified output block may be wrong! If you are using Jinja conditionals to include or exclude outputs, consider using `skip: true  # [condition]` instead.
Copying /Users/runner/work/scipp/scipp to /Users/runner/miniconda3/envs/test/conda-bld/scipp_1761058762453/work/
Attempting to finalize metadata for scipp
Reloading output folder: ...working... done
Getting pinned dependencies: ...working... done
Reloading output folder: ...working... done
Getting pinned dependencies: ...working... done
Reloading output folder: ...working... done
Getting pinned dependencies: ...working... done
BUILD START: ['scipp-25.08.0-py313h718c0f6_62.conda']
Reloading output folder: ...working... done
Solving environment (_h_env): ...working... done

## Package Plan ##

  environment location: /Users/runner/miniconda3/envs/test/conda-bld/scipp_1761058762453/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla


The following NEW packages will be INSTALLED:

    benchmark:        1.6.1-hbdafb3b_0             conda-forge
    bzip2:            1.0.8-hd037594_8             conda-forge
    ca-certificates:  2025.10.5-hbd8a1cb_0         conda-forge
    eigen:            3.4.0-h49c215f_1             conda-forge
    gmock:            1.15.2-hce30654_0            conda-forge
    gtest:            1.15.2-h420ef59_0            conda-forge
    icu:              75.1-hfee45f7_0              conda-forge
    libboost-headers: 1.89.0-hce30654_2            conda-forge
    libcxx:           21.1.4-hf598326_0            conda-forge
    libexpat:         2.7.1-hec049ff_0             conda-forge
    libffi:           3.4.6-h1da3d7d_1             conda-forge
    libhwloc:         2.12.1-default_h48b22c3_1002 conda-forge
    libiconv:         1.18-h23cfdf5_2              conda-forge
    liblzma:          5.8.1-h39f12f2_2             conda-forge
    libmpdec:         4.0.0-h5505292_0             conda-forge
    libsqlite:        3.50.4-h4237e3c_0            conda-forge
    libxml2:          2.15.1-h9329255_0            conda-forge
    libxml2-16:       2.15.1-h0ff4647_0            conda-forge
    libzlib:          1.3.1-h8359307_2             conda-forge
    ncurses:          6.5-h5e97a16_3               conda-forge
    openssl:          3.5.4-h5503f6c_0             conda-forge
    pip:              25.2-pyh145f28c_0            conda-forge
    pybind11:         3.0.1-pyh7a1b43c_0           conda-forge
    pybind11-global:  3.0.1-pyhc7ab6ef_0           conda-forge
    python:           3.13.9-h09175d0_100_cp313    conda-forge
    python_abi:       3.13-8_cp313                 conda-forge
    readline:         8.2-h1d1bf99_2               conda-forge
    tbb:              2022.2.0-h5b2e6d4_1          conda-forge
    tbb-devel:        2022.2.0-h89693d0_1          conda-forge
    tk:               8.6.13-h892fb3f_2            conda-forge
    tzdata:           2025b-h78e105d_0             conda-forge

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Reloading output folder: ...working... done
Solving environment (_build_env): ...working... done
Reloading output folder: ...working... done
Solving environment (_test_env): ...working... done

## Package Plan ##

  environment location: /Users/runner/miniconda3/envs/test/conda-bld/scipp_1761058762453/_build_env


The following NEW packages will be INSTALLED:

    bzip2:                  1.0.8-hd037594_8              conda-forge
    c-ares:                 1.34.5-h5505292_0             conda-forge
    ca-certificates:        2025.10.5-hbd8a1cb_0          conda-forge
    cctools_osx-arm64:      1024.3-llvm19_1_h8c76c84_5    conda-forge
    clang:                  19.1.7-default_hf9bcbb7_5     conda-forge
    clang-19:               19.1.7-default_h73dfc95_5     conda-forge
    clang_impl_osx-arm64:   19.1.7-h76e6a08_25            conda-forge
    clang_osx-arm64:        19.1.7-h07b0088_25            conda-forge
    clangxx:                19.1.7-default_h36137df_5     conda-forge
    clangxx_impl_osx-arm64: 19.1.7-h276745f_25            conda-forge
    clangxx_osx-arm64:      19.1.7-h07b0088_25            conda-forge
    cmake:                  4.1.2-h54ad630_0              conda-forge
    compiler-rt:            19.1.7-h855ad52_1             conda-forge
    compiler-rt_osx-arm64:  19.1.7-he32a8d3_1             conda-forge
    git:                    2.51.1-pl5321h198044c_0       conda-forge
    krb5:                   1.21.3-h237132a_0             conda-forge
    ld64_osx-arm64:         955.13-llvm19_1_h6922315_5    conda-forge
    libclang-cpp19.1:       19.1.7-default_h73dfc95_5     conda-forge
    libcurl:                8.16.0-hdece5d2_0             conda-forge
    libcxx:                 21.1.4-hf598326_0             conda-forge
    libcxx-devel:           19.1.7-h6dc3340_1             conda-forge
    libedit:                3.1.20250104-pl5321hafb1f1b_0 conda-forge
    libev:                  4.33-h93a5062_2               conda-forge
    libexpat:               2.7.1-hec049ff_0              conda-forge
    libiconv:               1.18-h23cfdf5_2               conda-forge
    libintl:                0.25.1-h493aca8_0             conda-forge
    libllvm19:              19.1.7-h8e0c9ce_2             conda-forge
    liblzma:                5.8.1-h39f12f2_2              conda-forge
    libnghttp2:             1.67.0-hc438710_0             conda-forge
    libssh2:                1.11.1-h1590b86_0             conda-forge
    libuv:                  1.51.0-h6caf38d_1             conda-forge
    libxml2:                2.15.1-hba2cd1d_0             conda-forge
    libxml2-16:             2.15.1-h8eac4d7_0             conda-forge
    libzlib:                1.3.1-h8359307_2              conda-forge
    llvm-tools:             19.1.7-h855ad52_2             conda-forge
    llvm-tools-19:          19.1.7-h91fd4e7_2             conda-forge
    ncurses:                6.5-h5e97a16_3                conda-forge
    ninja:                  1.13.1-h4f10f1e_0             conda-forge
    openssl:                3.5.4-h5503f6c_0              conda-forge
    pcre2:                  10.46-h7125dd6_0              conda-forge
    perl:                   5.32.1-7_h4614cfb_perl5       conda-forge
    rhash:                  1.4.6-h5505292_1              conda-forge
    sigtool:                0.1.3-h44b9a77_0              conda-forge
    tapi:                   1300.6.5-h03f4b80_0           conda-forge
    zstd:                   1.5.7-h6491c7d_2              conda-forge

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
CMake Warning at lib/CMakeLists.txt:26 (find_package):
  Found package configuration file:

    /Users/runner/miniconda3/envs/test/conda-bld/scipp_1761058762453/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/cmake/benchmark/benchmarkConfig.cmake

  but it set benchmark_FOUND to FALSE so package "benchmark" is considered to
  be NOT FOUND.  Reason given by package:

  benchmark could not be found because dependency Threads could not be found.



CMake Warning (dev) at lib/CMakeLists.txt:27 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /Users/runner/miniconda3/envs/test/conda-bld/scipp_1761058762453/_build_env/share/cmake-4.1/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /Users/runner/miniconda3/envs/test/conda-bld/scipp_1761058762453/_build_env/share/cmake-4.1/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
  /Users/runner/miniconda3/envs/test/conda-bld/scipp_1761058762453/_build_env/share/cmake-4.1/Modules/FindThreads.cmake:226 (find_package_handle_standard_args)
  /Users/runner/miniconda3/envs/test/conda-bld/scipp_1761058762453/_build_env/share/cmake-4.1/Modules/CMakeFindDependencyMacro.cmake:78 (find_package)
  /Users/runner/miniconda3/envs/test/conda-bld/scipp_1761058762453/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/cmake/GTest/GTestConfig.cmake:29 (find_dependency)
  lib/CMakeLists.txt:33 (find_package)



Rendered as:
```yaml
package:
  name: scipp
  version: 25.08.0
source:
  path: /Users/runner/work/scipp/scipp
build:
  number: '62'
  script:
    - cmake --preset package-osx-arm64 -DPython_EXECUTABLE=$PYTHON ${CMAKE_ARGS}
    - cmake --build --preset build
    - ctest --preset test
requirements:
  build:
    - llvm-tools-19 19.1.7 h91fd4e7_2
    - llvm-tools 19.1.7 h855ad52_2
    - compiler-rt 19.1.7 h855ad52_1
    - ld64_osx-arm64 955.13 llvm19_1_h6922315_5
    - tapi 1300.6.5 h03f4b80_0
    - clangxx_osx-arm64 19.1.7 h07b0088_25
    - libcxx 21.1.4 hf598326_0
    - libedit 3.1.20250104 pl5321hafb1f1b_0
    - git 2.51.1 pl5321h198044c_0
    - zstd 1.5.7 h6491c7d_2
    - perl 5.32.1 7_h4614cfb_perl5
    - ninja 1.13.1 h4f10f1e_0
    - libnghttp2 1.67.0 hc438710_0
    - compiler-rt_osx-arm64 19.1.7 he32a8d3_1
    - clang_impl_osx-arm64 19.1.7 h76e6a08_25
    - libiconv 1.18 h23cfdf5_2
    - libxml2 2.15.1 hba2cd1d_0
    - libcurl 8.16.0 hdece5d2_0
    - clang-19 19.1.7 default_h73dfc95_5
    - libuv 1.51.0 h6caf38d_1
    - clangxx 19.1.7 default_h36137df_5
    - libzlib 1.3.1 h8359307_2
    - ca-certificates 2025.10.5 hbd8a1cb_0
    - libev 4.33 h93a5062_2
    - libxml2-16 2.15.1 h8eac4d7_0
    - openssl 3.5.4 h5503f6c_0
    - ncurses 6.5 h5e97a16_3
    - sigtool 0.1.3 h44b9a77_0
    - cmake 4.1.2 h54ad630_0
    - cctools_osx-arm64 1024.3 llvm19_1_h8c76c84_5
    - libllvm19 19.1.7 h8e0c9ce_2
    - c-ares 1.34.5 h5505292_0
    - libssh2 1.11.1 h1590b86_0
    - clang_osx-arm64 19.1.7 h07b0088_25
    - clangxx_impl_osx-arm64 19.1.7 h276745f_25
    - libintl 0.25.1 h493aca8_0
    - rhash 1.4.6 h5505292_1
    - libclang-cpp19.1 19.1.7 default_h73dfc95_5
    - pcre2 10.46 h7125dd6_0
    - liblzma 5.8.1 h39f12f2_2
    - libcxx-devel 19.1.7 h6dc3340_1
    - bzip2 1.0.8 hd037594_8
    - clang 19.1.7 default_hf9bcbb7_5
    - libexpat 2.7.1 hec049ff_0
    - krb5 1.21.3 h237132a_0
  host:
    - libboost-headers 1.89.0 hce30654_2
    - bzip2 1.0.8 hd037594_8
    - ca-certificates 2025.10.5 hbd8a1cb_0
    - icu 75.1 hfee45f7_0
    - libcxx 21.1.4 hf598326_0
    - libexpat 2.7.1 hec049ff_0
    - libffi 3.4.6 h1da3d7d_1
    - libiconv 1.18 h23cfdf5_2
    - liblzma 5.8.1 h39f12f2_2
    - libmpdec 4.0.0 h5505292_0
    - libzlib 1.3.1 h8359307_2
    - ncurses 6.5 h5e97a16_3
    - python_abi 3.13 8_cp313
    - tzdata 2025b h78e105d_0
    - benchmark 1.6.1 hbdafb3b_0
    - eigen 3.4.0 h49c215f_1
    - gtest 1.15.2 h420ef59_0
    - libsqlite 3.50.4 h4237e3c_0
    - libxml2-16 2.15.1 h0ff4647_0
    - openssl 3.5.4 h5503f6c_0
    - readline 8.2 h1d1bf99_2
    - tk 8.6.13 h892fb3f_2
    - gmock 1.15.2 hce30654_0
    - libxml2 2.15.1 h9329255_0
    - python 3.13.9 h09175d0_100_cp313
    - libhwloc 2.12.1 default_h48b22c3_1002
    - pip 25.2 pyh145f28c_0
    - pybind11-global 3.0.1 pyhc7ab6ef_0
    - pybind11 3.0.1 pyh7a1b43c_0
    - tbb 2022.2.0 h5b2e6d4_1
    - tbb-devel 2022.2.0 h89693d0_1
  run:
    - python >=3.13,<3.14.0a0
    - numpy
    - tbb=2022.2.0
    - libcxx >=19
    - python_abi 3.13.* *_cp313
test:
  imports:
    - scipp
  requires:
    - benchmark=1.6.1
    - pybind11=3.0.1
    - ipykernel
    - numpy
    - clangxx_osx-arm64 19.*
    - pytest
    - eigen=3.4.0
    - python-graphviz
    - scipy>=1.7.0
    - hypothesis
    - xarray
    - gmock=1.15.2
    - gtest=1.15.2
    - h5py
    - pandas
    - tbb-devel=2022.2.0
    - libboost-headers=1.89.0
    - cmake
    - numba
    - beautifulsoup4
  files:
    - cmake-package-test/
  source_files:
    - pyproject.toml
    - tests/
  commands:
    - python -m pytest -v tests
about:
  home: https://scipp.github.io/
  license: BSD-3-Clause
  summary: Multi-dimensional data arrays with labeled dimensions
  description: Multi-dimensional data arrays with labeled dimensions
  dev_url: https://github.com/scipp/scipp
  doc_url: https://scipp.github.io/
extra:
  final: true
  copy_test_source_files: true
```

source tree in: /Users/runner/miniconda3/envs/test/conda-bld/scipp_1761058762453/work
export PREFIX=/Users/runner/miniconda3/envs/test/conda-bld/scipp_1761058762453/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla
export BUILD_PREFIX=/Users/runner/miniconda3/envs/test/conda-bld/scipp_1761058762453/_build_env
export SRC_DIR=/Users/runner/miniconda3/envs/test/conda-bld/scipp_1761058762453/work
INFO: activate_clang_osx-arm64.sh made the following environmental changes:
+AR=arm64-apple-darwin20.0.0-ar
+AS=arm64-apple-darwin20.0.0-as
+CC=arm64-apple-darwin20.0.0-clang
+CC_FOR_BUILD=$BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-clang
+CFLAGS=-ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/scipp-25.08.0 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix
+CHECKSYMS=arm64-apple-darwin20.0.0-checksyms
+CLANG=arm64-apple-darwin20.0.0-clang
+CMAKE_ARGS=-DCMAKE_AR=$BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-ar -DCMAKE_CXX_COMPILER_AR=$BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-ar -DCMAKE_C_COMPILER_AR=$BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-ar -DCMAKE_RANLIB=$BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-ranlib -DCMAKE_CXX_COMPILER_RANLIB=$BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-ranlib -DCMAKE_C_COMPILER_RANLIB=$BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-ranlib -DCMAKE_LINKER=$BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-ld -DCMAKE_STRIP=$BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-strip -DCMAKE_INSTALL_NAME_TOOL=$BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-install_name_tool -DCMAKE_LIBTOOL=$BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-libtool -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_SYSROOT=/Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_FIND_APPBUNDLE=LAST -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_PROGRAM_PATH=$BUILD_PREFIX/bin;$PREFIX/bin
+CMAKE_PREFIX_PATH=:$PREFIX
+CONDA_BUILD_SYSROOT=/Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+CONDA_TOOLCHAIN_BUILD=arm64-apple-darwin20.0.0
+CONDA_TOOLCHAIN_HOST=arm64-apple-darwin20.0.0
+CPP=arm64-apple-darwin20.0.0-clang-cpp
+CPPFLAGS=-D_FORTIFY_SOURCE=2 -isystem $PREFIX/include -mmacosx-version-min=11.0
+CPP_FOR_BUILD=$BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-clang-cpp
+DEBUG_CFLAGS=-ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -Og -g -Wall -Wextra -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/scipp-25.08.0 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix
+HOST=arm64-apple-darwin20.0.0
+INSTALL_NAME_TOOL=arm64-apple-darwin20.0.0-install_name_tool
+LD=arm64-apple-darwin20.0.0-ld
+LDFLAGS=-Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,$PREFIX/lib -L$PREFIX/lib
+LDFLAGS_LD=-headerpad_max_install_names -dead_strip_dylibs -rpath $PREFIX/lib -L$PREFIX/lib
+LIBTOOL=arm64-apple-darwin20.0.0-libtool
+LIPO=arm64-apple-darwin20.0.0-lipo
+MESON_ARGS=-Dbuildtype=release --prefix=$PREFIX -Dlibdir=lib
+NM=arm64-apple-darwin20.0.0-nm
+NMEDIT=arm64-apple-darwin20.0.0-nmedit
+OBJC=arm64-apple-darwin20.0.0-clang
+OBJC_FOR_BUILD=$BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-clang
+OTOOL=arm64-apple-darwin20.0.0-otool
+PAGESTUFF=arm64-apple-darwin20.0.0-pagestuff
+RANLIB=arm64-apple-darwin20.0.0-ranlib
+REDO_PREBINDING=arm64-apple-darwin20.0.0-redo_prebinding
+SDKROOT=/Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
+SEGEDIT=arm64-apple-darwin20.0.0-segedit
+SEG_ADDR_TABLE=arm64-apple-darwin20.0.0-seg_addr_table
+SEG_HACK=arm64-apple-darwin20.0.0-seg_hack
+SIZE=arm64-apple-darwin20.0.0-size
+STRINGS=arm64-apple-darwin20.0.0-strings
+STRIP=arm64-apple-darwin20.0.0-strip
+_CONDA_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_arm64_apple_darwin20_0_0
+ac_cv_func_malloc_0_nonnull=yes
+ac_cv_func_realloc_0_nonnull=yes
+build_alias=arm64-apple-darwin20.0.0
+host_alias=arm64-apple-darwin20.0.0
INFO: activate_clangxx_osx-arm64.sh made the following environmental changes:
+CLANGXX=arm64-apple-darwin20.0.0-clang++
+CXX=arm64-apple-darwin20.0.0-clang++
+CXXFLAGS=-ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/scipp-25.08.0 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix
+CXX_FOR_BUILD=$BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-clang++
+DEBUG_CXXFLAGS=-ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -Og -g -Wall -Wextra -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/scipp-25.08.0 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix
-- Got version from git: 25.08.0.dev62
-- The CXX compiler identification is Clang 19.1.7
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: $BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: $PREFIX/bin/python (found suitable version "3.13.9", minimum required is "3.8") found components: Interpreter
-- Downloading conan.cmake from https://github.com/conan-io/cmake-conan
-- CPM: Adding package units@0.13.1 (v0.13.1)
-- The C compiler identification is Clang 19.1.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: $BUILD_PREFIX/bin/arm64-apple-darwin20.0.0-clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- adding library units::units
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
-- Could NOT find Threads (missing: Threads_FOUND) 
-- Found Boost: $PREFIX/include (found suitable version "1.89.0", minimum required is "1.67")

@MridulS
Copy link
Member Author

MridulS commented Oct 22, 2025

The builds for conda and pypi are available in the last commit https://github.com/scipp/scipp/actions/runs/18720040713?pr=3777

@MridulS MridulS enabled auto-merge (squash) October 23, 2025 07:19
@MridulS MridulS merged commit c0e3f71 into main Oct 23, 2025
4 checks passed
@MridulS MridulS deleted the cpm_llnl_units branch October 23, 2025 07:29
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.

4 participants