Bertrand Bellenot
6a4cc17e26
Add current directory .
case
2024-08-15 15:14:05 +02:00
Bertrand Bellenot
2bbabd25fa
Handle also the non-Windows cases
...
Thanks Jonas for the proposal
2024-08-15 15:14:05 +02:00
Bertrand Bellenot
9325054010
Fix potential Clad build error
...
Fixes the following potential error when building clad:
```
Command failed: 2
‘/usr/local/bin/cmake’ ‘–build’ ‘.’ ‘–config’ ‘.’
```
2024-08-15 15:14:05 +02:00
Vassil Vassilev
9c3ae91ff5
Bump clad to version v1.7
2024-08-08 20:29:02 +02:00
ferdymercury
42d2fb1493
Remove references to Python2
...
copy-pasted from pitkajuh. See https://github.com/root-project/cling/pull/519
2024-07-26 09:59:04 +02:00
Vassil Vassilev
7516f5d348
Bump clad to version v1.6
...
The 1.6 release has critical fixes for the RooFit AD backend.
2024-07-18 09:44:04 +02:00
Vassil Vassilev
9cd87082a9
Bump clad to version v1.5
...
This new release includes several fixes helping to scale the RooFit AD backend.
See more at: https://github.com/vgvassilev/clad/releases/tag/v1.5
2024-05-21 12:29:05 +02:00
Bertrand Bellenot
efa55e40ed
Export missing symbols
...
Export the following missing symbols:
```
void * __ptr64 __cdecl operator new(unsigned __int64,struct std::nothrow_t const & __ptr64)
void * __ptr64 __cdecl operator new[](unsigned __int64,struct std::nothrow_t const & __ptr64)
```
and
```
void * __cdecl operator new[](unsigned int,struct std::nothrow_t const &)
void * __cdecl operator new(unsigned int,struct std::nothrow_t const &)
```
Fixes root-project/cling#442
2024-05-14 15:44:06 +02:00
Jonas Rembser
be35aaef26
Only build clad
plugin if requested
...
Building clad should not depend on the result of the connectivity check,
but whether it is enabled.
2024-05-06 21:44:06 +02:00
Bertrand Bellenot
057bdb107a
Fix Clad debug build on Windows
2024-03-06 14:14:05 +01:00
Vassil Vassilev
81c365f899
Bump clad version to v1.4.
...
This new release includes several fixes helping to simplify RooFit AD backend.
See more at: https://github.com/vgvassilev/clad/releases/tag/v1.4
2024-03-05 18:14:06 +01:00
Vassil Vassilev
45d9a081c4
Bump clad version to v1.3. ( #14654 )
...
This new release includes performance and stability improvements.
See more at: https://github.com/vgvassilev/clad/releases/tag/v1.3
2024-02-12 22:59:07 +01:00
Jonas Hahnfeld
2f99b68754
Fix clad build with LLVM_LIBDIR_SUFFIX
...
This fixes builtin_llvm=OFF builds on at least EL8 platforms that
currently have exactly LLVM 16.0.6.
2024-01-05 16:44:07 +01:00
Olivier Couet
7a987c29f6
Remove all the references to "drupal". ( #14273 )
...
* Remove all the references to "drupal".
* Apply ferdymercury changes. Thanks !
2023-12-20 09:29:05 +01:00
Jonas Hahnfeld
cf51c60306
Build demo with C++17
2023-12-12 18:59:06 +01:00
Stephan Lachnit
798c565978
Remove usage of --src-root with llvm-config
2023-08-02 10:59:04 +02:00
Vassil Vassilev
5e3310ac04
Bump clad version to v1.2.
...
This new release includes some improvements:
* Add experimental support for forward vector mode
* Add pushforwards for std::floor and std::ceil
* Improve AD function interfaces with bitmasked options. For example:
clad::differentiate<<clad::order::first, clad::opts::vector_mode>(f) will
be equivalent to clad::differentiate<<1, clad::opts::vector_mode>(f) and
will request the first order derivative of f in forward vector mode.
* LLVM16 Support
See more at: https://github.com/vgvassilev/clad/blob/v1.2/docs/internalDocs/ReleaseNotes.md
2023-07-20 16:59:07 +02:00
Maksymilian Graczyk
67235e8a2a
Add jitlink to LLVM_LINK_COMPONENTS in relevant cling parts
2023-07-01 12:44:07 +02:00
Jiang Yi
a1b1c875fd
startup script support
...
Before showing command promt or executing scripts from argv,
enumerate .C files in the directory ${CLING_HOME}/.cling.d/ in alphabetic
order then .x them.
Search order of ${CLING_HOME}:
1. ${CLING_HOME} envvar
2. ${XDG_CONFIG_HOME}/cling/
3. ${HOME}/.config/cling/
4. ${HOME}/
2023-06-16 16:29:08 +02:00
Jonas Hahnfeld
f23f0ed9ca
Re-download all Clad patches from GitHub
...
This guarantees valid patch files.
2023-05-30 09:14:07 +02:00
Bertrand Bellenot
9735886a70
Fix failing patch on Windows ( #12882 )
...
* Fix failing patch on Windows
Fix `fatal: corrupt patch at line 28` on Windows
* More trailing white spaces
2023-05-25 15:14:06 +02:00
Jonas Hahnfeld
833c1c1b75
Simplify logic for build with old toolchain
...
Setting LLVM_FORCE_USE_OLD_TOOLCHAIN will skip all checks in
interpreter/llvm/src/cmake/modules/CheckCompilerVersion.cmake, which
is what we want.
2023-05-25 11:14:05 +02:00
Garima Singh
7c492a17c9
Add AD support for RooChebychev and RooAddPdf.
2023-04-27 00:14:06 +02:00
Garima Singh
32a72240d2
Add code-squash support for RooPolyVar and RooPolynomial.
2023-04-25 17:44:04 +02:00
Vassil Vassilev
727908e8af
Adapt the cling-demo to the new cling::Value interface.
2023-02-05 22:59:03 +01:00
Vassil Vassilev
2949bf96b7
Bump clad version to v1.1.
...
This new release includes some improvements:
* Improvements in the array handling in the Error Estimation Framework
* Fixed numerical stability of the pow pushforward
* Fixed handling of for-loop conditions in reverse mode
* LLVM15 Support
See more at: https://github.com/vgvassilev/clad/blob/v1.1/docs/internalDocs/ReleaseNotes.md
2023-01-23 19:59:07 +01:00
Vassil Vassilev
2129e96274
Do not register LLVMSupport as a library when it should be a component ( #11703 )
...
Do not register LLVMSupport as a library when it should be a component
LLVM component must be registered as LLVM_LINK_COMPONENTS to be
compatible with LLVM Dylib. Otherwise they are loaded twice in the final
binary, once through LLVM Dylmib and once through individual component,
and this results in some options being registered twice.
Fix root-project/cling#440
2023-01-20 16:59:05 +01:00
Axel Naumann
931552f385
Silence macOS linker warnings on -undefined dynamic_lookup:
...
See https://github.com/root-project/root/issues/11937
for why that is currently needed. `flat_namespace` is not a solution.
2023-01-19 12:59:06 +01:00
Axel Naumann
0c9821959f
Revert "[cmake] Xcode 14 warns about -undefined dynamic_lookup
; simply suppress:"
...
See https://github.com/root-project/root/issues/11937
for why `-flat_namespace` is bad.
This reverts commit a05d4beded1481a86a65e450826352eb528b03e7.
2023-01-19 12:59:06 +01:00
Vassil Vassilev
a804b3d9eb
LLVM now requires C++14.
...
Patch by Lang Hames.
2022-12-09 08:44:18 +01:00
Vassil Vassilev
23e7fe2951
Add the override qualifier to suppress warnings
2022-12-09 08:44:17 +01:00
Axel Naumann
c88ce22326
Xcode 14 warns about -undefined dynamic_lookup
; simply suppress:
...
"suppress" ignores any unresolved symbol. This requires flat_namespace,
see man ld.
2022-11-11 23:44:03 +01:00
Duncan Ogilvie
f9e0cd9e9e
Fix the build on MSVC
...
Closes https://github.com/root-project/cling/issues/454
2022-10-25 15:29:06 +02:00
Vassil Vassilev
a3805bb26d
Bump clad version to v1.0.
...
This new release includes some improvements:
* Add support for pushforward- and pullback-style functions
* More supported constructs in forward and reverse mode
* Forward mode support for CUDA programs
* AD-based Floating Point Error Estimation Framework
* Integration with Enzyme
See more at: https://github.com/vgvassilev/clad/blob/v1.0/docs/internalDocs/ReleaseNotes.md
2022-10-15 10:59:05 +02:00
saisoma123
4c32554d73
Fixed some line break issues
2022-09-26 19:44:03 +02:00
saisoma123
e302c39be6
More splitting lines for getting rid of E501 error
2022-09-26 19:44:03 +02:00
saisoma123
94d8408264
Added checks if both normal and build tags
2022-08-13 19:59:04 +02:00
saisoma123
03ec045b69
Renamed packaging variables
2022-08-13 19:59:04 +02:00
saisoma123
8f55fb4e49
Added old names since change was made in another pull request
2022-08-13 19:59:04 +02:00
saisoma123
c31a7bfdd3
Added a build option for last-stable and current-dev. I added this option because it was listed as an improvement that could be made to the CPT on the meta issue list. These options are nice to have because sometimes the user might just want to build Cling and not package it, for fast testing and usage.
2022-08-13 19:59:04 +02:00
saisoma123
1495b97174
Split long lines to get rid of E501 error
2022-08-04 16:29:04 +02:00
saisoma123
047162c130
Used wget function to replace 3 subprocess calls and fixed up download_llvm_binary function.
2022-08-03 09:14:07 +02:00
Surya Somayyajula
094c81e288
Removed 2 globals and implemented them with parameter passing [skip-ci] ( #11058 )
...
Implemented CPT_SRC_DIR and REVISION with parameter passing
2022-07-30 07:59:06 +02:00
saisoma123
0b684e39da
Got rid of build option, will develop later
2022-07-28 16:44:04 +02:00
saisoma123
50447f7987
Added option for number of cores used during make operation
2022-07-28 16:44:04 +02:00
saisoma123
4853af7820
Added indentation and spacing as well as fixing variable references
2022-07-28 16:44:04 +02:00
saisoma123
f513f1cb8a
Added code to check if both tag and tab_build options are used. I also changed the xor to or now.
2022-07-28 16:44:04 +02:00
saisoma123
11d4f27364
Squashed previous commits as other changes were not intended for this branch. This commit adds build options for the platform tags.
2022-07-28 16:44:04 +02:00
saisoma123
e4f0fba78f
Replaced workdir with srcdir in extract_tar calls in download_llvm_binary function
2022-07-28 16:44:04 +02:00
saisoma123
f1f0fc1e24
Created new extract_tar function to extract tar files. Replaced tar subprocess calls with new function call and also replaced pythonic tar extractions with new function call.
2022-07-28 16:44:04 +02:00