Skip to content
This repository was archived by the owner on Sep 17, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@
],
"package_name": "CPU-linux-1.2.3.tar.gz"
}
}
}
4 changes: 2 additions & 2 deletions scripts/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ async function downloadLibtensorflow(callback) {
*/
async function build() {
console.error('* Building TensorFlow Node.js bindings');
cp.exec('yarn node-pre-gyp install', (err) => {
cp.exec('node-pre-gyp install', (err) => {
if (err) {
console.log('node-pre-gyp install failed with: ' + err);
console.log('Start building from source binary.');
cp.exec('yarn node-pre-gyp install --build-from-source', (error) => {
cp.exec('node-pre-gyp install --build-from-source', (error) => {
if (error) {
console.log('node-pre-gyp install from source failed with error: ' +
error);
Expand Down