-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from jslee02/dartpy
Add dartpy
- Loading branch information
Showing
14 changed files
with
310 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
:: Check the number of cores to use by ninja by default | ||
IF %CPU_COUNT% GTR 8 ( | ||
set CMAKE_BUILD_PARALLEL_LEVEL=8 | ||
) ELSE ( | ||
set CMAKE_BUILD_PARALLEL_LEVEL=%CPU_COUNT% | ||
) | ||
|
||
:: Install the Python package | ||
python -m pip install . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
set -euxo pipefail | ||
|
||
# Set CMAKE_BUILD_PARALLEL_LEVEL to control the parallel build level | ||
if [[ ${target_platform} == "linux-ppc64le" ]]; then | ||
export CMAKE_BUILD_PARALLEL_LEVEL=1 | ||
else | ||
if [[ ${CPU_COUNT} -gt 8 ]]; then | ||
export CMAKE_BUILD_PARALLEL_LEVEL=8 | ||
else | ||
export CMAKE_BUILD_PARALLEL_LEVEL=${CPU_COUNT} | ||
fi | ||
fi | ||
|
||
# Install the Python package | ||
python -m pip install . -vv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
c_stdlib_version: # [osx and x86_64] | ||
- '10.15' # [osx and x86_64] |
Oops, something went wrong.