Skip to content

Commit bb9883a

Browse files
committed
resolve linux.dump merge conflict
2 parents 1ce1969 + 33746d8 commit bb9883a

File tree

2,597 files changed

+116760
-60970
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,597 files changed

+116760
-60970
lines changed

.clang-tidy

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
1-
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,readability-identifier-naming'
1+
Checks: |
2+
-*,
3+
clang-diagnostic-*,
4+
llvm-*,
5+
-llvm-header-guard,
6+
misc-*,
7+
-misc-no-recursion,
8+
-misc-non-private-member-variables-in-classes,
9+
-misc-unused-parameters,
10+
readability-identifier-naming
11+
WarningsAsErrors: |
12+
llvm-*,
13+
-llvm-header-guard,
14+
misc-*,
15+
-misc-no-recursion,
16+
-misc-non-private-member-variables-in-classes,
17+
-misc-unused-parameters,
18+
readability-identifier-naming
219
CheckOptions:
320
- key: readability-identifier-naming.ClassCase
421
value: CamelCase
@@ -24,3 +41,5 @@ CheckOptions:
2441
value: 1
2542
- key: modernize-use-default-member-init.UseAssignment
2643
value: 1
44+
- key: llvm-namespace-comment.ShortNamespaceLines
45+
value: '25'

.github/workflows/issue-release-workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,5 @@ jobs:
8787
--token ${{ secrets.RELEASE_WORKFLOW_PUSH_SECRET }} \
8888
release-workflow \
8989
--issue-number ${{ github.event.issue.number }} \
90+
--phab-token ${{ secrets.RELEASE_WORKFLOW_PHAB_TOKEN }} \
9091
auto

.github/workflows/libclang-abi-tests.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,10 @@ jobs:
124124
- name: Dump ABI
125125
run: |
126126
parallel abi-dumper -lver ${{ matrix.ref }} -skip-cxx -public-headers ./install/include/${{ needs.abi-dump-setup.outputs.ABI_HEADERS }} -o {}-${{ matrix.ref }}.abi ./build/lib/{} ::: ${{ needs.abi-dump-setup.outputs.ABI_LIBS }}
127-
# Remove symbol versioning from dumps, so we can compare across major
128-
# versions. We don't need to do this for libclang.so since its ABI
129-
# is stable across major releases and the symbol versions don't change.
130-
if [ -e libclang-cpp.so-${{ matrix.ref }}.abi ]; then
131-
sed -i 's/LLVM_[0-9]\+/LLVM_NOVERSION/' libclang-cpp.so-${{ matrix.ref }}.abi
132-
fi
127+
for lib in ${{ needs.abi-dump-setup.outputs.ABI_LIBS }}; do
128+
# Remove symbol versioning from dumps, so we can compare across major versions.
129+
sed -i 's/LLVM_[0-9]\+/LLVM_NOVERSION/' $lib-${{ matrix.ref }}.abi
130+
done
133131
- name: Upload ABI file
134132
uses: actions/upload-artifact@v2
135133
with:

.github/workflows/sycl_linux_build_and_test.yml

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ on:
4040
type: string
4141
required: false
4242
default: ""
43+
lts_aws_matrix:
44+
type: string
45+
required: false
46+
default: ""
4347
lts_cmake_extra_args:
4448
type: string
4549
required: false
@@ -155,9 +159,31 @@ jobs:
155159
name: sycl_lit_${{ inputs.build_artifact_suffix }}
156160
path: lit.tar.xz
157161

158-
llvm_test_suite:
162+
aws-start:
163+
name: Start AWS
159164
needs: build
160-
if: ${{ inputs.lts_matrix != '' }}
165+
if: ${{ inputs.lts_aws_matrix != '' }}
166+
runs-on: ubuntu-latest
167+
environment: aws
168+
steps:
169+
- name: Setup script
170+
run: |
171+
mkdir -p ./aws-ec2
172+
wget raw.githubusercontent.com/intel/llvm/sycl/devops/actions/aws-ec2/action.yml -P ./aws-ec2
173+
wget raw.githubusercontent.com/intel/llvm/sycl/devops/actions/aws-ec2/aws-ec2.js -P ./aws-ec2
174+
wget raw.githubusercontent.com/intel/llvm/sycl/devops/actions/aws-ec2/package.json -P ./aws-ec2
175+
npm install ./aws-ec2
176+
- name: Start AWS EC2 runners
177+
uses: ./aws-ec2
178+
with:
179+
runs-on-list: ${{ inputs.lts_aws_matrix }}
180+
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
181+
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
182+
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
183+
184+
llvm_test_suite:
185+
needs: [build, aws-start]
186+
if: ${{ !failure() && inputs.lts_matrix != '' }}
161187
strategy:
162188
fail-fast: false
163189
max-parallel: ${{ inputs.max_parallel }}
@@ -203,3 +229,26 @@ jobs:
203229
check_sycl_all: ${{ matrix.check_sycl_all }}
204230
results_name_suffix: ${{ matrix.config }}_${{ inputs.build_artifact_suffix }}
205231
cmake_args: '${{ matrix.cmake_args }} ${{ inputs.lts_cmake_extra_args }}'
232+
233+
aws-stop:
234+
name: Stop AWS
235+
needs: [ aws-start, llvm_test_suite ]
236+
if: ${{ always() && inputs.lts_ats_matrix != '' }}
237+
runs-on: ubuntu-latest
238+
environment: aws
239+
steps:
240+
- name: Setup script
241+
run: |
242+
mkdir -p ./aws-ec2
243+
wget raw.githubusercontent.com/intel/llvm/sycl/devops/actions/aws-ec2/action.yml -P ./aws-ec2
244+
wget raw.githubusercontent.com/intel/llvm/sycl/devops/actions/aws-ec2/aws-ec2.js -P ./aws-ec2
245+
wget raw.githubusercontent.com/intel/llvm/sycl/devops/actions/aws-ec2/package.json -P ./aws-ec2
246+
npm install ./aws-ec2
247+
- name: Stop AWS EC2 runners
248+
uses: ./aws-ec2
249+
with:
250+
runs-on-list: ${{ inputs.lts_aws_matrix }}
251+
mode: stop
252+
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
253+
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
254+
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}

.github/workflows/sycl_nightly.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
if: github.repository == 'intel/llvm'
2121
uses: ./.github/workflows/sycl_linux_build_and_test.yml
2222
needs: resolve_matrix
23+
secrets: inherit
2324
with:
2425
build_cache_root: "/__w/"
2526
build_artifact_suffix: default
@@ -29,6 +30,7 @@ jobs:
2930
if: github.repository == 'intel/llvm'
3031
uses: ./.github/workflows/sycl_linux_build_and_test.yml
3132
needs: resolve_matrix
33+
secrets: inherit
3234
with:
3335
build_cache_root: "/__w/"
3436
build_cache_suffix: opaque_pointers

.github/workflows/sycl_post_commit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,16 @@ jobs:
2121
name: Linux Default
2222
needs: resolve_matrix
2323
uses: ./.github/workflows/sycl_linux_build_and_test.yml
24+
secrets: inherit
2425
with:
2526
build_cache_root: "/__w/llvm"
2627
build_artifact_suffix: "post_commit"
2728
lts_matrix: ${{ needs.resolve_matrix.outputs.lts_matrix }}
29+
lts_aws_matrix: ${{ needs.resolve_matrix.outputs.lts_aws_matrix }}
2830
linux_no_assert:
2931
name: Linux (no assert)
3032
uses: ./.github/workflows/sycl_linux_build_and_test.yml
33+
secrets: inherit
3134
with:
3235
build_cache_root: "/__w/llvm"
3336
build_cache_suffix: gcc_no_assertions

.github/workflows/sycl_precommit.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: SYCL
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
branches:
66
- sycl
77
# Do not run builds if changes are only in the following locations
@@ -25,6 +25,7 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v2
2727
with:
28+
persist-credentials: false
2829
fetch-depth: 2
2930
- name: Run clang-format
3031
uses: ./devops/actions/clang-format
@@ -43,9 +44,11 @@ jobs:
4344
needs: [lint, resolve_matrix]
4445
if: always() && (success() || contains(github.event.pull_request.labels.*.name, 'ignore-lint'))
4546
uses: ./.github/workflows/sycl_linux_build_and_test.yml
47+
secrets: inherit
4648
with:
4749
build_cache_root: "/__w/"
4850
build_cache_size: "8G"
4951
build_artifact_suffix: "default"
5052
build_cache_suffix: "default"
5153
lts_matrix: ${{ needs.resolve_matrix.outputs.lts_matrix }}
54+
lts_aws_matrix: ${{ needs.resolve_matrix.outputs.lts_aws_matrix }}

.github/workflows/sycl_resolve_test_matrix.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,18 @@ on:
1919
type: string
2020
required: true
2121
default: ""
22+
uniq:
23+
description: Unique string to name dynamic runners in AWS
24+
type: string
25+
required: false
26+
default: ${{ github.run_id }}-${{ github.run_attempt }}
2227
outputs:
2328
lts_matrix:
2429
description: "Generated Matrix"
2530
value: ${{ jobs.resolve_matrix.outputs.lts_matrix }}
31+
lts_aws_matrix:
32+
description: "Generated Matrix AWS subset"
33+
value: ${{ jobs.resolve_matrix.outputs.lts_aws_matrix }}
2634
jobs:
2735
resolve_matrix:
2836
name: Resolve Test Matrix

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Intel LLVM-based projects:
55

66
- [oneAPI DPC++ compiler](#oneapi-dpc-compiler)
77
- [Late-outline OpenMP and OpenMP Offload](#late-outline-openmp-and-openmp-offload)
8+
sudo apt-get install llvm-16-dev llvm-16-tools clang-16 libclang-16-dev
9+
`-DLLVM_EXTERNAL_LIT="/usr/lib/llvm-16/build/utils/lit/lit.py"` is
810

911
## oneAPI DPC++ compiler
1012

bolt/include/bolt/Core/BinaryDomTree.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@
1414
#ifndef BOLT_CORE_BINARY_DOMTREE_H
1515
#define BOLT_CORE_BINARY_DOMTREE_H
1616

17+
#include "bolt/Core/BinaryBasicBlock.h"
18+
#include "llvm/IR/Dominators.h"
1719
#include "llvm/Support/GenericDomTreeConstruction.h"
1820

1921
namespace llvm {
2022
namespace bolt {
2123

22-
class BinaryBasicBlock;
2324
using BinaryDomTreeNode = DomTreeNodeBase<BinaryBasicBlock>;
2425
using BinaryDominatorTree = DomTreeBase<BinaryBasicBlock>;
2526

0 commit comments

Comments
 (0)