History log of /frameworks/rs/driver/runtime/build_bc_lib_internal.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9a82dacd1369cc3021a77f3632bb327e331a131f 13-Feb-2016 Dan Willemsen <dwillemsen@google.com> Fix Kati dependencies

Kati/Ninja does not handle dependencies quite the same as make. Use the
provided include-depfile helper.

Bug: 26839129
Change-Id: Ife0043126daa308211cd480aa372bdf8b376d5eb
(cherry picked from commit 46e9224951a01eb15a10edf1cb1d62a57d786174)
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
3565d51a9e8328bf00310334ddef90f547f5df6b 24-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Revert "Build libclcore libraries with UNRELEASED RS_VERSION"

Bug: http://b/25435756

This reverts commit 070a3136cce83472578220e100aa7be6fc2f1d5f.

Change-Id: Idd381545d38d96f4417ecaa5cc7e98ae1dd8afb2
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
480202aa71e8d784ae01d0c9a1094fa7f87cd4c0 14-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update frameworks/rs/ for LLVM rebase to r256229

http://b/26987366

(cherry picked from commit 651a38eb254f069f28fc99b7d180756123ff3a8a)

Change-Id: I66e136e04c1e534337b1f6cc563f92348da64fef
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
8ef7c7660c66107b80843ddf6b3b81fdee589de2 19-Feb-2016 Stephen Hines <srhines@google.com> Fix inverted grep so that we can view any new warnings/errors.

Bug: http://b/27068813

This grep now suppresses blank lines as well as any of the expected
warnings for mismatched bitcode source files.

(cherry picked from commit 18edd6a64d4c1408a6fe233c6ddc7b1d2a43dff5)

Change-Id: I61449656957e5cd1a7cffc66f39acf971b17be58
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
27af8554d7a84ffb4d6f4e61af41b530a45b5a12 13-Feb-2016 Dan Willemsen <dwillemsen@google.com> Set bc library class to RENDERSCRIPT_BITCODE

These are not elf shared libraries, so explicitly tell the build system
that so that it won't try to parse them.

(cherry picked from commit 699102724a92b8bc87a58679e01621ac29475595)

Change-Id: Ia781c9b5ac8d1182093f676f76cd08bf91e3aa8e
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
776a023502d57a78f3c70312fdbd8bcb3d359d2c 16-Feb-2016 Stephen Hines <srhines@google.com> Use RELATIVE_PWD to ensure that we get consistent debug paths.

Bug: http://b/24204119
Bug: http://b/27175099

RELATIVE_PWD is set to /proc/self/cwd on Linux (and unset on darwin).
This leads to a more consistent set of binary objects to be generated,
since the debug info won't change based on file/path differences from
different branches/builders.

Change-Id: I759bda204ed21142645a2745fc36282dd95b0b69
(cherry picked from commit fb9bf7242f7129d6f03087b00689b3a3db9a4108)
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
e81f26204ca98c9c8f0ea3bf67d991c6b9750284 13-Feb-2016 Stephen Hines <srhines@google.com> Suppress bogus warning lines from llvm-link.

Bug: http://b/27068813

RenderScript runtime libraries mix different ABI bitcode files,
resulting in warnings for the mismatch. These warnings aren't generally
useful, so it is better to not display them. The inverted grep catches
both data layout and target triple mismatches, while also suppressing
matched (now blank) lines.

Change-Id: I177f359fcf657a31de831cb2fb2ea981de470238
(cherry picked from commit 63f52b1a9c8e4d79bf0ad046503180cf11994035)
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
ab70dba4e1c76b6b7b6a1001fae3529b11ca6190 13-Feb-2016 Stephen Hines <srhines@google.com> Clean up warnings for RS runtime libraries.

Bug: http://b/27068813

This change turns on -Wno-deprecated for compilation of just the runtime
libraries (since they need to retain even our deprecated definitions).
It also fixes some issues with "endif" comments. I have also enabled
-Werror for the runtime library compilation, so that we don't trigger
any future problems.

Change-Id: I0771e70f5aeb4be17d4390d57dae97a0aaf560a4
(cherry picked from commit f72e74660567181b79673f2a476a6957db2507e5)
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
f7f9316f4cf373733285f947bea876ead7216715 18-Nov-2015 Verena Beckham <verena@codeplay.com> Add a new libclcore_g library which contains debug info.

Add a new libclcore_g.bc which is functionally equivalent to
libclcore.bc but is compiled with debug information and -O0.
To achieve this some allocation functions had to be written in C,
because they were previously available in LLVM IR without debug
information.
The RenderScript cts has been run to verify these changes, both as it
is and forcing it to link with the new libclcore_g library. Both runs
show no regressions.

Signed-off-by: Verena Beckham <verena@codeplay.com>

(cherry picked from commit fb99e0f905b0f73a505c7900b434531ce7c3e2e5)

Change-Id: I64c82ce6f571e766c3c607e926326040dff8257c
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
943457fd8b72622adbd9639ad80bed953743ff25 23-Jan-2016 Stephen Hines <srhines@google.com> Switch to RS_CLANG instead of CLANG.

Change-Id: Idb1ece04ae348c4a1f7bf49f2c161d682a170469
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
fd98fa620e30d0f58e04dda75cc85b63a0f96aac 22-Jan-2016 Stephen Hines <srhines@google.com> Switch RS over to using RS_LLVM_* tools.

This change updates the runtime build rules to use RS_LLVM_* tools,
which correspond to the version of LLVM checked in currently to
external/, instead of mapping to the latest host prebuilts. This will
help prevent version differences for newer IR generated by the updated
host prebuilts, which then might not be readable with the on-device LLVM
bits we build from external/.

It also removes an unused reference to clcore_LLVM_LD.

Change-Id: I9f85daf47da21340333cc09dc6f6f2eb8d438a4b
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
070a3136cce83472578220e100aa7be6fc2f1d5f 03-Nov-2015 Pirama Arumuga Nainar <pirama@google.com> Build libclcore libraries with UNRELEASED RS_VERSION

Bug: 25435756

This is to make newly created UNRELEASED symbols (enum rs_yuv_format in
particular) visible to driver/runtime.

Change-Id: Ic80812ea8efdf94d255e387abab0386e313dd18a
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
2dcbc3d33443c1224085cab081b634f99327c159 07-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> Support for half in driver/runtime

Bug: 7342860

Add conversion functions, clamp to the C files. Add rsGetElementAt,
rsSetElementAt to ll*/allocation.ll

Change-Id: I71c93029699f9bbc79a5b04b51074e303981ae4b
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
7cb8db1f7eb523223a7ba7b1a483d3f54566d836 07-May-2015 Ying Wang <wangying@google.com> Fix build warning.

LLVM_AS here doesn't generate .d files.
This fixes nonfatal build warnings like:
cp: cannot stat
'out/target/product/flounder/obj/SHARED_LIBRARIES/libclcore.bc_intermediates/ll64/math.d':
No such file or directory

Change-Id: If132999d22be0daef4ca43fdb6602dc4465cf62a
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
e6069662d0e1ef53798fc16bba634ecc85aa689d 16-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> Allow custom clang while building bclibs

Store $(CLANG) in a local variable while building runtime libraries. If
$(RS_DRIVER_CLANG_EXE) is defined, use that instead of $(CLANG).

Change-Id: Ie75f76ba183574b2189622a49b72ff8b62ff98d7
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
58024b10594838d966e8627a0e7fd320757f900d 04-Apr-2015 Ying Wang <wangying@google.com> Generate .P depfile.

With .P file, you don't need a cleanspec when a header file gets
deleted or moved.

Change-Id: I8d05ea2b7ff7cafa31b41cd6932cf3bf5094ce72
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
411f7ade6195293f9b86605b65bd6de39dfaed13 19-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> Revert "Allow use of local CLANG to build runtime libs"

This reverts commit 6031993c913a493392a9579f92d201b468fa8bb2.

Change-Id: Ib0b17a72e34b8437e7e248090de44186af63d25b
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
6031993c913a493392a9579f92d201b468fa8bb2 18-Mar-2015 Pirama Arumuga Nainar <pirama@google.com> Allow use of local CLANG to build runtime libs

When building runtime libs, allow use of a local clang build by using a
$LOCAL_CLANG. Directly clobbering $CLANG breaks other parts of the
build system that use that variable.

Change-Id: I0ac3a501dfa325b6e3b8675f43c11ddcdd846d41
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
27b484acd4ba0ccd459e47901b06e832874967aa 02-Sep-2014 Stephen Hines <srhines@google.com> resolved conflicts for merge of f89af228 to lmp-dev-plus-aosp

Change-Id: I8c95fc6a409928262e23640a9aa8fa8bd87ee48c
8641b7ce4e963122603d7498d860d5679437a206 29-Aug-2014 Stephen Hines <srhines@google.com> Build RS runtime libraries using our arm and aarch64 triples only.

Bug: 17333374

Without this change, we might end up using different (broken) calling
conventions on non-ARM architectures. This ensures that all C source
files get built the same. Any .ll files can still use the appropriate
target arch-specific features.

Change-Id: I2658c49620d297cb1ef8b96b5b5d1597f5fd7361
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
bc1136f44f7816be807cfaf75a9e1e7983eace38 27-Aug-2014 Tim Murray <timmurray@google.com> Fix 32-bit clcore on ARM64.

32-bit clcore wasn't getting generic.c on ARM64, resulting in
missing symbols.

bug 17300428

Change-Id: I21969e06b620ecc667d507c5ee17cee739427178
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
16cfba29a921308efad37855c487d4278de5f571 12-Jun-2014 Tim Murray <timmurray@google.com> Update how the debug runtime is built for 64-bit.

Change-Id: I3b17836c789c5db3dab54737b790969c675b94c3
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
1efb81921fc26d70255ab61da987a232b47ad236 20-May-2014 Tim Murray <timmurray@google.com> Add support for LOCAL_SRC_FILES_<extra> to build_bc_lib.mk.

Change-Id: I7f857b86bf0bfd165de461fe2036f48ae0ac9128
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
c17fa065b6fee1d2176bd057de98b93d723b59e5 14-May-2014 Stephen Hines <srhines@google.com> Switch to use slang/rs_version.mk for consistency.

Change-Id: Ibfda53448570be58941133cb53c1bbb90391aa30
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
b1657a5989c1d52a5c107bd787a2ea8616cf69ee 12-Feb-2014 Colin Cross <ccross@android.com> rs: build bc files for multiple architectures

Build bc libs for first and second architectures on multilib builds.

Change-Id: I0732e070e2b3d906132cad0b62a699bf65d34ca6
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
1b0b0baa2e094de111f05e959f23cc9f589a99b6 19-Feb-2014 Colin Cross <ccross@android.com> Revert "rs: build bc files for multiple architectures"

This reverts commit 448c4db4867adeedf5860de7f89a401233393539.

Change-Id: I31e83868c09834228d54b8de9895a68220b70807
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk
448c4db4867adeedf5860de7f89a401233393539 12-Feb-2014 Colin Cross <ccross@android.com> rs: build bc files for multiple architectures

Build bc libs for first and second architectures on multilib builds.

Change-Id: I5eddb2e73088ae9aac4e8816ba9aefa39abcc97a
/frameworks/rs/driver/runtime/build_bc_lib_internal.mk