Skip to content

Commit

Permalink
[email protected]_py312: add open-mpi to the cmake prefix path, add linux…
Browse files Browse the repository at this point in the history
… cmake arg use external kdl

Closes #660.

Signed-off-by: Chris <[email protected]>
  • Loading branch information
ipatch committed Dec 25, 2024
1 parent a985511 commit 18e2283
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Formula/[email protected]_py312.rb
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def install
cmake_prefix_paths << Formula["mesa"].prefix
cmake_prefix_paths << Formula["mesa-glu"].prefix
cmake_prefix_paths << Formula["openblas"].prefix
cmake_prefix_paths << Formula["openmpi"].prefix
end

cmake_prefix_path_string = cmake_prefix_paths.join(";")
Expand Down Expand Up @@ -303,6 +304,7 @@ def install
-GNinja
-DCMAKE_MAKE_PROGRAM=#{ninja_bin}
-DX11_X11_INCLUDE_PATH=#{hbp}/opt/libx11/include/X11
-DFREECAD_USE_EXTERNAL_KDL=1
-DCMAKE_C_COMPILER=#{clang_cc}
-DCMAKE_CXX_COMPILER=#{clang_cxx}
-DCMAKE_LINKER=#{clang_ld}
Expand Down

0 comments on commit 18e2283

Please sign in to comment.