Skip to content

Commit

Permalink
#29 Remove clang (#31)
Browse files Browse the repository at this point in the history
* remove llvm

pull new vcpkg version and move to further zeromq port

bump fmt and spdlog

bump fmt and spdlog

rm clang

* rm clang

* rm clang

* rm clang

* rm clang

* rm clang

* rm clang

* rm clang

* rm clang

* rm clang
  • Loading branch information
PhilippGrulich authored Jan 17, 2023
1 parent 164c388 commit 111dcfc
Show file tree
Hide file tree
Showing 19 changed files with 38 additions and 1,372 deletions.
102 changes: 25 additions & 77 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ jobs:
matrix:
osversion: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'
submodules: true
fetch-depth: 0
- name: Checkout vcokg submodules
working-directory: ${{ github.workspace }}/vcpkg/
run: git fetch origin daa7215f3d68c2a2f2e18c398cb73dab63cda829
- name: Set output vars to the actual tag name
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
Expand Down Expand Up @@ -82,9 +86,13 @@ jobs:
VCPKG_FEATURE_FLAGS: -binarycaching
runs-on: [self-hosted, linux, ARM64, dep-builder]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'
submodules: true
fetch-depth: 0
- name: Checkout vcokg submodules
working-directory: ${{ github.workspace }}/vcpkg/
run: git fetch origin daa7215f3d68c2a2f2e18c398cb73dab63cda829
- name: Set output vars to the actual tag name
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
Expand Down Expand Up @@ -135,9 +143,13 @@ jobs:
runs-on: [ self-hosted, macos, ARM64]
steps:
- uses: lukka/get-cmake@latest
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'
submodules: true
fetch-depth: 0
- name: Checkout vcokg submodules
working-directory: ${{ github.workspace }}/vcpkg/
run: git fetch origin daa7215f3d68c2a2f2e18c398cb73dab63cda829
- uses: actions/setup-python@v4
with:
python-version: "3.11"
Expand Down Expand Up @@ -195,9 +207,13 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'
submodules: true
fetch-depth: 0
- name: Checkout vcokg submodules
working-directory: ${{ github.workspace }}/vcpkg/
run: git fetch origin daa7215f3d68c2a2f2e18c398cb73dab63cda829
- name: Set output vars to the actual tag name
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
Expand Down Expand Up @@ -238,72 +254,4 @@ jobs:
run: |
rm -rf nes-dependencies-${{ steps.vars.outputs.tag }}-${{ env.VCPKG_DEP_LIST }}-nes \
nes-dependencies-${{ steps.vars.outputs.tag }}-${{ env.VCPKG_DEP_LIST }}-${{ matrix.osversion }}-nes.7z \
${{ github.workspace }}/vcpkg/{buildtrees,downloads,packages}
build-x64-linux-musl:
timeout-minutes: 360
env:
VCPKG_DEP_LIST: x64-linux-musl
VCPKG_FEATURE_FLAGS: -binarycaching
runs-on: [ self-hosted, linux, x64, dep-builder ]
strategy:
matrix:
osversion: [ alpine-3.15 ]
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Set output vars to the actual tag name
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
- name: Build Docker
id: builddocker
working-directory: ${{ github.workspace }}/docker/
run: docker build -t nes_dep_build_${{ matrix.osversion }} -f Dockerfile-${{ matrix.osversion }} .
- name: Install vcpkg
id: bootstrapvcpkg
run: |
docker run -v ${{ github.workspace }}:/build_dir --rm nes_dep_build_${{ matrix.osversion }} ./build_dir/vcpkg/bootstrap-vcpkg.sh -disableMetrics
shell: bash
- name: Install dependencies in manifest mode
id: installdeps
run: |
docker run -v ${{ github.workspace }}:/build_dir --env VCPKG_FORCE_SYSTEM_BINARIES=1 --rm nes_dep_build_${{ matrix.osversion }} \
./build_dir/vcpkg/vcpkg install --triplet=${{ env.VCPKG_DEP_LIST }}-nes \
--host-triplet=${{ env.VCPKG_DEP_LIST }}-nes --overlay-triplets=/build_dir/custom-triplets/ --x-manifest-root=/build_dir/ --overlay-ports=/build_dir/vcpkg-registry/ports
- name: Compress artifacts
id: compressdeps
run: |
mkdir nes-dependencies-${{ steps.vars.outputs.tag }}-${{ env.VCPKG_DEP_LIST }}-nes && \
mv ${{ github.workspace }}/vcpkg_installed nes-dependencies-${{ steps.vars.outputs.tag }}-${{ env.VCPKG_DEP_LIST }}-nes/installed && \
mkdir -p nes-dependencies-${{ steps.vars.outputs.tag }}-${{ env.VCPKG_DEP_LIST }}-nes/scripts/buildsystems && \
cp ${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake ${{ github.workspace }}/nes-dependencies-${{ steps.vars.outputs.tag }}-${{ env.VCPKG_DEP_LIST }}-nes/scripts/buildsystems/ && \
touch ${{ github.workspace }}/nes-dependencies-${{ steps.vars.outputs.tag }}-${{ env.VCPKG_DEP_LIST }}-nes/.vcpkg-root && \
7z a nes-dependencies-${{ steps.vars.outputs.tag }}-${{ env.VCPKG_DEP_LIST }}-${{ matrix.osversion }}-nes.7z nes-dependencies-${{ steps.vars.outputs.tag }}-${{ env.VCPKG_DEP_LIST }}-nes -mx9 -aoa
- name: Release
uses: softprops/action-gh-release@v1
id: createrelease
with:
files: |
nes-dependencies-${{ steps.vars.outputs.tag }}-${{ env.VCPKG_DEP_LIST }}-${{ matrix.osversion }}-nes.7z
- name: Upload GitHub Actions artifact of vcpkg build logs
uses: actions/upload-artifact@v2
if: failure()
id: uploadlogs
with:
name: vcpkg-logs-${{ env.VCPKG_DEP_LIST }}
path: ${{ github.workspace }}/vcpkg/buildtrees/**/*.log
- name: Clean build artifacts
id: cleanbuildartifacts
if: always()
run: |
rm -rf nes-dependencies-${{ steps.vars.outputs.tag }}-${{ env.VCPKG_DEP_LIST }}-nes \
nes-dependencies-${{ steps.vars.outputs.tag }}-${{ env.VCPKG_DEP_LIST }}-${{ matrix.osversion }}-nes.7z \
${{ github.workspace }}/vcpkg/{buildtrees,downloads,packages}
- name: Remove docker image
id: removedockerimage
if: always()
run: |
test -n "$(docker image ls -q nes_dep_build_${{ matrix.osversion }})" && \
docker image rm $(docker image ls -q nes_dep_build_${{ matrix.osversion }}) || \
true
${{ github.workspace }}/vcpkg/{buildtrees,downloads,packages}
2 changes: 1 addition & 1 deletion vcpkg
Submodule vcpkg updated 5565 files
150 changes: 0 additions & 150 deletions vcpkg-registry/ports/llvm/0002-fix-install-paths.patch

This file was deleted.

17 changes: 0 additions & 17 deletions vcpkg-registry/ports/llvm/0004-fix-dr-1734.patch

This file was deleted.

16 changes: 0 additions & 16 deletions vcpkg-registry/ports/llvm/0005-fix-tools-path.patch

This file was deleted.

44 changes: 0 additions & 44 deletions vcpkg-registry/ports/llvm/0007-fix-compiler-rt-install-path.patch

This file was deleted.

Loading

0 comments on commit 111dcfc

Please sign in to comment.