Giter Site home page Giter Site logo

xjs-binutils's Introduction

CI

Binary utilities for Xamarin.Android

This repository hosts builds of select LLVM and custom utilities for Xamarin.Android.

Xamarin.Android uses a handful of utilities from LLVM (llvm-mc assembler, llvm-strip/objcopy and the lld linker), a custom wrapper for llvm-mc which implements the GNU AS interface required by Mono AOT and Xamarin.Android alike. These utilities are used in Xamarin.Android application build process, parts of which entail generation of native assembly for ARM, ARM64, x86 and x86_64 devices. They are also required when using the AOT and Profiled AOT capabilities of Mono and dotnet runtimes.

Component versions

The build requires sources from various locations and at different versions. This section explains how to update and where to find them.

Each change to any of the components below requires that the Xamarin.Utilities version (see below) is updated as well.

LLVM

LLVM is a submodule of this repository and its version is determined automatically by the build scripts. In order to update LLVM, simply update the submodule to whichever branch/tag is desired.

Xamarin.Android Utilities

This version can be found in common.sh in the XA_UTILS_VERSION variable. Every time LLVM is updated, this version has to be changed as well.

How to build and publish new version of utilities

  1. Update versions as desired (see Component_versionsabove)
  2. Commit and push the changes
  3. After the build finishes, visit the Actions tab, find the run corresponding to commit from 2. above, download the Xamarin.Android artifact
  4. On your local machine, execute the release preparation script (TAG_NAME should be Xamarin.Android utilities version in general, but it may contain other bits, as needed):
  ./prepare-release.sh PATH_TO_ARTIFACT_FROM_4 TAG_NAME
  1. The script will produce a 7-zip package on your local disk and display instructions how to proceed with the release.

xjs-binutils's People

Contributors

grendello avatar microsoftopensource avatar microsoft-github-operations[bot] 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.