[Libclc-dev] build error
Frank Mori Hess
fmh6jj at gmail.com
Sat Apr 25 10:01:02 PDT 2015
Changing the line to
%disable = load i1* @__CLC_SUBNORMAL_DISABLE
fixes compile with llvm 3.6. It appears you are using the load syntax
for llvm 3.7. Is llvm 3.7 the version I am supposed to use? The
configure.py script still seems to check for 3.6.
On Mon, Apr 20, 2015 at 5:47 PM, Frank Mori Hess <fmh6jj at gmail.com> wrote:
> Hi, I get the following build error when trying to make libclc (svn
> revision 235353):
>
> $ make
> LLVM-AS generic--/lib/subnormal_disable.bc
> LLVM-AS generic--/lib/subnormal_use_default.bc
> LLVM-CC nvptx--nvidiacl/lib/synchronization/barrier.cl.bc
> LLVM-CC nvptx--nvidiacl/lib/workitem/get_group_id.cl.bc
> LLVM-CC nvptx--nvidiacl/lib/workitem/get_local_id.cl.bc
> LLVM-CC nvptx--nvidiacl/lib/workitem/get_local_size.cl.bc
> LLVM-CC nvptx--nvidiacl/lib/workitem/get_num_groups.cl.bc
> LLVM-AS nvptx--nvidiacl/lib/integer/add_sat.ll.bc
> LLVM-AS nvptx--nvidiacl/lib/integer/sub_sat.ll.bc
> LLVM-CC nvptx--nvidiacl/lib/subnormal_config.cl.bc
> LLVM-AS nvptx--nvidiacl/lib/subnormal_helper_func.ll.bc
> /home/fhess/install/llvm/bin/llvm-as:
> ./generic/lib/subnormal_helper_func.ll:4:21: error: expected value
> token
> %disable = load i1, i1* @__CLC_SUBNORMAL_DISABLE
> ^
> make: *** [nvptx--nvidiacl/lib/subnormal_helper_func.ll.bc] Error 1
>
> --
> Frank
--
Frank
More information about the Libclc-dev
mailing list