Comments (7)
The Makefile keeps a list of all objects in the MK_BLIS_OBJS
variable, so you could hack the Makefile to print this out. However, some files will be compiled with different flags. If you're only building one sub-configuration (e.g. configure haswell
) then you could get away with a single set of flags either pulled from BLIS or specified externally.
Alternatively, you could use a tool like bear to instrument the build and construct a compilation database.
from blis.
FYI in addition to object files, there are also lists (note plural) of source files which are used to generate the object list. I can't recall all of these ATM but you should be able to backtrack in the Makefile and find them.
from blis.
Yeah I could do it manually, but if a flat_sources.py
is provided officially then things could be easier.
from blis.
Any comment about compiler flags? If it's just a matter of jamming all of the .c files together then we could probably hack something together.
from blis.
You mean if we choose a configure family like arm64
or x86_64
then different sub-families need different compile flag right? We can put limits on possible configurations from the cabal side, so that each cabal flag chooses one single sub-configuration, and in flat_sources.py
this condition is checked too so that it can output a single file with flags needed.
from blis.
You mean if we choose a configure family like
arm64
orx86_64
then different sub-families need different compile flag right?
@winterland1989 Yes, but it actually goes beyond just the sub-configurations needing different compiler flags. Even when just one sub-configuration is targeted, different parts of the framework are compiled with different sets of flags.
To see the full list of possible classes of CFLAGS
used, take a look at the make
functions defined in the section labeled "CFLAGS query functions" within common.mk
.
from blis.
Thanks! I'll try a implement a different way to build blis with cabal then.
from blis.
Related Issues (20)
- RISC-V Target is missing support for -mabi=lp64d based systems HOT 8
- How to cross-compile libraries for use on Android? HOT 14
- Cortex-A72 Flops? HOT 4
- libblis.so.4.loc Problem! HOT 3
- hpx runtime support breaks in testsuite HOT 1
- I get "undefined reference to `__tls_get_addr'" when linking using the gnu toolchain HOT 5
- compile blis on windows HOT 1
- Discussion for new level-1v/-1m-like operations HOT 23
- Multithreading.md does not introduce include file needed for function calls HOT 1
- make install doesn't work with new install directory HOT 2
- When could you support AMD Zen4 arch? HOT 7
- Discrepancy in Haswell Results for Dgemm HOT 5
- cspan: Suggesting an ergonomic C99 API with multidimensional matrices for BLIS HOT 10
- "Missing" symbols relative to OpenBLAS HOT 16
- triggers segfault in "make check" process with configuration --disable-sba-pools on CentOS (SkylakeX)
- Default BLIS_[MNK]T values never actually set HOT 9
- fatal error: malloc.h: No such file or directory HOT 2
- Header path for default source build and Debian should match HOT 6
- bli_gemmsup_rd_haswell_asm_d6x8m.c:1296:1:error:bp cannot be used in ams here HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blis.