Skip to content
Snippets Groups Projects
  • Mohamed Gaber's avatar
    601eede6
    Support Multi-Arch Docker Builds (#1075) · 601eede6
    Mohamed Gaber authored
    Tested on Apple M1 and AWS Graviton.
    
    + Add support for multiple-architecture building
        + Support for amd64, ppc64le and arm64v8 added
        + amd64 and arm64v8 will be automatically built by the CI
    
    ~ Major CI Overhauls
       ~ Added composite actions for the Docker build and setting environment variables
       ~ pdk build is now its own job, and amd64/aarch64 have a job each
       ~ matrix -> design_matrix, designs only tested on amd64 for performance reasons
    
    ~ run/build base docker images now pushed to Docker Hub based on a hash of dependency lists (to work with the buildx `docker-container` driver)
    
    - Remove pandas (overkill for what we're using it for)
    
    - Remove `cugr`, `drcu` *for now* (they're x86-64 Linux-only utilities)
    Support Multi-Arch Docker Builds (#1075)
    Mohamed Gaber authored
    Tested on Apple M1 and AWS Graviton.
    
    + Add support for multiple-architecture building
        + Support for amd64, ppc64le and arm64v8 added
        + amd64 and arm64v8 will be automatically built by the CI
    
    ~ Major CI Overhauls
       ~ Added composite actions for the Docker build and setting environment variables
       ~ pdk build is now its own job, and amd64/aarch64 have a job each
       ~ matrix -> design_matrix, designs only tested on amd64 for performance reasons
    
    ~ run/build base docker images now pushed to Docker Hub based on a hash of dependency lists (to work with the buildx `docker-container` driver)
    
    - Remove pandas (overkill for what we're using it for)
    
    - Remove `cugr`, `drcu` *for now* (they're x86-64 Linux-only utilities)
action.yml 640 B
name: Set up environment variables
description: Sets up various environment variables required by various OpenLane steps.
runs:
  using: "composite"
  steps:
    - name: Export Repo URL
      shell: bash
      run: echo "REPO_URL=https://github.com/${{ github.repository }}.git" >> $GITHUB_ENV

    - name: Export PDK ROOT
      shell: bash
      run: echo "PDK_ROOT=/usr/local/pdk" >> $GITHUB_ENV

    - name: Export Branch Name
      shell: bash
      run: echo "BRANCH_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV

    - name: Export Temp Image Name
      shell: bash
      run: echo "OPENLANE_IMAGE_NAME=openlane:intermediate" >> $GITHUB_ENV