Skip to content

Commit a904a0a

Browse files
authored
remove stripping of artifacts (#1375)
* remove stripping from nix artifacts * remove stripping from natively compiled binaries * add missing tolk on mac * add missing tolk on mac
1 parent 3ce6118 commit a904a0a

File tree

7 files changed

+0
-145
lines changed

7 files changed

+0
-145
lines changed

assembly/native/build-macos-portable.sh

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -168,25 +168,6 @@ else
168168
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
169169
fi
170170

171-
strip -s storage/storage-daemon/storage-daemon
172-
strip -s storage/storage-daemon/storage-daemon-cli
173-
strip -s blockchain-explorer/blockchain-explorer
174-
strip -s crypto/fift
175-
strip -s crypto/func
176-
strip -s tolk/tolk
177-
strip -s crypto/create-state
178-
strip -s crypto/tlbc
179-
strip -s validator-engine-console/validator-engine-console
180-
strip -s tonlib/tonlib-cli
181-
strip -s http/http-proxy
182-
strip -s rldp-http-proxy/rldp-http-proxy
183-
strip -s dht-server/dht-server
184-
strip -s lite-client/lite-client
185-
strip -s validator-engine/validator-engine
186-
strip -s utils/generate-random-id
187-
strip -s utils/json2tlo
188-
strip -s adnl/adnl-proxy
189-
190171
cd ..
191172

192173
if [ "$with_artifacts" = true ]; then

assembly/native/build-macos-shared.sh

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -96,26 +96,6 @@ else
9696
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
9797
fi
9898

99-
100-
strip -s storage/storage-daemon/storage-daemon
101-
strip -s storage/storage-daemon/storage-daemon-cli
102-
strip -s blockchain-explorer/blockchain-explorer
103-
strip -s crypto/fift
104-
strip -s crypto/func
105-
strip -s tolk/tolk
106-
strip -s crypto/create-state
107-
strip -s crypto/tlbc
108-
strip -s validator-engine-console/validator-engine-console
109-
strip -s tonlib/tonlib-cli
110-
strip -s http/http-proxy
111-
strip -s rldp-http-proxy/rldp-http-proxy
112-
strip -s dht-server/dht-server
113-
strip -s lite-client/lite-client
114-
strip -s validator-engine/validator-engine
115-
strip -s utils/generate-random-id
116-
strip -s utils/json2tlo
117-
strip -s adnl/adnl-proxy
118-
11999
cd ..
120100

121101
if [ "$with_artifacts" = true ]; then

assembly/native/build-ubuntu-portable.sh

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -160,29 +160,6 @@ ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-
160160
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
161161
fi
162162

163-
strip -s storage/storage-daemon/storage-daemon \
164-
storage/storage-daemon/storage-daemon-cli \
165-
blockchain-explorer/blockchain-explorer \
166-
crypto/fift \
167-
crypto/tlbc \
168-
crypto/func \
169-
tolk/tolk \
170-
crypto/create-state \
171-
validator-engine-console/validator-engine-console \
172-
tonlib/tonlib-cli \
173-
tonlib/libtonlibjson.so.0.5 \
174-
http/http-proxy \
175-
rldp-http-proxy/rldp-http-proxy \
176-
dht-server/dht-server \
177-
lite-client/lite-client \
178-
validator-engine/validator-engine \
179-
utils/generate-random-id \
180-
utils/json2tlo \
181-
adnl/adnl-proxy \
182-
emulator/libemulator.*
183-
184-
test $? -eq 0 || { echo "Can't strip final binaries"; exit 1; }
185-
186163
# simple binaries' test
187164
./storage/storage-daemon/storage-daemon -V || exit 1
188165
./validator-engine/validator-engine -V || exit 1

assembly/native/build-ubuntu-shared.sh

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -68,29 +68,6 @@ ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-
6868
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
6969
fi
7070

71-
strip -s storage/storage-daemon/storage-daemon \
72-
storage/storage-daemon/storage-daemon-cli \
73-
blockchain-explorer/blockchain-explorer \
74-
crypto/fift \
75-
crypto/tlbc \
76-
crypto/func \
77-
tolk/tolk \
78-
crypto/create-state \
79-
validator-engine-console/validator-engine-console \
80-
tonlib/tonlib-cli \
81-
tonlib/libtonlibjson.so.0.5 \
82-
http/http-proxy \
83-
rldp-http-proxy/rldp-http-proxy \
84-
dht-server/dht-server \
85-
lite-client/lite-client \
86-
validator-engine/validator-engine \
87-
utils/generate-random-id \
88-
utils/json2tlo \
89-
adnl/adnl-proxy \
90-
emulator/libemulator.*
91-
92-
test $? -eq 0 || { echo "Can't strip final binaries"; exit 1; }
93-
9471
# simple binaries' test
9572
./storage/storage-daemon/storage-daemon -V || exit 1
9673
./validator-engine/validator-engine -V || exit 1

assembly/nix/build-linux-arm64-nix.sh

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,3 @@ cp ./result/lib/libemulator.so artifacts/
3636
cp ./result/lib/fift/* artifacts/lib/
3737
cp -r ./result/share/ton/smartcont artifacts/
3838
chmod -R +x artifacts
39-
cd artifacts
40-
sudo strip -s storage-daemon \
41-
storage-daemon-cli \
42-
blockchain-explorer \
43-
fift \
44-
tlbc \
45-
func \
46-
tolk \
47-
create-state \
48-
validator-engine-console \
49-
tonlib-cli \
50-
http-proxy \
51-
rldp-http-proxy \
52-
dht-server \
53-
lite-client \
54-
validator-engine \
55-
generate-random-id \
56-
adnl-proxy \
57-
libemulator.so \
58-
libtonlibjson.so

assembly/nix/build-linux-x86-64-nix.sh

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,3 @@ cp ./result/lib/libemulator.so artifacts/
3636
cp ./result/lib/fift/* artifacts/lib/
3737
cp -r ./result/share/ton/smartcont artifacts/
3838
chmod -R +x artifacts
39-
cd artifacts
40-
sudo strip -s storage-daemon \
41-
storage-daemon-cli \
42-
blockchain-explorer \
43-
fift \
44-
tlbc \
45-
func \
46-
tolk \
47-
create-state \
48-
validator-engine-console \
49-
tonlib-cli \
50-
http-proxy \
51-
rldp-http-proxy \
52-
dht-server \
53-
lite-client \
54-
validator-engine \
55-
generate-random-id \
56-
adnl-proxy \
57-
libemulator.so \
58-
libtonlibjson.so

assembly/nix/build-macos-nix.sh

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,3 @@ cp ./result/lib/libemulator.dylib artifacts/
3636
cp ./result/lib/fift/* artifacts/lib/
3737
cp -r ./result/share/ton/smartcont artifacts/
3838
chmod -R +x artifacts
39-
cd artifacts
40-
sudo strip -xSX storage-daemon \
41-
storage-daemon-cli \
42-
blockchain-explorer \
43-
fift \
44-
tlbc \
45-
func \
46-
tolk \
47-
create-state \
48-
validator-engine-console \
49-
tonlib-cli \
50-
http-proxy \
51-
rldp-http-proxy \
52-
dht-server \
53-
lite-client \
54-
validator-engine \
55-
generate-random-id \
56-
adnl-proxy \
57-
libemulator.dylib \
58-
libtonlibjson.dylib

0 commit comments

Comments
 (0)