/ proof-of-concept / matmul-bench
Sign in
proof-of-concept / matmul-bench

Build libFLAME/BLIS from source in CI instead of vendoring binaries

Deploy to GitHub Pages · #2 · push by owner · main · bfc4e78 · .github/workflows/deploy.yml ·
build 1m 28sRaw log
Runner
Job build on ubuntu-latest
Checking out concept-collection/matmul-bench at bfc4e78e
Container started from catthehacker/ubuntu:act-latest
Cleaning up the job container
Checkout0s
▸ Checkout
Using cofferdam's built-in checkout (actions/checkout@v4)
concept-collection/matmul-bench is already checked out at bfc4e78e (cofferdam checks out before the job starts)
Setup Node6s
▸ Setup Node
Using cached actions/setup-node@v4 (49933ea5288c)
Attempting to download 20...
(node:56) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Bad credentials
Falling back to download directly from Node
Acquiring 20.20.2 - x64 from https://nodejs.org/dist/v20.20.2/node-v20.20.2-linux-x64.tar.gz
Extracting ...
[command]/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword --overwrite -C /cofferdam/temp/6dad1fd1-f57a-473e-a7c2-098bd4341bc2 -f /cofferdam/temp/4f3ea861-7633-48e5-b8f6-16e4e58dcb93
Adding to the cache ...
Done
▾ Environment details
node: v20.20.2
npm: 10.8.2
yarn: 
WARNING: Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if Actions cache service is enabled or not.
Install dependencies3s
▸ Install dependencies

added 106 packages, and audited 107 packages in 2s

24 packages are looking for funding
  run `npm fund` for details

2 high severity vulnerabilities

To address all issues, run:
  npm audit fix

Run `npm audit` for details.
Setup emsdk1m 5s
▸ Setup emsdk
Downloading mymindstorm/setup-emsdk@v14 (6ab9eb1bda25)
WARNING: Failed to restore: getCacheEntry failed: Cache Service Url not found, unable to restore cache.
WARNING: No cached files found at path "/cofferdam/workspace/emsdk-cache" - downloading and caching emsdk.
[command]/usr/bin/unzip -o -q /cofferdam/temp/e1db61fb-692a-459f-9127-a18ef7ac12b6
[command]/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/emsdk update
Downloading: /cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/downloads/HEAD.zip from https://github.com/emscripten-core/emsdk/archive/HEAD.zip, 220949 Bytes
 [----------------------------------------------------------------------------]
Unpacking '/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/downloads/HEAD.zip' to '/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main'
[command]/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/emsdk install 5.0.4
Resolving SDK version '5.0.4' to 'sdk-releases-54d45123d7ad4aa96ce57e74a1f3f9d1c54e6402-64bit'
Installing SDK 'sdk-releases-54d45123d7ad4aa96ce57e74a1f3f9d1c54e6402-64bit'..
Installing tool 'node-24.19.0-64bit'..
Downloading: /cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/downloads/node-v24.19.0-linux-x64.tar.xz from https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/node-v24.19.0-linux-x64.tar.xz, 31633904 Bytes
 [----------------------------------------------------------------------------]
Unpacking '/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/downloads/node-v24.19.0-linux-x64.tar.xz' to '/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/node/24.19.0_64bit'
Done installing tool 'node-24.19.0-64bit'.
Installing tool 'releases-54d45123d7ad4aa96ce57e74a1f3f9d1c54e6402-64bit'..
Downloading: /cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/downloads/54d45123d7ad4aa96ce57e74a1f3f9d1c54e6402-wasm-binaries.tar.xz from https://storage.googleapis.com/webassembly/emscripten-releases-builds/linux/54d45123d7ad4aa96ce57e74a1f3f9d1c54e6402/wasm-binaries.tar.xz, 354827360 Bytes
 [----------------------------------------------------------------------------]
Unpacking '/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/downloads/54d45123d7ad4aa96ce57e74a1f3f9d1c54e6402-wasm-binaries.tar.xz' to '/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/upstream'
Done installing tool 'releases-54d45123d7ad4aa96ce57e74a1f3f9d1c54e6402-64bit'.
Done installing SDK 'sdk-releases-54d45123d7ad4aa96ce57e74a1f3f9d1c54e6402-64bit'.
[command]/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/emsdk activate 5.0.4
Resolving SDK version '5.0.4' to 'sdk-releases-54d45123d7ad4aa96ce57e74a1f3f9d1c54e6402-64bit'
Setting the following tools as active:
   node-24.19.0-64bit
   releases-54d45123d7ad4aa96ce57e74a1f3f9d1c54e6402-64bit

Next steps:
- To conveniently access emsdk tools from the command line,
  consider adding the following directories to your PATH:
    /cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main
    /cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/upstream/emscripten
- This can be done for the current shell by running:
    source "/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/emsdk_env.sh"
- Configure emsdk in your shell startup scripts by running:
    echo 'source "/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/emsdk_env.sh"' >> $HOME/.bash_profile
[command]/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/emsdk construct_env
Setting up EMSDK environment (suppress these messages with EMSDK_QUIET=1)
Adding directories to PATH:
PATH += /cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main
PATH += /cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/upstream/emscripten

Setting environment variables:
PATH = /cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main:/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/upstream/emscripten:/cofferdam/tools/node/20.20.2/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
EMSDK = /cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main
EMSDK_NODE = /cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/node/24.19.0_64bit/bin/node
export PATH="/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main:/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/upstream/emscripten:/cofferdam/tools/node/20.20.2/x64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin";
export EMSDK="/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main";
export EMSDK_NODE="/cofferdam/temp/317d4ac9-893e-49c7-9bdc-f9f79f9c42b5/emsdk-main/node/24.19.0_64bit/bin/node";
[command]/usr/bin/tar --posix -cf cache.tzst --exclude cache.tzst -P -C /cofferdam/workspace --files-from manifest.txt --use-compress-program zstdmt
WARNING: Failed to save: reserveCache failed: Cache Service Url not found, unable to restore cache.
Clone libflame2wasm (sibling)1s
▸ Clone libflame2wasm (sibling)
Cloning into '/cofferdam/workspace/../libflame2wasm'...
Cache libflame2wasm libraries2s
▸ Cache libflame2wasm libraries
Downloading actions/cache@v4 (0057852bfaa8)
[warning]Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if Actions cache service is enabled or not.
Otherwise please upgrade to GHES version >= 3.5 and If you are also using Github Connect, please unretire the actions/cache namespace before upgrade (see https://docs.github.com/en/enterprise-server@3.5/admin/github-actions/managing-access-to-actions-from-githubcom/enabling-automatic-access-to-githubcom-actions-using-github-connect#automatic-retirement-of-namespaces-for-actions-accessed-on-githubcom)
Build libflame2wasm libraries8s
▸ Build libflame2wasm libraries
==> [1/4] libflame (single-threaded)
Cloning into 'libflame'...
emconfigure: ./configure --prefix=/cofferdam/libflame2wasm/install --disable-autodetect-f77-ldflags --disable-autodetect-f77-name-mangling --enable-builtin-blas --enable-lapack2flame --enable-legacy-lapack --disable-dynamic-build --enable-static-build --enable-vector-intrinsics=none CC=emcc AR=emar RANLIB=emranlib in directory /cofferdam/libflame2wasm/libflame
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for GNU make... make
checking for GNU bash... bash
checking whether user requested a specific C compiler... no
configure: CC environment variable is set to emcc, which will override --with-cc option and default search list for C compiler.
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether emcc accepts -g... yes
checking for emcc option to accept ISO C89... none needed
configure: setting the CC_VENDOR environment variable to emcc.
checking whether user requested a specific Fortran compiler... no
checking for gfortran... no
checking for f77... no
checking for g77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgfortran... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking for nagfor... no
checking whether we are using the GNU Fortran compiler... no
checking whether  accepts -g... no
configure: error: Could not locate any of the following Fortran compilers:   gfortran f77 g77 xlf frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor. Cannot continue without a Fortran compiler.
Process completed with exit code 1.
Build custom wasm kernels

Build BLIS wasm modules

Build

Upload artifact

↑↓ move↵openescclose