Loading ir/README.md→instructions/README.md +0 −0 File moved. View file transformations/README.md 0 → 100644 +24 −0 Original line number Diff line number Diff line ## Getting started with the development of IR Transformations Developers can take advantage of the XACC plugin generator to create all the base boilerplate code required to inject new IR Transformations into the framework. From this directory, run the following: ```bash $ python3 -m xacc generate-plugin -t irtransformation -n example ``` If you now look in the folder that was generated, you will see an transformation subfolder. In that folder will be a stubbed out version of your new IR Transformation. To build and test ```bash $ mkdir build && cd build $ cmake .. -DEXAMPLE_BUILD_TESTS=TRUE $ make -j4 $ ctest ``` We will work on getting the IR Transformation integrated with the qcor build system later. No newline at end of file Loading
transformations/README.md 0 → 100644 +24 −0 Original line number Diff line number Diff line ## Getting started with the development of IR Transformations Developers can take advantage of the XACC plugin generator to create all the base boilerplate code required to inject new IR Transformations into the framework. From this directory, run the following: ```bash $ python3 -m xacc generate-plugin -t irtransformation -n example ``` If you now look in the folder that was generated, you will see an transformation subfolder. In that folder will be a stubbed out version of your new IR Transformation. To build and test ```bash $ mkdir build && cd build $ cmake .. -DEXAMPLE_BUILD_TESTS=TRUE $ make -j4 $ ctest ``` We will work on getting the IR Transformation integrated with the qcor build system later. No newline at end of file