Skip to content

Commit 7c85bd2

Browse files
committed
bootstrap: move liblink/biglink to tools, and allow biglink to exit correctly if no object have been collected
1 parent c8b1ee0 commit 7c85bd2

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

distribute.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ BOOTSTRAP_PATH="$ROOT_PATH/bootstrap"
6060

6161
# Tools
6262
export LIBLINK_PATH="$BUILD_PATH/objects"
63-
export LIBLINK="$ROOT_PATH/src/tools/liblink"
64-
export BIGLINK="$ROOT_PATH/src/tools/biglink"
63+
export LIBLINK="$ROOT_PATH/tools/liblink"
64+
export BIGLINK="$ROOT_PATH/tools/biglink"
6565
export PIP=$PIP_NAME
6666
export VIRTUALENV=$VIRTUALENV_NAME
6767

bootstrap/legacy/tools/biglink renamed to tools/biglink

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ while args:
4141

4242

4343
print('Biglink create %s library' % sys.argv[1])
44+
if not unique_args:
45+
print('Biglink: no library created, no object collected.')
46+
sys.exit(0)
47+
4448
print('Biglink arguments:')
4549
for arg in unique_args:
4650
print(' %s' % arg)
File renamed without changes.

0 commit comments

Comments
 (0)