Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
aafaeae3
"...git@developer.sourcefind.cn:lacacy/qwen_lmdeploy.git" did not exist on "2700abb30758b78d19a532fcf1503d73fcdc61c8"
Unverified
Commit
aafaeae3
authored
Mar 15, 2023
by
Umang Yadav
Committed by
GitHub
Mar 15, 2023
Browse files
Use `lld` instead of `gold` linker in GH actions (#1620)
parent
04e3585e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
.github/workflows/ci.yaml
.github/workflows/ci.yaml
+6
-4
No files found.
.github/workflows/ci.yaml
View file @
aafaeae3
...
@@ -229,6 +229,7 @@ jobs:
...
@@ -229,6 +229,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install --upgrade pip
pip install https://github.com/RadeonOpenCompute/rbuild/archive/master.tar.gz
pip install https://github.com/RadeonOpenCompute/rbuild/archive/master.tar.gz
rbuild prepare -d cget -s gh
rbuild prepare -d cget -s gh
sudo apt-get install -y lld
-
name
:
Prepare timestamp
-
name
:
Prepare timestamp
id
:
cache_timestamp
id
:
cache_timestamp
shell
:
bash
shell
:
bash
...
@@ -258,8 +259,8 @@ jobs:
...
@@ -258,8 +259,8 @@ jobs:
-DMIGRAPHX_ENABLE_PYTHON=${{matrix.configuration == 'release' && 'On' || 'Off'}} \
-DMIGRAPHX_ENABLE_PYTHON=${{matrix.configuration == 'release' && 'On' || 'Off'}} \
-DCMAKE_CXX_FLAGS_DEBUG="-g1 -Os -fdebug-prefix-map=$PWD=. -fdebug-types-section -fno-omit-frame-pointer -fsanitize=undefined -fno-sanitize-recover=undefined" \
-DCMAKE_CXX_FLAGS_DEBUG="-g1 -Os -fdebug-prefix-map=$PWD=. -fdebug-types-section -fno-omit-frame-pointer -fsanitize=undefined -fno-sanitize-recover=undefined" \
-DCMAKE_CXX_FLAGS_CODECOV="-g1 -Og -fdebug-prefix-map=$PWD=. -fdebug-types-section -fprofile-arcs -ftest-coverage -fno-omit-frame-pointer" \
-DCMAKE_CXX_FLAGS_CODECOV="-g1 -Og -fdebug-prefix-map=$PWD=. -fdebug-types-section -fprofile-arcs -ftest-coverage -fno-omit-frame-pointer" \
-DCMAKE_EXE_LINKER_FLAGS='-fuse-ld=
go
ld' \
-DCMAKE_EXE_LINKER_FLAGS='-fuse-ld=
l
ld' \
-DCMAKE_SHARED_LINKER_FLAGS='-fuse-ld=
go
ld'
-DCMAKE_SHARED_LINKER_FLAGS='-fuse-ld=
l
ld'
${{ github.workspace }}/cget/bin/ccache -s
${{ github.workspace }}/cget/bin/ccache -s
-
name
:
Upload code coverage
-
name
:
Upload code coverage
...
@@ -323,6 +324,7 @@ jobs:
...
@@ -323,6 +324,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install --upgrade pip
pip install https://github.com/RadeonOpenCompute/rbuild/archive/master.tar.gz
pip install https://github.com/RadeonOpenCompute/rbuild/archive/master.tar.gz
rbuild prepare -d cget -s gh
rbuild prepare -d cget -s gh
sudo apt-get install -y lld
-
name
:
Prepare timestamp
-
name
:
Prepare timestamp
id
:
cache_timestamp
id
:
cache_timestamp
shell
:
bash
shell
:
bash
...
@@ -352,8 +354,8 @@ jobs:
...
@@ -352,8 +354,8 @@ jobs:
-DMIGRAPHX_ENABLE_PYTHON=${{matrix.configuration == 'release' && 'On' || 'Off'}} \
-DMIGRAPHX_ENABLE_PYTHON=${{matrix.configuration == 'release' && 'On' || 'Off'}} \
-DCMAKE_CXX_FLAGS_DEBUG="-g1 -Os -fdebug-prefix-map=$PWD=. -fdebug-types-section -fno-omit-frame-pointer -fsanitize=undefined -fno-sanitize-recover=undefined" \
-DCMAKE_CXX_FLAGS_DEBUG="-g1 -Os -fdebug-prefix-map=$PWD=. -fdebug-types-section -fno-omit-frame-pointer -fsanitize=undefined -fno-sanitize-recover=undefined" \
-DCMAKE_CXX_FLAGS_CODECOV="-g1 -Og -fdebug-prefix-map=$PWD=. -fdebug-types-section -fprofile-arcs -ftest-coverage -fno-omit-frame-pointer" \
-DCMAKE_CXX_FLAGS_CODECOV="-g1 -Og -fdebug-prefix-map=$PWD=. -fdebug-types-section -fprofile-arcs -ftest-coverage -fno-omit-frame-pointer" \
-DCMAKE_EXE_LINKER_FLAGS='-fuse-ld=
go
ld' \
-DCMAKE_EXE_LINKER_FLAGS='-fuse-ld=
l
ld' \
-DCMAKE_SHARED_LINKER_FLAGS='-fuse-ld=
go
ld' \
-DCMAKE_SHARED_LINKER_FLAGS='-fuse-ld=
l
ld' \
-DMIGRAPHX_ENABLE_FPGA=On
-DMIGRAPHX_ENABLE_FPGA=On
${{ github.workspace }}/cget/bin/ccache -s
${{ github.workspace }}/cget/bin/ccache -s
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment