Skip to content

Commit

Permalink
Use mpicxx for builds in Linux/macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
folmos-at-orange committed Apr 3, 2024
1 parent bcaa736 commit 8584553
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"hidden": true,
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++"
"CMAKE_CXX_COMPILER": "mpicxx"
}
},
{
Expand All @@ -89,7 +89,7 @@
"hidden": true,
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++"
"CMAKE_CXX_COMPILER": "mpicxx"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion packaging/conda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ then
else
CMAKE_PRESET="linux-gcc-release"
fi
cmake --preset $CMAKE_PRESET -DBUILD_JARS=OFF -DTESTING=OFF -DCMAKE_CXX_COMPILER="$PREFIX/bin/mpicxx"
cmake --fresh --preset $CMAKE_PRESET -DBUILD_JARS=OFF -DTESTING=OFF
cmake --build --preset $CMAKE_PRESET --parallel --target MODL MODL_Coclustering

# Copy the MODL binaries to the Conda PREFIX path
Expand Down

0 comments on commit 8584553

Please sign in to comment.