Skip to content

Commit

Permalink
ci: use 16 thread
Browse files Browse the repository at this point in the history
  • Loading branch information
Zxilly authored Aug 29, 2023
1 parent 6f8537a commit 22e30cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
LLVM=1 \
LOCALVERSION="" \
CC="sccache clang" \
-j`nproc` \
-j16 \
bindeb-pkg
# reset version
rm .version
Expand All @@ -78,7 +78,7 @@ jobs:
LOCALVERSION="" \
CC="sccache clang" \
RPMOPTS="--nodeps" \
-j`nproc` \
-j16 \
rpm-pkg
- name: Upload config
Expand Down

5 comments on commit 22e30cb

@BROBIRD
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

runner不是2核的虚拟机吗,这里设置16线程真的有效果吗

@Zxilly
Copy link
Owner Author

@Zxilly Zxilly commented on 22e30cb Aug 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

runner不是2核的虚拟机吗,这里设置16线程真的有效果吗

@BROBIRD 是2核的,但是我开了cache,大部分时间应该是IO,我想这样会不会有点效果。
看起来没有 :(

@BROBIRD
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

runner不是2核的虚拟机吗,这里设置16线程真的有效果吗

@BROBIRD 是2核的,但是我开了cache,大部分时间应该是IO,我想这样会不会有点效果。 看起来没有 :(

顺便问下LLVM+Clang的科研结果怎么样,对比GCC有什么优势吗(

@Zxilly
Copy link
Owner Author

@Zxilly Zxilly commented on 22e30cb Aug 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

开了lto据说能快5%,懒得测了就当他快了吧

@BROBIRD
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

开了lto据说能快5%,懒得测了就当他快了吧

快了吗?如快(x

Please sign in to comment.