Skip to content

Commit 934bcb0

Browse files
authored
TOOL-22968 Integrate mold into linux-pkg repository (#301)
1 parent 961cad7 commit 934bcb0

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

package-lists/build/main.pkgs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ make-jpkg
2626
makedumpfile
2727
masking
2828
misc-debs
29+
mold
2930
nfs-utils
3031
performance-diagnostics
3132
ptools

packages/mold/config.sh

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Copyright 2023 Delphix
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# shellcheck disable=SC2034
18+
19+
DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/mold.git"
20+
21+
UPSTREAM_GIT_URL=https://salsa.debian.org/pkg-llvm-team/mold.git
22+
UPSTREAM_GIT_BRANCH=master
23+
24+
function prepare() {
25+
logmust install_build_deps_from_control_file
26+
}
27+
28+
function build() {
29+
logmust dpkg_buildpackage_default
30+
}
31+
32+
function update_upstream() {
33+
logmust update_upstream_from_git
34+
}

0 commit comments

Comments
 (0)