Skip to content

Commit e0e5b35

Browse files
authored
dctmp: Build for riscv64 (#11238)
1 parent 96c7952 commit e0e5b35

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

D/dtcmp/build_tarballs.jl

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ include(joinpath(YGGDRASIL_DIR, "platforms", "mpi.jl"))
77

88
name = "dtcmp"
99
version = v"1.1.5"
10+
# We bumped the version number because we updated the compat entries for MPI to build for new architectures
11+
ygg_version = v"1.1.6"
1012

1113
# Collection of sources required to complete build
1214
sources = [
@@ -51,12 +53,6 @@ filter!(!Sys.iswindows, platforms)
5153

5254
platforms, platform_dependencies = MPI.augment_platforms(platforms)
5355

54-
# Dependency lwgrp has not been built for this platform (fix this!)
55-
filter!(p -> !(arch(p) == "aarch64" && Sys.isfreebsd(p) && p["mpi"] == "openmpi"), platforms)
56-
57-
# Dependency lwgrp has not been built for this platform (fix this!)
58-
filter!(p -> arch(p) != "riscv64", platforms)
59-
6056
# The products that we will ensure are always built
6157
products = [
6258
LibraryProduct("libdtcmp", :libdtcmp),
@@ -66,7 +62,7 @@ products = [
6662
dependencies = [
6763
# To ensure that the correct version of libgfortran is found at runtime
6864
Dependency(PackageSpec(name="CompilerSupportLibraries_jll", uuid="e66e0078-7015-5450-92f7-15fbd957f2ae")),
69-
Dependency("lwgrp_jll"; compat="1.0.6"),
65+
Dependency("lwgrp_jll"; compat="1.0.7"),
7066
]
7167
append!(dependencies, platform_dependencies)
7268

@@ -75,5 +71,5 @@ append!(dependencies, platform_dependencies)
7571
ENV["MPITRAMPOLINE_DELAY_INIT"] = "1"
7672

7773
# Build the tarballs, and possibly a `build.jl` as well.
78-
build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies;
74+
build_tarballs(ARGS, name, ygg_version, sources, script, platforms, products, dependencies;
7975
augment_platform_block, julia_compat="1.6", preferred_gcc_version=v"5")

0 commit comments

Comments
 (0)