Revision c5c65c99f1505015d1edfe8acfdb9a240775e5a4 authored by Marge Bot on 20 June 2023, 16:07:33 UTC, committed by Marge Bot on 20 June 2023, 16:07:33 UTC
Co-authored-by: Emma Turner <emma.turner@trili.tech> Approved-by: Rodi-Can Bozman <rodi.bozman@functori.com> Approved-by: Pierrick Couderc <pierrick.couderc@nomadic-labs.com> Approved-by: Valentin Chaboche <valentin.chaboche@nomadic-labs.com> See merge request https://gitlab.com/tezos/tezos/-/merge_requests/9210
kernels.mk
KERNELS = evm_kernel.wasm
SDK_DIR=src/kernel_sdk
EVM_DIR=src/kernel_evm
SEQUENCER_DIR=src/kernel_sequencer
.PHONY: all
all: build-dev-deps check test build
.PHONY: kernel_sdk
kernel_sdk:
@make -C src/kernel_sdk build
@cp src/kernel_sdk/target/$(NATIVE_TARGET)/release/smart-rollup-installer .
evm_kernel.wasm::
@make -C src/kernel_evm build
@cp src/kernel_evm/target/wasm32-unknown-unknown/release/evm_kernel.wasm $@
@wasm-strip $@
sequenced_kernel.wasm:
@make -C src/kernel_sequencer build
@cp src/kernel_sequencer/target/wasm32-unknown-unknown/release/examples/sequenced_kernel.wasm $@
@wasm-strip $@
.PHONY: build
build: ${KERNELS} kernel_sdk sequenced_kernel.wasm
.PHONY: build-dev-deps
build-dev-deps: build-deps
@make -C ${SDK_DIR} build-dev-deps
@make -C ${EVM_DIR} build-dev-deps
@make -C ${SEQUENCER_DIR} build-dev-deps
.PHONY: build-deps
build-deps:
@make -C ${SDK_DIR} build-deps
@make -C ${EVM_DIR} build-deps
@make -C ${SEQUENCER_DIR} build-deps
.PHONY: test
test:
@make -C ${SDK_DIR} test
@make -C ${EVM_DIR} test
@make -C ${SEQUENCER_DIR} test
.PHONY: check
check:
@make -C ${SDK_DIR} check
@make -C ${EVM_DIR} check
@make -C ${SEQUENCER_DIR} check
.PHONY: publish-sdk-deps
publish-sdk-deps: build-deps
@make -C ${SDK_DIR} publish-deps
.PHONY: publish-sdk
publish-sdk:
@make -C ${SDK_DIR} publish
.PHONY: clean
clean:
@rm -f ${KERNELS}
@make -C ${SDK_DIR} clean
@make -C ${EVM_DIR} clean
@make -C ${SEQUENCER_DIR} clean
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...