Git Product home page Git Product logo

make-fmv-patch's People

Contributors

artoria2e5 avatar mkroening avatar mrkz avatar sfblackl-intel avatar stefanhamminga avatar victorrodriguez avatar zerodefect avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

make-fmv-patch's Issues

Generate single patch file for all files

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:

  • Easier to share a patch for a large project with ohers
  • Easier to manage on a few levels (ie. no recursing through directory structures).

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.

Describe licensing in README.md

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?

Wrap attributes in platform checks to preserve portability

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/

Support C++ files with cpp extension

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.