Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freecad@1.0.0_py312: add llvm to the cmake_prefix_path when building on gnu+linux #657

Closed
wants to merge 3 commits into from
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
5 changes: 4 additions & 1 deletion Formula/freecad@1.0.0_py312.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class FreecadAT100Py312 < Formula

Check warning on line 1 in Formula/freecad@1.0.0_py312.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-15)

No bottle built for freecad@1.0.0_py312!

freecad@1.0.0_py312 has unbottled dependencies, so a bottle will not be built.

Check warning on line 1 in Formula/freecad@1.0.0_py312.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

`brew linkage --cached --test --strict freecad/freecad/freecad@1.0.0_py312` failed on macOS Sonoma (14) on Apple Silicon!

/opt/homebrew/Cellar/freecad@1.0.0_py312/1.0.0/lib/libgtest_main.1.15.2.dylib

Check warning on line 1 in Formula/freecad@1.0.0_py312.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

`brew linkage --cached --test --strict freecad/freecad/freecad@1.0.0_py312` failed on macOS Ventura (13)!

/usr/local/Cellar/freecad@1.0.0_py312/1.0.0/lib/libgtest_main.1.15.2.dylib

Check warning on line 1 in Formula/freecad@1.0.0_py312.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

`brew linkage --cached --test --strict freecad/freecad/freecad@1.0.0_py312` failed on Linux!

open-mpi
desc "Parametric 3D modeler"
homepage "https://www.freecadweb.org"
license "GPL-2.0-only"
Expand Down Expand Up @@ -84,7 +84,6 @@
depends_on "freecad/freecad/swig@4.2.1" => :build
depends_on "gcc" => :build # gfortran req for FEM WB
depends_on "lld" => :build if OS.linux?
depends_on "llvm" => :build if OS.linux?
depends_on "mesa" => :build if OS.linux?
depends_on "ninja" => :build if OS.linux?
depends_on "pkg-config" => :build
Expand All @@ -104,6 +103,8 @@
depends_on "glew"
depends_on "hdf5"
depends_on "icu4c"
depends_on "libomp" if OS.linux?
depends_on "llvm" if OS.linux?
depends_on macos: :high_sierra
depends_on "mesa-glu" if OS.linux?
depends_on "nlohmann-json"
Expand Down Expand Up @@ -191,6 +192,7 @@
cmake_prefix_paths << Formula["hdf5"].prefix
cmake_prefix_paths << Formula["icu4c"].prefix
cmake_prefix_paths << Formula["libjpeg-turbo"].prefix
cmake_prefix_paths << Formula["libomp"].prefix
cmake_prefix_paths << Formula["libpng"].prefix
cmake_prefix_paths << Formula["libtiff"].prefix
cmake_prefix_paths << Formula["lz4"].prefix
Expand All @@ -216,6 +218,7 @@
cmake_prefix_paths << Formula["mesa"].prefix
cmake_prefix_paths << Formula["libx11"].prefix
cmake_prefix_paths << Formula["libxcb"].prefix
cmake_prefix_paths << Formula["llvm"].prefix
end

cmake_prefix_path_string = cmake_prefix_paths.join(";")
Expand Down
Loading