Generate keypair file for c program deployment (#15080)
* Generate keypair file for c program deployment * Build and use solana-keygen in test-stable-perf
This commit is contained in:
@ -168,6 +168,11 @@ $1: $2
|
||||
@echo "[lld] $1 ($2)"
|
||||
$(_@)mkdir -p $(dir $1)
|
||||
$(_@)$(LLD) $(BPF_LLD_FLAGS) -o $1 $2
|
||||
ifeq (,$(wildcard $(subst .so,-keypair.json,$1)))
|
||||
$(_@)solana-keygen new --no-passphrase --silent -o $(subst .so,-keypair.json,$1)
|
||||
endif
|
||||
@echo To deploy this program:
|
||||
@echo $$$$ solana program deploy $(realpath $1)
|
||||
endef
|
||||
|
||||
define TEST_C_RULE
|
||||
|
Reference in New Issue
Block a user