Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: make in parallel #244

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions background_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function install_pigpio {
wget -c "$URL"
unzip master.zip
cd pigpio-master
make
make -j$(nproc)
sudo make install
rm -f master.zip
)
Expand Down Expand Up @@ -124,7 +124,7 @@ function install_matiec {
cd "$OPENPLC_DIR/utils/matiec_src"
autoreconf -i
./configure
make
make -j$(nproc)
cp ./iec2c "$OPENPLC_DIR/webserver/" || fail "Error compiling MatIEC"
cd "$OPENPLC_DIR"
}
Expand Down Expand Up @@ -160,7 +160,7 @@ function install_opendnp3 {
cd "$OPENPLC_DIR/utils/dnp3_src"
swap_on "$1"
cmake .
make
make -j$(nproc)
$1 make install || fail "Error installing OpenDNP3"
$1 ldconfig
swap_off "$1"
Expand Down