question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make it possible to package directly from user build dir

See original GitHub issue

Hi,

I would like to have the possibility to be able to package directly from my build directory. e.g.

conan install ..
conan build .. // or cmake commands
conan direct_package ..

Thus making it possible to package without the need of having a conan background build. I know that the proposed method is to use test_package, but I have some issues with that:

First, I run into long path problems, even when redirecting the data folder. I still have pathes like d:\cdata\My.Company.BaseLibrary\0.1.0-unreleased-b512\claas\testing\build\63da998e3642b50bee33f4449826b2d623661505 already using up 115 characters of my 250 I have available on Windows. I know that my version is kind of long, but I have this requirement for nightly builds.

Second, I package the tests in the binary files based on an option. Using the test_package method, I need to build the binaries twice, resulting in long build times. I would like to build once, and then package different DLLs based on options.

Maybe I am looking at this the wrong way. If so, please point me in the correct direction.

Thanks, Claas

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
memshardedcommented, Jan 22, 2017

I have a preliminary working proof of concept, but needs some polishing: https://github.com/memsharded/conan/tree/feature/build_id_info

I don’t think we will be able to have it on time for next 0.19 (things are getting wild, 12 PR open atm 😃 😃 ), I am proposing it for next 0.20.

0reactions
memshardedcommented, Feb 24, 2017

Great, thanks for reporting. I think we might try to delay the release to Tuesday if necessary, if you detect something on Monday, please report asap. Cheers

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to make from src directory in build directory?
1) In your build directory call this : make -f /some/path/mySrcDir/your- ... The -f option is to specify the file you're trying to...
Read more >
How to Build a Package
If your package contains relocatable files, you can use the -b base-src-dir option to the pkgmk command to specify a path name to...
Read more >
Configuring a build directory - The Meson Build system
You invoke meson configure by giving it the location of your build dir. ... Since 0.50.0, it is also possible to get a...
Read more >
Using Mock to test package builds - Fedora Project Wiki
Create your srpm using 'rpmbuild -bs'. Then change to the directory where your srpm was created. Now you can start mock with. mock...
Read more >
Change the build output directory - Visual Studio (Windows)
Right -click on the project node in Solution Explorer and select Properties. Select the appropriate tab based on your project type: For C#, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found