Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions Formula/a/adios2.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
class Adios2 < Formula
desc "Next generation of ADIOS developed in the Exascale Computing Program"
homepage "https://adios2.readthedocs.io"
url "https://github.com/ornladios/ADIOS2/archive/refs/tags/v2.11.0.tar.gz"
sha256 "0a2bd745e3f39745f07587e4a5f92d72f12fa0e2be305e7957bdceda03735dbf"
url "https://github.com/ornladios/ADIOS2/archive/refs/tags/v2.12.0.tar.gz"
sha256 "c59aeb75f3ea9949c4ae2d597115536ee593dedb50592784917ba8d29c8a3b34"
license "Apache-2.0"
revision 3
head "https://github.com/ornladios/ADIOS2.git", branch: "master"

livecheck do
Expand All @@ -31,6 +30,7 @@
depends_on "libpng"
depends_on "libsodium"
depends_on "mpi4py"
depends_on "nanobind"

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.

nanobind is usually a replacement for pybind11 so will want to check if pybind11 is still used and if actually runtime or build-only

depends_on "numpy"
depends_on "open-mpi"
depends_on "openssl@3"
Expand All @@ -57,17 +57,11 @@
# Apple clang version 14.0.0 (clang-1400.0.29.202)
fails_with :clang if DevelopmentTools.clang_build_version == 1400

# Upstream PR: https://github.com/ornladios/ADIOS2/pull/4791
patch do
url "https://github.com/ornladios/ADIOS2/commit/1dcffdf15a90282549ce679e96ac59f35e93acde.patch?full_index=1"
sha256 "1133316f038abed99824d00584b70454122083cf0e2717a1322511b91a14c4dd"
end

def python3
"python3.14"
end

def install

Check failure on line 64 in Formula/a/adios2.rb

View workflow job for this annotation

GitHub Actions / Linux arm64

`brew install --verbose --formula --build-bottle adios2` failed on Linux arm64!

[ 71%] Building CXX object source/utils/CMakeFiles/adios_reorganize.dir/Utils.cpp.o cd /var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/build/source/utils && /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/g++-12 -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX -I/var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/source -I/var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/build/source -O3 -DNDEBUG -std=gnu++17 -MD -MT source/utils/CMakeFiles/adios_reorganize.dir/Utils.cpp.o -MF CMakeFiles/adios_reorganize.dir/Utils.cpp.o.d -o CMakeFiles/adios_reorganize.dir/Utils.cpp.o -c /var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/source/utils/Utils.cpp [ 71%] Linking CXX executable ../../../../bin/adios2_remote_server cd /var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/build/source/adios2/toolkit/remote && /home/linuxbrew/.linuxbrew/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/adios2_remote_server.dir/link.txt --verbose=1 /home/linuxbrew/.linuxbrew/Cellar/binutils/2.46.0/bin/ld: /var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/build/lib/libadios2_dill.so.2.12: undefined reference to `sys_icache_invalidate' collect2: error: ld returned 1 exit status /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/g++-12 -O3 -DNDEBUG -Wl,--dependency-file=CMakeFiles/adios2_remote_server.dir/link.d CMakeFiles/adios2_remote_server.dir/remote_server.cpp.o -o ../../../../bin/adios2_remote_server -Wl,-rpath,/var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/build/lib: ../../../../lib/libadios2_core.so.2.12.0 ../../../../lib/libadios2_evpath.so.2.12.0 ../../../../lib/libadios2_ffs.so.2.12.0 ../../../../lib/libadios2_atl.so.2.12.0 -ldl /home/linuxbrew/.linuxbrew/lib/libpugixml.so.1.15 -Wl,-rpath-link,/var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/build/lib make[2]: *** [source/adios2/toolkit/remote/CMakeFiles/adios2_remote_server.dir/build.make:109: bin/adios2_remote_server] Error 1 make[2]: Leaving directory '/var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/build' make[1]: *** [CMakeFiles/Makefile2:1387: source/adios2/toolkit/remote/CMakeFiles/adios2_remote_server.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 71%] Building CXX object source/adios2/CMakeFiles/adios2_core_mpi.dir/engine/ssc/SscWriter.cpp.o cd /var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/build/source/adios2 && /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/g++-12 -DADIOS2_USE_MPI -DMPICH_SKIP_MPICXX -DOMPI_SKIP_MPICXX -Dadios2_core_mpi_EXPORTS -I/var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/source -I/var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/build/source -I/var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/thirdparty/perfstubs/perfstubs -I/var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/build/thirdparty/perfstubs/perfstubs -isystem /home/linuxbrew/.linuxbrew/Cellar/open-mpi/5.0.9/include -isystem /var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/build/thirdparty/perfstubs -O3 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/adios2/CMakeFiles/adios2_core_mpi.dir/engine/ssc/SscWriter.cpp.o -MF CMakeFiles/adios2_core_mpi.dir/engine/ssc/SscWriter.cpp.o.d -o CMakeFiles/adios2_core_mpi.dir/engine/ssc/SscWriter.cpp.o -c /var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/source/adios2/engine/ssc/SscWriter.cpp [ 71%] Linking CXX executable ../../bin/adios2_reorganize cd /var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/build/source/utils && /home/linuxbrew/.linuxbrew/opt/cmake/bin/cmake -E cmake_link_script CMakeFiles/adios_reorganize.dir/link.txt --verbose=1 /home/linuxbrew/.linuxbrew/Cellar/binutils/2.46.0/bin/ld: /var/tmp/adios2-20260417-7719-do077z/ADIOS2-2.12.0/build/lib/libadios2_dill.so.2.12: undefined reference to `sys_icache_invalidate' collect2: error: ld returned 1 exit status /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/g++-12 -O3 -DNDEBUG -Wl,--dependency-file=CMakeFiles/adios_reorganize.dir/link.d CMakeFiles/adios_reorganize.dir/adios_reorganize/main.cpp.o CMakeFiles/adios_reorganize.dir/adios_reorganize/Reorganize.cpp.o CMakeFiles/adios_reorgani
# CMake FortranCInterface_VERIFY fails with LTO on Linux due to different GCC and GFortran versions
ENV.append "FFLAGS", "-fno-lto" if OS.linux?

Expand Down Expand Up @@ -101,6 +95,7 @@
-DADIOS2_BUILD_TESTING=OFF
-DADIOS2_BUILD_EXAMPLES=OFF
-DADIOS2_USE_EXTERNAL_DEPENDENCIES=ON
-DADIOS2_USE_EXTERNAL_PERFSTUBS=OFF
]

system "cmake", "-S", ".", "-B", "build", *args, *std_cmake_args
Expand Down
Loading