Skip to content

Commit 153baf3

Browse files
committed
add RANLIB, use micromamba github action
1 parent aab30cb commit 153baf3

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

.github/workflows/posix.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,11 @@ jobs:
9999
brew reinstall gcc
100100
brew install coreutils
101101
brew install llvm
102-
ls /usr/local/opt/llvm/bin
102+
ls /usr/local/Cellar/llvm
103103
echo "/usr/local/opt/llvm/bin" >>$GITHUB_PATH
104104
echo "CC=/usr/local/opt/llvm/bin/clang" >> $GITHUB_ENV;
105+
echo "RANLIB=/usr/bin/ranlib" >> $GITHUB_ENV;
106+
105107
106108
- name: Print some Environment variable
107109
run: |
@@ -164,9 +166,19 @@ jobs:
164166
name: openblas-${{ matrix.os }}-${{ matrix.PLAT }}-${{ matrix.INTERFACE64 }}-${{ matrix.MB_ML_LIBC }}-${{ matrix.MB_ML_VER }}
165167
path: libs/openblas*.tar.gz
166168

167-
- uses: conda-incubator/[email protected]
169+
- name: install micromamba
170+
uses: mamba-org/setup-micromamba@b09ef9b599704322748535812ca03efb2625677b
168171
with:
169-
conda-remove-defaults: true
172+
# for installation of anaconda-client, required for upload to
173+
# anaconda.org
174+
# Note that this step is *after* specific pythons have been used to
175+
# build and test the wheel
176+
# for installation of anaconda-client, for upload to anaconda.org
177+
# environment will be activated after creation, and in future bash steps
178+
init-shell: bash
179+
environment-name: upload-env
180+
create-args: >-
181+
anaconda-client
170182
171183
- name: Upload
172184
# see https://github.com/marketplace/actions/setup-miniconda for why
@@ -175,6 +187,5 @@ jobs:
175187
env:
176188
ANACONDA_SCIENTIFIC_PYTHON_UPLOAD: ${{ secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD }}
177189
run: |
178-
conda install -y -c conda-forge anaconda-client
179190
source tools/upload_to_anaconda_staging.sh
180191
upload_wheels

tools/build_steps.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,6 @@ function do_build_lib {
207207
echo "the utest dsdot:dsdot_n_1 have been temporarily disabled."
208208
fi
209209
echo start building
210-
echo "========== gcc ============="
211-
echo path $PATH
212-
echo gcc path $(which gcc)
213-
echo gcc version $(gcc --version)
214-
echo "========== gcc ============="
215210
if [ "$dynamic_list" != "" ]; then
216211
CFLAGS="$CFLAGS -fvisibility=protected -Wno-uninitialized" \
217212
make BUFFERSIZE=20 DYNAMIC_ARCH=1 QUIET_MAKE=1 \

0 commit comments

Comments
 (0)