Skip to content

Commit c0bac27

Browse files
committed
Add support for building any hypre branch.
1 parent 976a302 commit c0bac27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package-builders/hypre.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,15 @@ pkg_src_dir="hypre"
2828
HYPRE_SOURCE_DIR="$pkg_sources_dir/$pkg_src_dir"
2929
pkg_bld_dir="$OUT_DIR/hypre"
3030
HYPRE_DIR="$pkg_bld_dir"
31+
hypre_branch="${hypre_branch:-master}"
3132
pkg="hypre"
3233

3334

3435
function hypre_clone()
3536
{
3637
pkg_repo_list=("[email protected]:hypre-space/hypre.git"
3738
"https://github.com/hypre-space/hypre.git")
38-
pkg_git_branch="master"
39+
pkg_git_branch="$hypre_branch"
3940
cd "$pkg_sources_dir" || return 1
4041
if [[ -d "$pkg_src_dir" ]]; then
4142
update_git_package

0 commit comments

Comments
 (0)