Skip to content

Instantly share code, notes, and snippets.

@ararslan
Created May 14, 2018 23:29
Show Gist options
  • Save ararslan/af959e918dce3f93844edd069173db19 to your computer and use it in GitHub Desktop.
Save ararslan/af959e918dce3f93844edd069173db19 to your computer and use it in GitHub Desktop.
BLIS build log on OpenBSD
$ ./configure --enable-blas --enable-cblas --enable-shared auto
configure: detected OpenBSD kernel version 6.2.
configure: compiler search list is: cc clang gcc.
configure: using 'cc' compiler.
configure: found cc version 4.2.1 (maj: 4, min: 2, rev: 1).
configure: checking for blacklisted configurations due to cc 4.2.1.
configure: found assembler ('as') version 2.17 (maj: 2, min: 17, rev: ).
configure: checking for blacklisted configurations due to as 2.17.
configure: warning: assembler ('as' 2.17) does not support 'knl'; adding to blacklist.
configure: warning: assembler ('as' 2.17) does not support 'skx'; adding to blacklist.
configure: configuration blacklist:
configure: knl skx
configure: reading configuration registry...done.
configure: determining default version string.
configure: found '.git' directory; assuming git clone.
configure: executing: git describe --tags.
configure: got back 0.3.2-26-g20af119f.
configure: truncating to 0.3.2-26.
configure: starting configuration of BLIS 0.3.2-26.
configure: configuring with official version string.
configure: found shared library .so version '0.0.0'.
configure: .so major version: 0
configure: .so minor.build version: 0.0
configure: automatic configuration requested.
./frame/base/bli_cpuid.c:255:9: warning: comparison of 0 <= unsigned expression is always true [-Wtautological-compare]
( 0x00 <= model && model <= 0xff );
~~~~ ^ ~~~~~
1 warning generated.
configure: hardware detection driver returned 'sandybridge'.
configure: checking configuration against contents of 'config_registry'.
configure: configuration 'sandybridge' is registered.
configure: 'sandybridge' is defined as having the following sub-configurations:
configure: sandybridge
configure: which collectively require the following kernels:
configure: sandybridge
configure: checking sub-configurations:
configure: 'sandybridge' is registered...and exists.
configure: checking sub-configurations' requisite kernels:
configure: 'sandybridge' kernels...exist.
configure: no install prefix option given; defaulting to '/home/alex/blis'.
configure: no install libdir option given; defaulting to PREFIX/lib.
configure: no install includedir option given; defaulting to PREFIX/include.
configure: final installation directories:
configure: libdir: /home/alex/blis/lib
configure: includedir: /home/alex/blis/include
configure: debug symbols disabled.
configure: disabling verbose make output. (enable with 'make V=1'.)
configure: building BLIS as both static and shared libraries.
configure: threading is disabled.
configure: internal memory pools for packing buffers are enabled.
configure: libmemkind not found; disabling.
configure: the BLAS compatibility layer is enabled.
configure: the CBLAS compatibility layer is enabled.
configure: the internal integer size is automatically determined.
configure: the BLAS/CBLAS interface integer size is 32-bit.
configure: creating ./config.mk from ./build/config.mk.in
configure: creating ./bli_config.h from ./build/bli_config.h.in
configure: creating ./obj/sandybridge
configure: creating ./obj/sandybridge/config
configure: creating ./obj/sandybridge/config/sandybridge
configure: creating ./obj/sandybridge/kernels
configure: creating ./obj/sandybridge/kernels/sandybridge
configure: creating ./obj/sandybridge/ref_kernels
configure: creating ./obj/sandybridge/ref_kernels/sandybridge
configure: creating ./obj/sandybridge/frame
configure: creating ./obj/sandybridge/blastest
configure: creating ./obj/sandybridge/testsuite
configure: creating ./lib/sandybridge
configure: creating ./include/sandybridge
configure: mirroring ./config/sandybridge to ./obj/sandybridge/config/sandybridge
configure: mirroring ./kernels/sandybridge to ./obj/sandybridge/kernels/sandybridge
configure: mirroring ./ref_kernels to ./obj/sandybridge/ref_kernels/sandybridge
configure: mirroring ./frame to ./obj/sandybridge/frame
configure: creating makefile fragments in ./config/sandybridge
configure: creating makefile fragments in ./kernels/sandybridge
configure: creating makefile fragments in ./ref_kernels
configure: creating makefile fragments in ./frame
configure: configured to build within top-level directory of source distribution.
$ gmake
Generating monolithic blis.h........................................................................................................................................................................................................................................................................................................................................................................................................................................................
Generated include/sandybridge/blis.h
Compiling obj/sandybridge/config/sandybridge/bli_cntx_init_sandybridge.o ('sandybridge' CFLAGS for config code)
Compiling obj/sandybridge/kernels/sandybridge/3/bli_gemm_sandybridge_asm_d8x4.o ('sandybridge' CFLAGS for kernels)
cc1: error: unrecognized command line option "-mavx"
kernels/sandybridge/3/bli_gemm_sandybridge_asm_d8x4.c:1: error: bad value (corei7-avx) for -march= switch
compilation terminated due to -Wfatal-errors.
gmake: *** [Makefile:563: obj/sandybridge/kernels/sandybridge/3/bli_gemm_sandybridge_asm_d8x4.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment