mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	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
This commit is contained in:
		
							parent
							
								
									3ce6118c3f
								
							
						
					
					
						commit
						a904a0a195
					
				
					 7 changed files with 0 additions and 145 deletions
				
			
		| 
						 | 
				
			
			@ -168,25 +168,6 @@ else
 | 
			
		|||
  test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
strip -s storage/storage-daemon/storage-daemon
 | 
			
		||||
strip -s storage/storage-daemon/storage-daemon-cli
 | 
			
		||||
strip -s blockchain-explorer/blockchain-explorer
 | 
			
		||||
strip -s crypto/fift
 | 
			
		||||
strip -s crypto/func
 | 
			
		||||
strip -s tolk/tolk
 | 
			
		||||
strip -s crypto/create-state
 | 
			
		||||
strip -s crypto/tlbc
 | 
			
		||||
strip -s validator-engine-console/validator-engine-console
 | 
			
		||||
strip -s tonlib/tonlib-cli
 | 
			
		||||
strip -s http/http-proxy
 | 
			
		||||
strip -s rldp-http-proxy/rldp-http-proxy
 | 
			
		||||
strip -s dht-server/dht-server
 | 
			
		||||
strip -s lite-client/lite-client
 | 
			
		||||
strip -s validator-engine/validator-engine
 | 
			
		||||
strip -s utils/generate-random-id
 | 
			
		||||
strip -s utils/json2tlo
 | 
			
		||||
strip -s adnl/adnl-proxy
 | 
			
		||||
 | 
			
		||||
cd ..
 | 
			
		||||
 | 
			
		||||
if [ "$with_artifacts" = true ]; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -96,26 +96,6 @@ else
 | 
			
		|||
  test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
strip -s storage/storage-daemon/storage-daemon
 | 
			
		||||
strip -s storage/storage-daemon/storage-daemon-cli
 | 
			
		||||
strip -s blockchain-explorer/blockchain-explorer
 | 
			
		||||
strip -s crypto/fift
 | 
			
		||||
strip -s crypto/func
 | 
			
		||||
strip -s tolk/tolk
 | 
			
		||||
strip -s crypto/create-state
 | 
			
		||||
strip -s crypto/tlbc
 | 
			
		||||
strip -s validator-engine-console/validator-engine-console
 | 
			
		||||
strip -s tonlib/tonlib-cli
 | 
			
		||||
strip -s http/http-proxy
 | 
			
		||||
strip -s rldp-http-proxy/rldp-http-proxy
 | 
			
		||||
strip -s dht-server/dht-server
 | 
			
		||||
strip -s lite-client/lite-client
 | 
			
		||||
strip -s validator-engine/validator-engine
 | 
			
		||||
strip -s utils/generate-random-id
 | 
			
		||||
strip -s utils/json2tlo
 | 
			
		||||
strip -s adnl/adnl-proxy
 | 
			
		||||
 | 
			
		||||
cd ..
 | 
			
		||||
 | 
			
		||||
if [ "$with_artifacts" = true ]; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -160,29 +160,6 @@ ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-
 | 
			
		|||
      test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
strip -s storage/storage-daemon/storage-daemon \
 | 
			
		||||
         storage/storage-daemon/storage-daemon-cli \
 | 
			
		||||
         blockchain-explorer/blockchain-explorer \
 | 
			
		||||
         crypto/fift \
 | 
			
		||||
         crypto/tlbc \
 | 
			
		||||
         crypto/func \
 | 
			
		||||
         tolk/tolk \
 | 
			
		||||
         crypto/create-state \
 | 
			
		||||
         validator-engine-console/validator-engine-console \
 | 
			
		||||
         tonlib/tonlib-cli \
 | 
			
		||||
         tonlib/libtonlibjson.so.0.5 \
 | 
			
		||||
         http/http-proxy \
 | 
			
		||||
         rldp-http-proxy/rldp-http-proxy \
 | 
			
		||||
         dht-server/dht-server \
 | 
			
		||||
         lite-client/lite-client \
 | 
			
		||||
         validator-engine/validator-engine \
 | 
			
		||||
         utils/generate-random-id \
 | 
			
		||||
         utils/json2tlo \
 | 
			
		||||
         adnl/adnl-proxy \
 | 
			
		||||
         emulator/libemulator.*
 | 
			
		||||
 | 
			
		||||
test $? -eq 0 || { echo "Can't strip final binaries"; exit 1; }
 | 
			
		||||
 | 
			
		||||
# simple binaries' test
 | 
			
		||||
./storage/storage-daemon/storage-daemon -V || exit 1
 | 
			
		||||
./validator-engine/validator-engine -V || exit 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -68,29 +68,6 @@ ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-
 | 
			
		|||
      test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
strip -s storage/storage-daemon/storage-daemon \
 | 
			
		||||
         storage/storage-daemon/storage-daemon-cli \
 | 
			
		||||
         blockchain-explorer/blockchain-explorer \
 | 
			
		||||
         crypto/fift \
 | 
			
		||||
         crypto/tlbc \
 | 
			
		||||
         crypto/func \
 | 
			
		||||
         tolk/tolk \
 | 
			
		||||
         crypto/create-state \
 | 
			
		||||
         validator-engine-console/validator-engine-console \
 | 
			
		||||
         tonlib/tonlib-cli \
 | 
			
		||||
         tonlib/libtonlibjson.so.0.5 \
 | 
			
		||||
         http/http-proxy \
 | 
			
		||||
         rldp-http-proxy/rldp-http-proxy \
 | 
			
		||||
         dht-server/dht-server \
 | 
			
		||||
         lite-client/lite-client \
 | 
			
		||||
         validator-engine/validator-engine \
 | 
			
		||||
         utils/generate-random-id \
 | 
			
		||||
         utils/json2tlo \
 | 
			
		||||
         adnl/adnl-proxy \
 | 
			
		||||
         emulator/libemulator.*
 | 
			
		||||
 | 
			
		||||
test $? -eq 0 || { echo "Can't strip final binaries"; exit 1; }
 | 
			
		||||
 | 
			
		||||
# simple binaries' test
 | 
			
		||||
./storage/storage-daemon/storage-daemon -V || exit 1
 | 
			
		||||
./validator-engine/validator-engine -V || exit 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -36,23 +36,3 @@ cp ./result/lib/libemulator.so artifacts/
 | 
			
		|||
cp ./result/lib/fift/* artifacts/lib/
 | 
			
		||||
cp -r ./result/share/ton/smartcont artifacts/
 | 
			
		||||
chmod -R +x artifacts
 | 
			
		||||
cd artifacts
 | 
			
		||||
sudo strip -s storage-daemon \
 | 
			
		||||
         storage-daemon-cli \
 | 
			
		||||
         blockchain-explorer \
 | 
			
		||||
         fift \
 | 
			
		||||
         tlbc \
 | 
			
		||||
         func \
 | 
			
		||||
         tolk \
 | 
			
		||||
         create-state \
 | 
			
		||||
         validator-engine-console \
 | 
			
		||||
         tonlib-cli \
 | 
			
		||||
         http-proxy \
 | 
			
		||||
         rldp-http-proxy \
 | 
			
		||||
         dht-server \
 | 
			
		||||
         lite-client \
 | 
			
		||||
         validator-engine \
 | 
			
		||||
         generate-random-id \
 | 
			
		||||
         adnl-proxy \
 | 
			
		||||
         libemulator.so \
 | 
			
		||||
         libtonlibjson.so
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -36,23 +36,3 @@ cp ./result/lib/libemulator.so artifacts/
 | 
			
		|||
cp ./result/lib/fift/* artifacts/lib/
 | 
			
		||||
cp -r ./result/share/ton/smartcont artifacts/
 | 
			
		||||
chmod -R +x artifacts
 | 
			
		||||
cd artifacts
 | 
			
		||||
sudo strip -s storage-daemon \
 | 
			
		||||
         storage-daemon-cli \
 | 
			
		||||
         blockchain-explorer \
 | 
			
		||||
         fift \
 | 
			
		||||
         tlbc \
 | 
			
		||||
         func \
 | 
			
		||||
         tolk \
 | 
			
		||||
         create-state \
 | 
			
		||||
         validator-engine-console \
 | 
			
		||||
         tonlib-cli \
 | 
			
		||||
         http-proxy \
 | 
			
		||||
         rldp-http-proxy \
 | 
			
		||||
         dht-server \
 | 
			
		||||
         lite-client \
 | 
			
		||||
         validator-engine \
 | 
			
		||||
         generate-random-id \
 | 
			
		||||
         adnl-proxy \
 | 
			
		||||
         libemulator.so \
 | 
			
		||||
         libtonlibjson.so
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -36,23 +36,3 @@ cp ./result/lib/libemulator.dylib artifacts/
 | 
			
		|||
cp ./result/lib/fift/* artifacts/lib/
 | 
			
		||||
cp -r ./result/share/ton/smartcont artifacts/
 | 
			
		||||
chmod -R +x artifacts
 | 
			
		||||
cd artifacts
 | 
			
		||||
sudo strip -xSX storage-daemon \
 | 
			
		||||
         storage-daemon-cli \
 | 
			
		||||
         blockchain-explorer \
 | 
			
		||||
         fift \
 | 
			
		||||
         tlbc \
 | 
			
		||||
         func \
 | 
			
		||||
         tolk \
 | 
			
		||||
         create-state \
 | 
			
		||||
         validator-engine-console \
 | 
			
		||||
         tonlib-cli \
 | 
			
		||||
         http-proxy \
 | 
			
		||||
         rldp-http-proxy \
 | 
			
		||||
         dht-server \
 | 
			
		||||
         lite-client \
 | 
			
		||||
         validator-engine \
 | 
			
		||||
         generate-random-id \
 | 
			
		||||
         adnl-proxy \
 | 
			
		||||
         libemulator.dylib \
 | 
			
		||||
         libtonlibjson.dylib
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue