Skip to content

Commit

Permalink
shouldn't build for 32-bit system
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenyutanchan committed Apr 6, 2023
1 parent 88a0f7c commit 9701b79
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions F/FireFly/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,8 @@ cd ${WORKSPACE}/srcdir/firefly
sed -i "s/TARGETS FireFly_static FireFly_shared/TARGETS FireFly_shared/g" CMakeLists.txt
cd $WORKSPACE/srcdir/FireFly-build
EXTRA_CMAKE_FLAGS=()
#help find mpi on mingw, subset of https://github.com/JuliaPackaging/Yggdrasil/blob/b4fdb545c3954cff218051d7520c7418991d3416/T/TauDEM/build_tarballs.jl#L28-L53
if [[ "$target" == x86_64-*-mingw* ]]; then
EXTRA_CMAKE_FLAGS+=(
-DMPI_HOME=${prefix}
-DMPI_GUESS_LIBRARY_NAME=MSMPI
)
EXTRA_CMAKE_FLAGS="-DMPI_CXX_LIBRARIES=msmpi64"
fi
cmake -DWITH_FLINT=true \
Expand All @@ -52,6 +47,7 @@ argument_platform_block = """
# These are the platforms we will build for by default, unless further
# platforms are passed in on the command line
platforms = supported_platforms()
filter!(p -> nbits(p) 32, platforms)
platforms = expand_cxxstring_abis(platforms)
platforms, platform_dependencies = MPI.augment_platforms(platforms)

Expand Down

0 comments on commit 9701b79

Please sign in to comment.