Marc Plano-Lesay
68fe9e8e76
Bazel 0.24.0 compatibility
...
Removes `dynamic_runtime_libs` and `static_runtime_libs` from the `conditional_cc_toolchain` macro, as they were set to `:empty` and doesn't exist anymore in Bazel 0.24.0
2019-04-13 20:20:39 -07:00
Siddhartha Bagaria
a6bc74685a
Remove test for Ubuntu 14.04
...
Ubuntu 14.04 is reaching end of life on April 30, 2019. The most current
bazel version available on the platform is 0.19.1 which we can not keep
supporting forever either.
2019-04-13 20:15:29 -07:00
Siddhartha Bagaria
42ba5e4d93
LLVM 8.0.0
2019-03-22 00:20:36 -07:00
Siddhartha Bagaria
ca946fdef6
Do not use absolute paths in R Makevars
...
Now that we have a toolchain for R, we do not need absolute paths.
Removing absolute paths will give us build reprodubility across bazel
workspaces.
2019-02-18 16:51:09 -08:00
Siddhartha Bagaria
3e745d5097
More robust hack for GoCompile
...
The current hack checked if the last path fragment was for the CC
toolchain, and inferred that we must have been called from GoCompile.
This change removes the restriction on the path fragment being the last
path fragment.
2019-02-18 16:42:57 -08:00
Siddhartha Bagaria
2a4a409526
Change archlinux image in tests
2019-02-18 16:38:05 -08:00
Siddhartha Bagaria
20773e513f
Ability to provide a custom sysroot
...
Also, internal reorganization into smaller .bzl files.
2019-02-18 16:23:53 -08:00
Yaz Saito
3622268bc3
Support Linux mint in OS detection
2018-11-15 05:11:29 +00:00
Yaz Saito
b9dc2fc701
Add -fstandalone-debug flag in debug mod
...
Debug info for some STL classes (e.g., std::string) goes missing without this
flag, which is very annoying.
2018-11-15 05:11:29 +00:00
Siddhartha Bagaria
9a0e755e14
Fix R linker flags for llvm 7
2018-11-15 05:11:29 +00:00
Siddhartha Bagaria
524703e65b
Use lld as linker in linux
2018-11-15 05:11:29 +00:00
Siddhartha Bagaria
0d1751c5b7
Do not assume OSX sysroot
2018-11-15 05:11:29 +00:00
Siddhartha Bagaria
5d953cbdc7
Set bazel version to 0.19.1 for ubuntu 14.04 test
2018-11-14 20:51:51 -08:00
Siddhartha Bagaria
8b30f33d34
Add back default_target_cpu; it's required for <0.18
2018-11-15 04:50:39 +00:00
Siddhartha Bagaria
98d700d9d1
toolchain_identifier fix for bazel 0.19.1
...
1. Delete the default_toolchain fields in the CROSSTOOL proto.
2. Specify toolchain_identifier in cc_toolchain rule.
3. Add a dummy toolchain with `toolchain_identifier = local`.
2018-11-14 20:38:19 -08:00
Dmitry Petrashko
2c21514fdc
Add LLVM 7.0.0 ( #6 )
...
* Add LLVM 7.0.0
* Use llvm 6.0.0 for debian and fedora tests
2018-09-24 23:34:19 -07:00
Siddhartha Bagaria
74988d49dc
Better OS detection and more tests
2018-08-25 17:44:01 -07:00
Siddhartha Bagaria
fd5804f863
Docker framework to test for various OS types
...
See #3 .
2018-08-25 14:06:26 -07:00
Siddhartha Bagaria
091e5b54de
Add a distribution attribute
...
See #3 .
2018-08-25 10:54:18 -07:00
Siddhartha Bagaria
e7279eaea8
Release detection script python version compatibility
...
These changes will make the script work with both python2 and python3.
2018-08-23 12:17:44 +00:00
Henning Perl
c9b6393fe6
Make toolchain work under Archlinux ( #2 )
...
* Add support for archlinux
Archlinux ("arch") works with the binaries prebuilt for the most current Ubuntu.
* Fix python3 compatibilty issue
The script is really written for Python 2, so we should call python2 explicitly.
2018-08-23 05:10:58 -07:00
Siddhartha Bagaria
9e9d20c641
Add flags for coverage
...
Fixes #1 .
2018-08-03 03:06:10 +00:00
Siddhartha Bagaria
03253b256b
Update README for OS detection
2018-07-22 12:18:40 -07:00
Siddhartha Bagaria
d0a5b0af31
Detect OS version and use appropriate LLVM release
2018-07-16 04:39:08 +00:00
Siddhartha Bagaria
91a1ed6910
Utility script to compute llvm distro checksums
2018-07-15 19:23:52 -07:00
Siddhartha Bagaria
a964325290
Disable absolute paths in tests
...
Relative paths work fine now for both C++ and go.
2018-05-31 01:37:11 +00:00
Siddhartha Bagaria
d2bbe5bc5e
Sync with GRAIL's toolchain configuration
2018-05-31 01:30:57 +00:00
Siddhartha Bagaria
f9aada98f0
Restore needsPIC for linux clang
2018-05-21 18:13:24 -07:00
Siddhartha Bagaria
382419305f
Use compiler-rt on macOS
2018-05-21 14:56:03 -07:00
Siddhartha Bagaria
cc851def42
Use libtool instead of llvm-ar for macOS
2018-05-21 14:40:04 -07:00
Siddhartha Bagaria
0c6a06aad5
Also provide -stdlib=libc++
2018-05-21 13:33:16 -07:00
Siddhartha Bagaria
408474baa3
Initial commit
2018-05-17 16:18:27 -07:00