CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
71 lines
2.9 KiB
Plaintext
71 lines
2.9 KiB
Plaintext
#%Module1.0###################################################################
|
|
#
|
|
# Copyright (c) 2020-2025 Intel Corporation
|
|
#
|
|
# 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.
|
|
|
|
# This modulefile requires Environment Modules 4.1 or later.
|
|
# Type `module --version` to determine the current installed version.
|
|
|
|
##############################################################################
|
|
|
|
set min_tcl_ver 8.4
|
|
if { $tcl_version < $min_tcl_ver } {
|
|
puts stderr " "
|
|
puts stderr "ERROR: This modulefile requires tcl $min_tcl_ver or greater."
|
|
puts stderr "Your system reports that tclsh version $tcl_version is installed."
|
|
exit 1
|
|
}
|
|
|
|
# if modulefile script name is a symlink, resolve it to get the fully
|
|
# qualified pathname that points to the actual modulefile script
|
|
# see: https://wiki.tcl-lang.org/page/file+normalize
|
|
set scriptpath "${ModulesCurrentModulefile}"
|
|
set scriptpath "[file dirname [file normalize "$scriptpath/___"]]"
|
|
|
|
# define componentroot, modulefilepath, modulefilename and modulefilever
|
|
set modulefilename "[file tail [file dirname "${scriptpath}"]]"
|
|
set modulefilever "[file tail "${scriptpath}"]"
|
|
set modulefilepath "${scriptpath}"
|
|
set componentroot "[file dirname [file dirname [file dirname [file dirname "${scriptpath}"]]]]"
|
|
|
|
##############################################################################
|
|
|
|
module-whatis "Name: Intel(R) oneAPI Threading Building Blocks"
|
|
module-whatis "Version: $modulefilename/$modulefilever"
|
|
module-whatis "Description: Flexible threading library for adding parallelism to complex applications across accelerated architectures."
|
|
module-whatis "URL: https://www.intel.com/content/www/us/en/developer/tools/oneapi/onetbb.html"
|
|
module-whatis "Dependencies: none"
|
|
|
|
proc ModulesHelp { } {
|
|
global modulefilename
|
|
global modulefilever
|
|
puts "module whatis ${modulefilename}/${modulefilever}"
|
|
}
|
|
|
|
##############################################################################
|
|
|
|
# Define environment variables needed for an isolated component install.
|
|
|
|
set tbbroot "$componentroot"
|
|
set tbb_target_arch "ia32"
|
|
|
|
setenv TBBROOT "$tbbroot"
|
|
|
|
prepend-path C_INCLUDE_PATH "$tbbroot/include32:$tbbroot/include"
|
|
prepend-path CPLUS_INCLUDE_PATH "$tbbroot/include32:$tbbroot/include"
|
|
prepend-path LIBRARY_PATH "$tbbroot/lib32"
|
|
prepend-path LD_LIBRARY_PATH "$tbbroot/lib32"
|
|
prepend-path CMAKE_PREFIX_PATH "$tbbroot"
|
|
prepend-path PKG_CONFIG_PATH "$tbbroot/lib32/pkgconfig"
|