Giter VIP home page Giter VIP logo

pacific's Introduction

pacific: a toy runtime for ark compiler

方舟编译器的Runtime参考实现。

这不是华为官方项目,是PLCT实验室的培训项目。

PLCT实验室全称是程序语言与编译技术实验室,

隶属于**科学院软件研究所智能软件研究中心。

本项目采用 Apache 协议。

TODO:确认方舟编译器使用的木兰协议跟Apache协议的相容性。

编译 pacific

首先确保你安装了 aarch64 gnu linux 工具链。比如在 Ubuntu 18.04 上,可以执行 apt-get install gcc-8-aarch64-linux-gnu。其实确保你安装了 aarch64 qemu。可以通过 make aarch64-qemu 来安装。二者安装完毕后 make 或者 make pacific 即会编译出 pacific。

运行 pacific

make sample 将使用 pacific 加载一个从方舟编译器生成的 Hello World 汇编文件,你也可以通过 make sample Q V=1 或者直接查看 Makefile 来理解 pacific 是如何运行。doc 目录下也有简单的设计文档。

pacific's People

Contributors

lazyparser 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.