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
composable_kernel
Commits
fa7abffc
"include/ck/utility/array.hpp" did not exist on "766b0a9eafe29a5d2a75c350345e54165ceaf405"
Commit
fa7abffc
authored
Oct 23, 2023
by
illsilin
Browse files
disable sccache in clang-format stage
parent
db2ed042
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
18 deletions
+15
-18
Jenkinsfile
Jenkinsfile
+15
-18
No files found.
Jenkinsfile
View file @
fa7abffc
...
@@ -189,10 +189,6 @@ def cmake_build(Map conf=[:]){
...
@@ -189,10 +189,6 @@ def cmake_build(Map conf=[:]){
}
else
{
}
else
{
setup_args
=
" -DCMAKE_BUILD_TYPE=release"
+
setup_args
setup_args
=
" -DCMAKE_BUILD_TYPE=release"
+
setup_args
}
}
if
(
env
.
CK_SCCACHE
&&
params
.
USE_SCCACHE
&&
check_host
())
{
setup_args
=
" -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache "
+
setup_args
}
def
pre_setup_cmd
=
"""
def
pre_setup_cmd
=
"""
#!/bin/bash
#!/bin/bash
...
@@ -204,20 +200,20 @@ def cmake_build(Map conf=[:]){
...
@@ -204,20 +200,20 @@ def cmake_build(Map conf=[:]){
mkdir install
mkdir install
cd build
cd build
"""
"""
if
(
check_host
()
&&
params
.
USE_SCCACHE
&&
"${env.CK_SCCACHE}"
!=
"null"
)
{
def
invocation_tag
=
""
def
invocation_tag
if
(
"gfx11"
in
"${setup_args}"
){
if
(
"${setup_args}"
.
contains
(
"gfx11"
)){
invocation_tag
=
"gfx11"
invocation_tag
=
"gfx11"
}
}
if
(
"${setup_args}"
.
contains
(
"gfx10"
)
){
if
(
"gfx10"
in
"${setup_args}"
){
invocation_tag
=
"gfx10"
invocation_tag
=
"gfx10"
}
}
if
(
"${setup_args}"
.
contains
(
"gfx94"
)){
if
(
"gfx90"
in
"${setup_args}"
){
invocation_tag
=
"gfx94"
}
else
{
invocation_tag
=
"gfx90"
invocation_tag
=
"gfx90"
}
}
if
(
"gfx94"
in
"${setup_args}"
){
invocation_tag
=
"gfx94"
}
if
(
check_host
()
&&
params
.
USE_SCCACHE
&&
"${env.CK_SCCACHE}"
!=
"null"
&&
"${invocation_tag}"
!=
""
)
{
pre_setup_cmd
=
pre_setup_cmd
+
"""
pre_setup_cmd
=
pre_setup_cmd
+
"""
#!/bin/bash
#!/bin/bash
export ROCM_PATH=/opt/rocm
export ROCM_PATH=/opt/rocm
...
@@ -234,6 +230,7 @@ def cmake_build(Map conf=[:]){
...
@@ -234,6 +230,7 @@ def cmake_build(Map conf=[:]){
stunnel ../script/redis-cli.conf
stunnel ../script/redis-cli.conf
../script/sccache_wrapper.sh --enforce_redis
../script/sccache_wrapper.sh --enforce_redis
"""
"""
setup_args
=
" -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER_LAUNCHER=sccache "
+
setup_args
}
}
def
setup_cmd
=
conf
.
get
(
"setup_cmd"
,
"${cmake_envs} cmake ${setup_args} .. "
)
def
setup_cmd
=
conf
.
get
(
"setup_cmd"
,
"${cmake_envs} cmake ${setup_args} .. "
)
// reduce parallelism when compiling, clang uses too much memory
// reduce parallelism when compiling, clang uses too much memory
...
...
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