Giter VIP home page Giter VIP logo

community-support's People

Contributors

pysco68 avatar

Watchers

 avatar  avatar  avatar

community-support's Issues

Idea: Extend test detection conventions

I like to keep my tests next to the source files. I know others do this too.

To distinguish tests from regular code I would recommend the following:

  • file name patterns: *.test.cpp, test_*.cpp, test-*.cpp, *_test.cpp, *-test.cpp
  • Some alternative keys: test, tst, check, unittest
  • Plural versions of the keys: tests, checks, unittests

What do you think?

tipi .run results every time into: No such file or directory

Hi @daminetreg and @pysco68 ,

many thanks again for the "testing"-token and also for the nice conversation/explanation from you on the Meeting C++ conference.
I've been looking for a remote build solution for a long time and I really like your idea. That's why I would like to have support in my QtCreator ;-) (btw. @daminetreg did you send me the infos about the QtCreator infos?). But step by step...

I try to be first familiar with the tipi-build environment, but unfortunately I'm stuck with the simplest example.

It looks like that compiling of my example is fine, but when I try to execute my example, I got always: "No such file or directory"

Here my output:

e . /usr/local/share/.tipi/w/8f1ac60-HelloTipi/example.cpp
✔ [ok] CMake build recipes inferred by convention in "../8f1ac60-HelloTipi.b/24ba3b7/recipe"
Compiling "." for linux-cxx17
⏳ ✔ [ok] configured.     
⏳ ✔ [ok] built.        
Compiled executables:
▶ .:
  ● example [remote] -> tipi -t linux-cxx17 .run ./build/linux-cxx17/bin/example
Remove old comprehensive cache pack at https://api.github.com/repos/Bjoe/cache.tipi.build/releases/assets/85565023
Remove old comprehensive cache pack at https://api.github.com/repos/Bjoe/cache.tipi.build/releases/assets/85565026
Cache entry for linux-cxx17-24ba3b7abaa427bd6f6b99b9bb544fa323c5115b-build-v1-comprehensive.pack was uploaded successfully with file /usr/local/share/.tipi/w/8f1ac60-HelloTipi.b/24ba3b7/bin/elfshaker_data/packs/linux-cxx17-24ba3b7abaa427bd6f6b99b9bb544fa323c5115b-build-v1-comprehensive.pack
Index for cache entry was uploaded successfully with file /usr/local/share/.tipi/w/8f1ac60-HelloTipi.b/24ba3b7/bin/elfshaker_data/packs/linux-cxx17-24ba3b7abaa427bd6f6b99b9bb544fa323c5115b-build-v1-comprehensive.pack.idx
Remove old comprehensive cache pack at https://api.github.com/repos/Bjoe/cache.tipi.build/releases/assets/85565044
Remove old comprehensive cache pack at https://api.github.com/repos/Bjoe/cache.tipi.build/releases/assets/85565045
Cache entry for linux-cxx17-24ba3b7abaa427bd6f6b99b9bb544fa323c5115b-platform-v1-comprehensive.pack was uploaded successfully with file /usr/local/share/.tipi/w/8f1ac60-HelloTipi.b/24ba3b7/p/elfshaker_data/packs/linux-cxx17-24ba3b7abaa427bd6f6b99b9bb544fa323c5115b-platform-v1-comprehensive.pack
Index for cache entry was uploaded successfully with file /usr/local/share/.tipi/w/8f1ac60-HelloTipi.b/24ba3b7/p/elfshaker_data/packs/linux-cxx17-24ba3b7abaa427bd6f6b99b9bb544fa323c5115b-platform-v1-comprehensive.pack.idx
➜  HelloTipi git:(master) ✗ tipi .run build/remote/linux-cxx17/bin/example -t linux-cxx17
 R hello.cpp example.cpp
?? .tipi/                                                                                                                                                                                     
?? build                                                                                                                                                                                      
⏳ vault synchronized.                                                                                                                                                                        
⏳ {    ●●●      }Initial remote repository clone from /home/joerg/Development/tipi.build/HelloTipi                                                                                           
✔ tipi.build remote env : linux, hash : 0b6d73e9dbc39280616262c860ef90833d5a17ac ready.                                                                                                       
👍 tipi from tipi-build/cli is up-to-date : local : v0.0.37, remote : v0.0.37                                                                                                                 
/usr/bin/bash: build/remote/linux-cxx17/bin/example: No such file or directory
➜  HelloTipi git:(master) ✗ tipi -t linux-cxx17 .run ./build/linux-cxx17/bin/example
 R hello.cpp example.cpp
?? .tipi/                                                                                                                                                                                     
?? build                                                                                                                                                                                      
⏳ vault synchronized.                                                                                                                                                                        
⏳ {    ●●●      }Initial remote repository clone from /home/joerg/Development/tipi.build/HelloTipi                                                                                           
✔ tipi.build remote env : linux, hash : 0b6d73e9dbc39280616262c860ef90833d5a17ac ready.                                                                                                       
👍 tipi from tipi-build/cli is up-to-date : local : v0.0.37, remote : v0.0.37                                                                                                                 
/usr/bin/bash: ./build/linux-cxx17/bin/example: No such file or directory

I try to follow the documentation from https://tipi.build/documentation/README#getting-started
I started with 4. create an empty folder for the example project on your disk because the installation I did on Saturday at the Meeting C++ conference. Maybe I did something wrong?
Should I set my cache.tipi.build repo to public so that you have the "full picture"?
Even with your https://github.com/tipi-build/simple-example example I have the same problem.

How can I clean the build folder on the "cloud" ?

Hi,

For example, If I try to build a cmake based project first with tipi -t liniux-cxx17 -u build . and later I try to build the same project without -u .... then I got following error:

CMake Error: The source "/usr/local/share/.tipi/97fd6fb/d/redboltz/mqtt_cpp/3b1dfe2392a3eaad94ca6520d1746323fdf4ee68.b/24ba3b7/recipe/CMakeLists.txt" does not match the source "/usr/local/share/.tipi/97fd6fb/d/redboltz/mqtt_cpp/3b1dfe2392a3eaad94ca6520d1746323fdf4ee68/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.

How can I add boost libraries to a cmake based project ?

Hi,

I try to build following project: https://github.com/redboltz/mqtt_cpp

This project needs boost but it didn't specified which libs. Ok, I can search for the find_package(Boost ....) in the project to see which libs are required. But I can't see which headers are needed. So I try to add in .tipi/deps as dependency "boostorg/boost": { "@" : "boost-1.79.0" } to have "all" libs and headers, but the project didn't find any boost headers/libs. Looks like boost is not build at all. Tipi can't work with git submodules ? See https://github.com/boostorg/boost/tree/boost-1.79.0/libs
So I need to add every boost lib "manually" like ?

                                       "boostorg/asio" : { "@" : "boost-1.79.0" },
                                       "boostorg/system" : { "@" : "boost-1.79.0" },
                                       "boostorg/date_time" : { "@" : "boost-1.79.0" },
.....

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.