-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#305 progress, CPLEX error, Clang error
- Loading branch information
1 parent
7b880d4
commit 0c8c481
Showing
11 changed files
with
4,327 additions
and
7 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name = 'CPLEX' | ||
version = '22.1.1' | ||
|
||
homepage = 'https://www.ibm.com/analytics/cplex-optimizer' | ||
description = """IBM ILOG CPLEX Optimizer's mathematical programming technology enables | ||
analytical decision support for improving efficiency, | ||
reducing costs, and increasing profitability.""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '12.2.0'} | ||
# cplex_studio2211.linux_x86_64.bin | ||
sources = ['cplex_studio%s.linux_x86_64.bin' % ''.join(version.split('.'))] | ||
checksums = ['ab6d3f0953fdb3cbd43854452357955ef96db8b751c0866de3572fc47a0df542'] | ||
|
||
download_instructions = """ | ||
1. Visit https://www.ibm.com/products/ilog-cplex-optimization-studio | ||
2. Sign up and download the Academic Edition | ||
""" | ||
|
||
builddependencies = [ | ||
('binutils', '2.39'), | ||
] | ||
|
||
dependencies = [ | ||
('Java', '11', '', SYSTEM), | ||
('Python', '3.10.8'), | ||
] | ||
|
||
moduleclass = 'math' |
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,27 @@ | ||
easyblock = 'PythonPackage' | ||
|
||
name = 'CPLEX' | ||
version = '22.1.1' | ||
|
||
homepage = 'https://www.ibm.com/analytics/cplex-optimizer' | ||
description = """IBM ILOG CPLEX Optimizer's mathematical programming technology enables | ||
analytical decision support for improving efficiency, | ||
reducing costs, and increasing profitability.""" | ||
|
||
toolchain = {'name': 'GCCcore', 'version': '11.3.0'} | ||
# cplex_studio2211.linux_x86_64.bin | ||
sources = ['cplex_studio%s.linux_x86_64.bin' % ''.join(version.split('.'))] | ||
checksums = ['ab6d3f0953fdb3cbd43854452357955ef96db8b751c0866de3572fc47a0df542'] | ||
|
||
builddependencies = [('binutils', '2.38')] | ||
|
||
dependencies = [ | ||
('CPLEX', '22.1.1', '', SYSTEM), | ||
('Python', '3.10.4'), | ||
] | ||
|
||
download_dep_fail = True | ||
use_pip = True | ||
sanity_pip_check = True | ||
|
||
moduleclass = 'math' |
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,61 @@ | ||
## | ||
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild | ||
# | ||
# Copyright:: Copyright 2013-2015 Dmitri Gribenko, Ward Poelmans | ||
# Authors:: Dmitri Gribenko <[email protected]> | ||
# Authors:: Ward Poelmans <[email protected]> | ||
# License:: GPLv2 or later, MIT, three-clause BSD. | ||
# $Id$ | ||
## | ||
|
||
name = 'Clang' | ||
version = '16.0.4' | ||
|
||
homepage = 'https://clang.llvm.org/' | ||
description = """C, C++, Objective-C compiler, based on LLVM. Does not | ||
include C++ standard library -- use libstdc++ from GCC.""" | ||
|
||
# Clang also depends on libstdc++ during runtime, but this dependency is | ||
# already specified as the toolchain. | ||
toolchain = {'name': 'GCCcore', 'version': '12.2.0'} | ||
|
||
source_urls = ["https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s"] | ||
sources = [ | ||
'llvm-project-%(version)s.src.tar.xz', | ||
] | ||
checksums = [ | ||
{'llvm-project-16.0.4.src.tar.xz': 'cf3c2a1152ed7a99866bd7f12c24528ada6d9f6336afb7a08416938762004c9f'}, | ||
] | ||
|
||
builddependencies = [ | ||
('CMake', '3.24.3'), | ||
('Perl', '5.36.0'), | ||
# Including Python bindings would require this as a runtime dep | ||
('Python', '3.10.8'), | ||
] | ||
dependencies = [ | ||
# since Clang is a compiler, binutils is a runtime dependency too | ||
('binutils', '2.39'), | ||
('hwloc', '2.8.0'), | ||
('libxml2', '2.10.3'), | ||
('ncurses', '6.3'), | ||
('GMP', '6.2.1'), | ||
('Z3', '4.12.2'), | ||
] | ||
|
||
configopts = '-DLIBOMPTARGET_BUILD_DEVICERTL_BCLIB=OFF ' | ||
|
||
# enabling RTTI makes the flang compiler need to link to libc++ so instead of | ||
# flang-new -flang-experimental-exec -fopenmp hello_openmp.f90 | ||
# you would need | ||
# flang-new -flang-experimental-exec -fopenmp hello_openmp.f90 -l c++ | ||
enable_rtti = False | ||
|
||
assertions = True | ||
python_bindings = False | ||
skip_all_tests = True | ||
|
||
llvm_runtimes = ['libunwind', 'libcxx', 'libcxxabi'] | ||
llvm_projects = ['polly', 'lld', 'lldb', 'clang-tools-extra', 'flang'] | ||
|
||
moduleclass = 'compiler' |
Oops, something went wrong.