From c5d55a996fed6b657670d39f20bb92fa7a764393 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Tue, 7 Nov 2023 17:07:01 -0600 Subject: [PATCH] Fix power flag --- recipe/install_scripts.sh | 2 +- recipe/meta.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/install_scripts.sh b/recipe/install_scripts.sh index 9eb0664..a989518 100644 --- a/recipe/install_scripts.sh +++ b/recipe/install_scripts.sh @@ -7,7 +7,7 @@ if [[ "${family}" == "x86_64" ]]; then flag="-march=x86-64-v${level}" fi elif [[ "${family}" == "ppc64le" ]]; then - flag="-mcpu=${level}" + flag="-mcpu=power${level}" fi cat << EOF > "${PREFIX}/etc/conda/activate.d/~activate-${family}-level.sh" diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 6510ab9..f5f64dc 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,4 +1,4 @@ -{% set number = 0 %} +{% set number = 1 %} package: name: microarch-level-split