clearlinux / make-fmv-patch Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
If one envisages using the FMV patch generator as part of CMake (or any other build process), it would be of benefit to be able to generate a single .patch file for an entire project.
With a large project, I can generate a single log.txt file yet upon using the FMV generator, I would have an output of potentially many, many patch files. It would be terrific if the patch generator had an option to generate a single .patch file:
One concern may be that these files just may get very large, but considering that only a single line is added, this may not be a problem.
In the README.md, it would be good to elaborate on the software licensing including any restrictions placed on using this tool.
Could a representative from Intel contribute to this?
The inserted attributes prevent compilation on, for example, arm.
Wrapping the inserted line in a check for x86 platforms will preserve portability:
...
#if defined(i386__) || defined(__i386__) || defined(_M_IX86) || defined(_M_IX86) || defined(__X86__) || defined(_X86_) || defined(__I86__) || defined(__INTEL__) || defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64) || defined(_M_AMD64)
__attribute__((target_clones("avx2","arch=atom","default")))
#endif
...
Defines taken from: https://sourceforge.net/p/predef/wiki/Architectures/
I believe that the pattern matching for files in the script is limited to .c files. Could this be extended to support additional file types? Immediately, I can see inclusion of .cpp files to be of benefit.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.