Skip to content

unset LLP for parallel build #4565

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

Merged
merged 2 commits into from
May 9, 2023
Merged
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
9 changes: 7 additions & 2 deletions buildenv/jenkins/JenkinsfileBase
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,13 @@ def setupParallelEnv() {
echo 'Exception: ' + e.toString()
echo 'Cannot run copyArtifacts from test.getDependency. Skipping copyArtifacts...'
}

sh "cd ./aqa-tests/TKG; make genParallelList ${PARALLEL_OPTIONS}"

String unsetLLP = ""
//unset LD_LIBRARY_PATH workaround for issue https://github.com/adoptium/infrastructure/issues/2934
if (JDK_IMPL == 'hotspot' && JDK_VERSION == '8' && PLATFORM.contains('alpine-linux')) {
unsetLLP = "unset LD_LIBRARY_PATH;"
}
sh "cd ./aqa-tests/TKG; ${unsetLLP} make genParallelList ${PARALLEL_OPTIONS}"

// get NUM_LIST from parallelList.mk. NUM_LIST can be different than numOfMachines
def parallelList = "aqa-tests/TKG/parallelList.mk"
Expand Down