Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
Decrease the number of compilation tasks in parallel.
Browse files Browse the repository at this point in the history
Closes #70
  • Loading branch information
andylokandy committed Sep 5, 2019
1 parent cb175b6 commit e948049
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Expand Up @@ -13,16 +13,16 @@ env:
matrix:
include:
- env: TARGET=i686-unknown-linux-gnu
rust: nightly-2019-07-02
rust: nightly-2019-09-04
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly-2019-07-02
rust: nightly-2019-09-04
- env: TARGET=i686-unknown-linux-musl
rust: nightly-2019-07-02
rust: nightly-2019-09-04
- env: TARGET=x86_64-unknown-linux-musl
rust: nightly-2019-07-02
rust: nightly-2019-09-04
- env: TARGET=x86_64-apple-darwin
os: osx
rust: nightly-2019-07-02
rust: nightly-2019-09-04

before_install:
- set -e
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog

## [0.3.2]

Decrease the number of compilation tasks in parallel so as to reduce
the chance that Idris compiler breaks down on high load.

## [0.3.1]

This release reduces the build time and comes with new command line
Expand Down Expand Up @@ -267,7 +272,8 @@ other packages.
- Commands for creating packages, building packages (generating a lockfile
and building all targets), testing packages, and (un)installing packages.

[Unreleased]: https://github.com/elba/elba/compare/0.3.1...HEAD
[Unreleased]: https://github.com/elba/elba/compare/0.3.2...HEAD
[0.3.2]: https://github.com/elba/elba/compare/0.3.1...0.3.2
[0.3.1]: https://github.com/elba/elba/compare/0.3.0...0.3.1
[0.3.0]: https://github.com/elba/elba/compare/0.2.0...0.3.0
[0.2.0]: https://github.com/elba/elba/compare/0.1.5...0.2.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -2,7 +2,7 @@
name = "elba"
description = "elba is a package manager for Idris"
authors = ["David Cao <david@cao.st>"]
version = "0.3.1"
version = "0.3.2"
license = "MIT"
edition = "2018"

Expand Down
6 changes: 3 additions & 3 deletions appveyor.yml
Expand Up @@ -3,15 +3,15 @@

environment:
global:
RUST_VERSION: nightly-2019-07-02
RUST_VERSION: nightly-2019-09-04
CRATE_NAME: elba

matrix:
# Testing other channels
- TARGET: i686-pc-windows-msvc
RUST_VERSION: nightly-2019-07-02
RUST_VERSION: nightly-2019-09-04
- TARGET: x86_64-pc-windows-msvc
RUST_VERSION: nightly-2019-07-02
RUST_VERSION: nightly-2019-09-04

install:
- ps: >-
Expand Down
2 changes: 1 addition & 1 deletion docs/src/usage/quick_start.rst
Expand Up @@ -42,7 +42,7 @@ from `crates.io <https://crates.io>`__. In order to install elba this
way, you should have a copy of the Rust toolchain installed on your
computer first. The process for this is explained on `the Rust
website <https://www.rust-lang.org/en-US/install.html>`__. The version of
of Rust elba has successfully been built on is **nightly-2019-07-02**.
of Rust elba has successfully been built on is **nightly-2019-09-04**.

Once you have Rust installed, installing elba is self-explanatory:

Expand Down
2 changes: 1 addition & 1 deletion src/lib/build/mod.rs
Expand Up @@ -206,7 +206,7 @@ pub async fn compile_lib<'a>(
loop {
while let Some(compile) = compilations.next() {
ongoing_compilation.push(Box::pin(compile));
if ongoing_compilation.len() > 4 {
if ongoing_compilation.len() >= 2 {
break;
}
}
Expand Down

0 comments on commit e948049

Please sign in to comment.