File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed
Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ sources = \
4141# MCA_BUILD_ompi_<framework>_<component>_DSO AM_CONDITIONAL to indicate
4242# which way this component should be built.
4343
44- if MCA_BUILD_ompi_op_arm_sve_op_DSO
45- component_noinst =
44+ if MCA_BUILD_ompi_op_sve_DSO
45+ component_noinst =
4646component_install = mca_op_sve.la
4747else
4848component_install =
49- component_noinst = component_noinst
49+ component_noinst = libmca_op_sve.la
5050endif
5151
5252# Specific information for DSO builds.
Original file line number Diff line number Diff line change 1717# We can always build, unless we were explicitly disabled.
1818AC_DEFUN([MCA_ompi_op_sve_CONFIG],[
1919 AC_CONFIG_FILES([ompi/mca/op/sve/Makefile])
20- [$1 ],
20+ case " ${host} " in
21+ aarch64)
22+ op_sve_support=" yes" ;;
23+ * )
24+ op_sve_support=" no" ;;
25+ esac
26+ [$1 ]
27+ AM_CONDITIONAL([MCA_BUILD_ompi_op_has_sve_support],
28+ [test " $op_sve_support " = " yes" ])
29+ AC_SUBST(MCA_BUILD_ompi_op_has_sve_support)
30+
31+ AS_IF([test $op_sve_support == " yes" ],
32+ [$1 ],
33+ [$2 ])
2134])dnl
You can’t perform that action at this time.
0 commit comments