You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/07/13 15:53:36 UTC

[GitHub] [incubator-tvm] simplelins opened a new issue #6045: compiling error

simplelins opened a new issue #6045:
URL: https://github.com/apache/incubator-tvm/issues/6045


   
   git log 
   commit 9f7745e7c265787d02af8a044a397ab788f9b6e0 (HEAD -> master, origin/master, origin/HEAD)
   Author: Josh Fromm <jw...@uw.edu>
   Date:   Sun Jul 12 05:26:02 2020 -0700
   
   `make
   -- Build with RPC support...
   -- Build with Graph runtime support...
   -- VTA build with VTA_HW_PATH=/usrdata/simple/01_TVM/incubator-tvm/3rdparty/vta-hw
   /usr/bin/python: can't open file '/usrdata/simple/01_TVM/incubator-tvm/3rdparty/vta-hw/config/vta_config.py': [Errno 2] No such file or directory
   -- Build VTA runtime with target: 
   /usr/bin/python: can't open file '/usrdata/simple/01_TVM/incubator-tvm/3rdparty/vta-hw/config/vta_config.py': [Errno 2] No such file or directory
   -- Build with standalone CRT
   -- Build with contrib.sort
   -- Build with contrib.hybriddump
   -- Building with TVM Map...
   -- Build with thread support...
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /usrdata/simple/01_TVM/incubator-tvm/build
   make[1]: 进入目录“/usrdata/simple/01_TVM/incubator-tvm/build”
   make[2]: 进入目录“/usrdata/simple/01_TVM/incubator-tvm/build”
   make[3]: 进入目录“/usrdata/simple/01_TVM/incubator-tvm/build”
   make[3]: 离开目录“/usrdata/simple/01_TVM/incubator-tvm/build”
   [  6%] Built target standalone_crt
   make[3]: 进入目录“/usrdata/simple/01_TVM/incubator-tvm/build”
   make[3]: 离开目录“/usrdata/simple/01_TVM/incubator-tvm/build”
   [ 14%] Built target host_standalone_crt
   make[3]: 进入目录“/usrdata/simple/01_TVM/incubator-tvm/build”
   make[3]: 离开目录“/usrdata/simple/01_TVM/incubator-tvm/build”
   make[3]: 进入目录“/usrdata/simple/01_TVM/incubator-tvm/build”
   [ 14%] Building CXX object CMakeFiles/tvm.dir/src/node/container.cc.o
   In file included from /usrdata/simple/01_TVM/incubator-tvm/include/tvm/runtime/packed_func.h:29:0,
                    from /usrdata/simple/01_TVM/incubator-tvm/include/tvm/runtime/container.h:30,
                    from /usrdata/simple/01_TVM/incubator-tvm/include/tvm/node/container.h:30,
                    from /usrdata/simple/01_TVM/incubator-tvm/src/node/container.cc:23:
   /usrdata/simple/01_TVM/incubator-tvm/include/tvm/runtime/data_type.h:56:15: error: ‘kDLBfloat’ was not declared in this scope
        kBFloat = kDLBfloat,
                  ^~~~~~~~~
   /usrdata/simple/01_TVM/incubator-tvm/include/tvm/runtime/data_type.h:56:15: note: suggested alternative: ‘kDLFloat’
        kBFloat = kDLBfloat,
                  ^~~~~~~~~
                  kDLFloat
   /usrdata/simple/01_TVM/incubator-tvm/include/tvm/runtime/data_type.h: In function ‘const char* tvm::runtime::DLDataTypeCode2Str(DLDataTypeCode)’:
   /usrdata/simple/01_TVM/incubator-tvm/include/tvm/runtime/data_type.h:292:10: error: ‘kDLBfloat’ was not declared in this scope
        case kDLBfloat:
             ^~~~~~~~~
   /usrdata/simple/01_TVM/incubator-tvm/include/tvm/runtime/data_type.h:292:10: note: suggested alternative: ‘kDLFloat’
        case kDLBfloat:
   `
   uname -a
   Linux simple-Inspiron-7559 4.15.0-108-generic #109-Ubuntu SMP Fri Jun 19 11:33:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
   
   
   please check!
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-tvm] nhynes commented on issue #6045: Rust SGX Example App Compilation Problem

Posted by GitBox <gi...@apache.org>.
nhynes commented on issue #6045:
URL: https://github.com/apache/incubator-tvm/issues/6045#issuecomment-658923069


   odd. builds fine for me. I just pulled and built:
   
   ```
   % rustup show
   Default host: x86_64-unknown-linux-gnu
   rustup home:  /oasis/.rustup
   
   installed toolchains
   --------------------
   
   nightly-x86_64-unknown-linux-gnu (default)
   
   installed targets for active toolchain
   --------------------------------------
   
   wasm32-wasi
   x86_64-fortanix-unknown-sgx
   x86_64-unknown-linux-gnu
   
   active toolchain
   ----------------
   
   nightly-x86_64-unknown-linux-gnu (default)
   rustc 1.46.0-nightly (346aec9b0 2020-07-11)
   ```
   I'm sure you can use an older nightly (but it has to be a nightly)
   
   ```
   cd ~/incubator-tvm
   mkdir build && cd build
   cmake .. -DCMAKE_C_COMPILER=clang-9 -DCMAKE_CXX_COMPILER=clang++-9 -DUSE_LLVM=llvm-config-9
   make -j8
   ```
   then
   ```
   cd ~/incubator-tvm/apps/sgx
   cargo build
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-tvm] tqchen commented on issue #6045: compiling error

Posted by GitBox <gi...@apache.org>.
tqchen commented on issue #6045:
URL: https://github.com/apache/incubator-tvm/issues/6045#issuecomment-658844371


   cc @jroesch @nhynes 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-tvm] simplelins edited a comment on issue #6045: Rust SGX Example App Compilation Problem

Posted by GitBox <gi...@apache.org>.
simplelins edited a comment on issue #6045:
URL: https://github.com/apache/incubator-tvm/issues/6045#issuecomment-661943979


   thanks for your reply,  this question caused by **clang-sys** at  that day,and restored after a few time.  Sorry I'm replying so late. 
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-tvm] simplelins commented on issue #6045: Rust SGX Example App Compilation Problem

Posted by GitBox <gi...@apache.org>.
simplelins commented on issue #6045:
URL: https://github.com/apache/incubator-tvm/issues/6045#issuecomment-661943979


   thanks for your reply,  this question caused by **clang-sys** at  that day,and restored after a few time.  Sorry I' replying so late. immediately.
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-tvm] tqchen closed issue #6045: Rust SGX Example App Compilation Problem

Posted by GitBox <gi...@apache.org>.
tqchen closed issue #6045:
URL: https://github.com/apache/incubator-tvm/issues/6045


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org