Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make assemble_npm support M1 architecture (typedb#337)
Browse files Browse the repository at this point in the history
## What is the goal of this PR?

To fix issues with running the assembly rules with a m1 mac

## What are the changes implemented in this PR?

- Adds the correct architecture folder under the `PATH` search
adierkens authored Mar 7, 2022
1 parent 4d6d138 commit 96424c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions npm/assemble/assemble.py
Original file line number Diff line number Diff line change
@@ -72,6 +72,7 @@
'/bin/',
os.path.realpath('external/nodejs/bin/nodejs/bin/'),
os.path.realpath('external/nodejs_darwin_amd64/bin/'),
os.path.realpath('external/nodejs_darwin_arm64/bin/'),
os.path.realpath('external/nodejs_linux_amd64/bin/'),
os.path.realpath('external/nodejs_windows_amd64/bin/'),
])

0 comments on commit 96424c8

Please sign in to comment.