Skip to content

Commit

Permalink
chore(ci): include snippets folder into tfhe npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
soonum committed Sep 26, 2024
1 parent 84de0a7 commit de7c7f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ build_web_js_api_parallel: install_rs_check_toolchain install_wasm_pack
-- --features=boolean-client-js-wasm-api,shortint-client-js-wasm-api,integer-client-js-wasm-api,parallel-wasm-api,zk-pok \
-Z build-std=panic_abort,std && \
find pkg/snippets -type f -iname workerHelpers.worker.js -exec sed -i "s|from '..\/..\/..\/';|from '..\/..\/..\/tfhe.js';|" {} \;
jq '.files += ["snippets"]' tfhe/pkg/package.json > tmp_pkg.json && mv -f tmp_pkg.json tfhe/pkg/package.json

.PHONY: build_node_js_api # Build the js API targeting nodejs
build_node_js_api: install_rs_build_toolchain install_wasm_pack
Expand Down
4 changes: 2 additions & 2 deletions ci/slab.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[backend.aws.cpu-big]
region = "eu-west-3"
image_id = "ami-0951a5e10094e2328"
image_id = "ami-09b5f2f71828035d4"
instance_type = "m6i.32xlarge"

[backend.aws.cpu-big_fallback]
Expand All @@ -10,7 +10,7 @@ instance_type = "m6i.32xlarge"

[backend.aws.cpu-small]
region = "eu-west-3"
image_id = "ami-0951a5e10094e2328"
image_id = "ami-09b5f2f71828035d4"
instance_type = "m6i.4xlarge"

[backend.aws.bench]
Expand Down

0 comments on commit de7c7f2

Please sign in to comment.