-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML-137] [Core] Multiple improvements for build & deploy and integrat…
…e oneAPI 2021.4 (#139) * Move libs to resource and use oneCCL in oneAPI ToolKit (need to patch soname of libfabric.so.1) * Add prepare build resources, workaround CCL_ROOT parsing bug for 2021.4 * nit * Add output version for prepare-build-deps.sh * Add dev/build-maven-local-repo.sh * Add dal 2021.4 deps from central instead of local, clean assembly.xml, update build & test scripts * update scripts * update ci * Add vscode settings Add RELEASE and revise env.sh for test-cluster Add exe mode to build.sh * nit * add lib as empty dir * set log4j to WARN, update doc and code comments * nit * update env.sh & template * update HOST_NAME * add trap to capture script error * Prepare hdfs data * update scripts * nit
- Loading branch information
Showing
36 changed files
with
581 additions
and
349 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
## What changes were proposed in this pull request? | ||
|
||
(Please fill in changes proposed in this fix) | ||
|
||
## Does this PR also require the following changes? | ||
|
||
- CI | ||
- Documentation | ||
- Example |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
*.o | ||
*.log | ||
.vscode | ||
*.iml | ||
.vscode/ | ||
target/ | ||
.idea/ | ||
.idea_modules/ |
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,19 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "Linux", | ||
"includePath": [ | ||
"${workspaceFolder}/mllib-dal/src/main/native/**", | ||
"${CCL_ROOT}/include/**", | ||
"${DAALROOT}/include/**", | ||
"${JAVA_HOME}/include/**" | ||
], | ||
"defines": [], | ||
"compilerPath": "${CMPLR_ROOT}/linux/bin/clang", | ||
"cStandard": "c17", | ||
"cppStandard": "c++14", | ||
"intelliSenseMode": "clang-x64" | ||
} | ||
], | ||
"version": 4 | ||
} |
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,37 @@ | ||
{ | ||
"files.associations": { | ||
"*.tcc": "cpp", | ||
"cctype": "cpp", | ||
"chrono": "cpp", | ||
"cstdint": "cpp", | ||
"ctime": "cpp", | ||
"cwchar": "cpp", | ||
"exception": "cpp", | ||
"initializer_list": "cpp", | ||
"iosfwd": "cpp", | ||
"iostream": "cpp", | ||
"istream": "cpp", | ||
"limits": "cpp", | ||
"ostream": "cpp", | ||
"ratio": "cpp", | ||
"string_view": "cpp", | ||
"type_traits": "cpp", | ||
"clocale": "cpp", | ||
"streambuf": "cpp", | ||
"algorithm": "cpp", | ||
"cstdarg": "cpp", | ||
"cstddef": "cpp", | ||
"cstdio": "cpp", | ||
"deque": "cpp", | ||
"vector": "cpp", | ||
"functional": "cpp", | ||
"memory_resource": "cpp", | ||
"string": "cpp", | ||
"utility": "cpp", | ||
"fstream": "cpp", | ||
"iomanip": "cpp", | ||
"new": "cpp", | ||
"sstream": "cpp", | ||
"*.template": "shellscript" | ||
} | ||
} |
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 @@ | ||
OAP_MLLIB_VERSION=1.2.0 |
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,30 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [[ -z $DAALROOT ]]; then | ||
echo DAALROOT not defined! | ||
exit 1 | ||
fi | ||
|
||
echo "Building Maven Repo for oneDAL ..." | ||
|
||
mkdir maven-repository | ||
mvn deploy:deploy-file -Dfile=$DAALROOT/lib/onedal.jar -DgroupId=com.intel.onedal -Dversion=2021.4.0 -Dpackaging=jar -Durl=file:./maven-repository -DrepositoryId=maven-repository -DupdateReleaseInfo=true | ||
|
||
echo "DONE" | ||
|
||
find ./maven-repository | ||
|
||
# Add the following into pom.xml: | ||
|
||
# <repositories> | ||
# <repository> | ||
# <id>maven-repository</id> | ||
# <url>file:///${project.basedir}/maven-repository</url> | ||
# </repository> | ||
# </repositories> | ||
|
||
# <dependency> | ||
# <groupId>com.intel.dal</groupId> | ||
# <artifactId>dal</artifactId> | ||
# <version>2021.4.0</version> | ||
# </dependency> |
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
Oops, something went wrong.