Skip to content

Commit

Permalink
Cause pip installation of numbuf to fail if the build.sh or setup.sh …
Browse files Browse the repository at this point in the history
…fail. (ray-project#163)
  • Loading branch information
robertnishihara authored and pcmoritz committed Dec 29, 2016
1 parent c403ab1 commit a1a08b9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions numbuf/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env bash

# Cause the script to exit if a single command fails.
set -e

ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)

# Determine how many parallel jobs to use for make based on the number of cores
Expand Down
3 changes: 3 additions & 0 deletions numbuf/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env bash

# Cause the script to exit if a single command fails.
set -e

ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)

platform="unknown"
Expand Down
2 changes: 2 additions & 0 deletions numbuf/thirdparty/build_thirdparty.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash

set -x

# Cause the script to exit if a single command fails.
set -e

TP_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
Expand Down
2 changes: 2 additions & 0 deletions numbuf/thirdparty/download_thirdparty.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash

set -x

# Cause the script to exit if a single command fails.
set -e

TP_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
Expand Down

0 comments on commit a1a08b9

Please sign in to comment.