-
Notifications
You must be signed in to change notification settings - Fork 210
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
Enable Cross Compilation of Arm SVE on x86 Cl (Binary only) #2691
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
ea9fba9
adding options in apt for cross compilers
rakshithgb-fujitsu 131f3db
modifying build.sh
rakshithgb-fujitsu 3111999
adding help option
rakshithgb-fujitsu e245c4b
support openblas cross compile for arm
rakshithgb-fujitsu 7e59bd7
adding cross compile support for tbb
rakshithgb-fujitsu 9067913
minor changes
rakshithgb-fujitsu 854f5e7
arm cross compile ci working
rakshithgb-fujitsu d6d4b66
Update ci.yml temp
rakshithgb-fujitsu 8b0b697
fix identation
rakshithgb-fujitsu 47e2b0f
fix identation
rakshithgb-fujitsu c6eb05e
added cla, comments and build cmd fix
rakshithgb-fujitsu 9550371
making openblas build cmd uniform
rakshithgb-fujitsu 736aba2
comment fix
rakshithgb-fujitsu 914fddb
cla
rakshithgb-fujitsu e14ea0e
fix - examples cross compile build
ajay-fuji 08ea467
Update env scripts
ajay-fuji ca493dc
Update ci.yml and build.sh
ajay-fuji 56522d1
Remove examples build task from ARM_OPENBLAS build Job
ajay-fuji c329f85
Update .ci/env/arm-toolchain.cmake
ajay-fuji 000296c
review comment updates
rakshithgb-fujitsu af8409b
changed task name
rakshithgb-fujitsu 35bbf7b
rename toolchain
rakshithgb-fujitsu f1d6353
Merge branch 'oneapi-src:main' into arm-sve-ci
rakshithgb-fujitsu c7ba868
Merge branch 'oneapi-src:main' into arm-sve-ci
rakshithgb-fujitsu 90bfb08
Update tbb.sh
ajay-fuji 24326ee
bug fix in cpu_infor_arm_impl
rakshithgb-fujitsu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#=============================================================================== | ||
# Copyright contributors to the oneDAL project | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
#=============================================================================== | ||
|
||
|
||
# Set the CMake system name to inform CMake that we are cross-compiling | ||
set(CMAKE_SYSTEM_NAME Linux) | ||
|
||
# Set the cross-compilation prefix for the toolchain | ||
set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc) | ||
set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++) | ||
|
||
# Set the target architecture | ||
set(CMAKE_SYSTEM_PROCESSOR aarch64) | ||
|
||
# Set compiler flags and options for ARMv8-A architecture with SVE | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv8-a+sve") | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=armv8-a+sve") | ||
|
||
# Specify the root directory of the cross-compiler toolchain | ||
set(CMAKE_FIND_ROOT_PATH / /usr/bin) | ||
|
||
# Specify the search paths for libraries and headers | ||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) | ||
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't feel like the TBB version should be hard-coded. This should be picked up from the pkgconfig file in the installation