Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc241475

Browse files
committed
build: link with lld by default on Linux; add Xcode 14.1 to CI matrix
Change-Id: If40a5742748c5bc406663c16e852581eb4413759
1 parent1d48453 commitc241475

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252
include:
5353
-os:macos-12
5454
xcode:'13.4'
55+
-os:macos-12
56+
xcode:'14.1'
5557
steps:
5658
-name:Set up Xcode
5759
uses:maxim-lobanov/setup-xcode@v1

‎.jenkins‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ case $(uname) in
1616
# Emulate a subset of os-release(5)
1717
export ID=macos
1818
export VERSION_ID=$(sw_vers -productVersion)
19+
export PATH="/usr/local/bin${PATH:+:}${PATH}"
1920
if [[-x /opt/homebrew/bin/brew ]];then
2021
eval"$(/opt/homebrew/bin/brew shellenv)"
2122
elif [[-x /usr/local/bin/brew ]];then

‎.jenkins.d/00-deps.sh‎

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,14 @@ if [[ $ID == macos ]]; then
2424
fi
2525
brew update
2626
brew install --formula"${FORMULAE[@]}"
27-
28-
if((${#PIP_PKGS[@]}));then
29-
pip3 install --upgrade --upgrade-strategy=eager"${PIP_PKGS[@]}"
30-
fi
31-
3227
elif [[$ID_LIKE==*debian* ]];then
3328
sudo apt-get -qq update
3429
sudo apt-get -qy install"${APT_PKGS[@]}"
35-
36-
if((${#PIP_PKGS[@]}));then
37-
pip3 install --user --upgrade --upgrade-strategy=eager"${PIP_PKGS[@]}"
38-
fi
39-
4030
elif [[$ID_LIKE==*fedora* ]];then
41-
sudo dnf -y install gcc-c++ libasan pkgconf-pkg-config python3 \
31+
sudo dnf -y install gcc-c++ libasanlldpkgconf-pkg-config python3 \
4232
boost-devel openssl-devel sqlite-devel
4333
fi
34+
35+
if((${#PIP_PKGS[@]}));then
36+
pip3 install --user --upgrade --upgrade-strategy=eager"${PIP_PKGS[@]}"
37+
fi

‎.waf-tools/default-compiler-flags.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,7 @@ class GccBasicFlags(CompilerFlags):
137137
defgetGeneralFlags(self,conf):
138138
flags=super(GccBasicFlags,self).getGeneralFlags(conf)
139139
flags['CXXFLAGS']+= ['-std=c++17']
140-
ifUtils.unversioned_sys_platform()=='linux':
141-
flags['LINKFLAGS']+= ['-fuse-ld=gold']
142-
elifUtils.unversioned_sys_platform()=='freebsd':
140+
ifUtils.unversioned_sys_platform()!='darwin':
143141
flags['LINKFLAGS']+= ['-fuse-ld=lld']
144142
returnflags
145143

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp