GithubHelp home page GithubHelp logo

fifield / cmakemodules Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xilinx/cmakemodules

0.0 0.0 0.0 51 KB

License: BSD 3-Clause "New" or "Revised" License

C++ 0.16% Python 4.03% CMake 95.81%

cmakemodules's Introduction

cmakeModules

This repository contains helpful CMake modules for a variety of Xilinx build flows.

Current release

The current release is meant to be used with the Xilinx Vitis 2022.1 tools.

There are two main toolchains:

(1) Vitis cross compiler toolchain (toolchain_vitis_crosscomp_arm.cmake)

(2) Clang cross compiler toolchain (toolchain_clang_crosscomp_arm.cmake)

The toolchains are invoked as most standard toolchains but with two additionally defined parameters (Arch, Sysroot).

$cmake .. -DCMAKE_TOOLCHAIN_FILE=<path to cmakeModules>/<target toolchain file> -DArch=<arm32|arm64> -DSysroot=<absoluate path to sysroot folder>

In both cases, the sysroot folder can be the default Vitis sysroot, a Petalinux generated sysroot or a standard Ubuntu-based sysroot like those built by PYNQ. In the case when you're working with more custom sysroots like Vitis or Petalinux, you should use the toolchain toolchain_clang_crosscomp_arm_petalinux.cmake which provides additional guidance to find the necessary libraries. Note that this file may need to be edited depending if you're using 2022.1 or an older tool version. See the toolchain_clang_crosscomp_arm_petalinux.cmake header for more information.

cmakemodules's People

Contributors

jackl-xilinx avatar stephenneuendorffer avatar fifield avatar denolf avatar mattsnow-amd avatar

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.