Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alveus:main:amd
amd-opencl
Add-variable-for-controlling-which-components-t...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Add-variable-for-controlling-which-components-to-bui.patch of Package amd-opencl
From 855338664b3f4b42013efbe55890e09708cb8eb0 Mon Sep 17 00:00:00 2001 From: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Date: Wed, 3 Mar 2021 17:37:24 +0100 Subject: [PATCH] Add variable for controlling which components to build Signed-off-by: Patrik Jakobsson <pjakobsson@suse.de> --- aomp/bin/build_aomp.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/aomp/bin/build_aomp.sh b/aomp/bin/build_aomp.sh index 5262cc5f..93c38eb8 100755 --- a/aomp/bin/build_aomp.sh +++ b/aomp/bin/build_aomp.sh @@ -110,7 +110,15 @@ else # The ROCM build only needs these components: components="extras openmp pgmath flang flang_runtime" fi -echo "COMPONENTS:$components" + +echo "DEFAULT COMPONENTS:$components" + +# Allow for specifying each individual components to build +if [ -n "$AOMP_COMPONENTS" ] ; then + components=$AOMP_COMPONENTS + echo "OVERRIDDEN COMPONENTS:$components" +fi + #Partial build options. Check if argument was given. if [ -n "$1" ] ; then -- 2.40.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor