@@ -160,47 +160,6 @@ stylus_benchmarks = $(wildcard $(stylus_dir)/*.toml $(stylus_dir)/src/*.rs) $(st
160
160
CBROTLI_WASM_BUILD_ARGS ?=-d
161
161
162
162
163
- # Normalize architecture names
164
- ifeq ($(UNAME_M ) ,arm64)
165
- # Apple Silicon reports as arm64, but Rust uses aarch64
166
- DETECTED_ARCH := aarch64
167
- else
168
- DETECTED_ARCH := $(UNAME_M )
169
- endif
170
-
171
- # Determine target triple
172
- ifeq ($(DETECTED_ARCH ) ,aarch64)
173
- ifeq ($(UNAME_S),Darwin)
174
- TRIPLE := aarch64-apple-darwin
175
- else
176
- TRIPLE := aarch64-unknown-linux-gnu
177
- endif
178
- else ifeq ($(DETECTED_ARCH),x86_64)
179
- ifeq ($(UNAME_S),Darwin)
180
- TRIPLE := x86_64-apple-darwin
181
- else
182
- TRIPLE := x86_64-unknown-linux-gnu
183
- endif
184
- else
185
- $(error Architecture $(DETECTED_ARCH) is not supported)
186
- endif
187
-
188
- # Set library extension based on OS
189
- ifeq ($(UNAME_S ) ,Darwin)
190
- LIB_EXT := dylib
191
- espresso_crypto_filename = libespresso_crypto_helper.dylib
192
- else
193
- LIB_EXT := so
194
- export LD_LIBRARY_PATH := $(shell pwd)/target/lib:$LD_LIBRARY_PATH
195
- endif
196
-
197
- CBROTLI_WASM_BUILD_ARGS ?=-d
198
-
199
- # user targets
200
- .PHONY : build-espresso-crypto-lib
201
- build-espresso-crypto-lib :
202
- ./scripts/prepare-espresso-crypto-helper
203
-
204
163
.PHONY : push
205
164
push : lint test-go .make/fmt
206
165
@printf " %bdone building %s%b\n" $(color_pink ) $$(expr $$(echo $? | wc -w ) - 1 ) $(color_reset )
@@ -215,7 +174,7 @@ build: $(patsubst %,$(output_root)/bin/%, nitro deploy relay daprovider daserver
215
174
@printf $(done )
216
175
217
176
.PHONY : build-node-deps
218
- build-node-deps : $(go_source ) build-prover-header build-prover-lib build-jit .make/solgen .make/cbrotli-lib build-espresso-crypto-lib
177
+ build-node-deps : $(go_source ) build-prover-header build-prover-lib build-jit .make/solgen .make/cbrotli-lib
219
178
220
179
.PHONY : test-go-deps
221
180
test-go-deps : \
@@ -341,9 +300,6 @@ clean:
341
300
@rm -rf contracts-local/out contracts-local/forge-cache
342
301
@rm -f .make/*
343
302
rm -rf brotli/buildfiles
344
- @rm -f $(output_root ) /lib/$(espresso_crypto_filename )
345
- rm -f $(ESPRESSO_TAR )
346
- rm -rf $(ESPRESSO_DIR )
347
303
# Ensure lib64 is a symlink to lib
348
304
mkdir -p $(output_root)/lib
349
305
ln -s lib $(output_root)/lib64
0 commit comments