Menu

#786 common_target rules don't create the lib objects directories

closed-fixed
nobody
Tango9.2.0 (2)
Source distribution
5
2017-02-08
2016-03-18
No

The pogo preferences common_target.opt has a bug when you use it to compile libraries. The target dirrectories does not build the directories for lib_objs. I attached a patch.

1 Attachments

Discussion

  • Thomas Braun

    Thomas Braun - 2016-03-18

    I recently sent a patch to allow to skip unneccessary rebuilds and this changed common_target.opt.
    It looks like your patch is not based on the latest svn version of common_target.opt.

     
  • Carlos Falcon

    Carlos Falcon - 2016-03-18

    You are right, I used the tango 9.1.0 tar file as source. I used it locally and the patch has to be adapted in the future to be integrated in the trunk.

     
  • Carlos Falcon

    Carlos Falcon - 2016-08-02

    I attached a patch for 9.2.1.

     
  • Thomas Braun

    Thomas Braun - 2017-02-06

    Your new patch looks good to me.

     
    • Carlos Falcon

      Carlos Falcon - 2017-02-07

      I also did a "PR":https://github.com/tango-controls/TangoSourceDistribution/pulls some weeks ago, but I don't know if it is the right place.

       
  • Bourtembourg Reynald

    Hi Carlos,
    Thanks for the PR. Your contribution will be taken into account in the next version of the source distribution.
    Tango 9.2.5a source distribution was prepared from Sourceforge SVN and the changes made since 9.2.2 have not been committed on GitHub yet.
    The GitHub version is currently a bit behind the one on Sourceforge.
    It might actually be easier to remove the TangoSourceDistribution GitHub repository and create it again from the svn Sourceforge repo. We need to ensure your change is not lost in the meantime... So we could commit it in Sourceforge or add it after the new migration on GitHub.
    The next Tango Source distribution will be prepared from GitHub.

     
  • Bourtembourg Reynald

    Hi Carlos,

    I just deleted the TangoSourceDistribution GitHub repository and created it again in order to get automatically all the changes which were done for Tango 9.2.5a. So now we can work on this Github repository.
    Your PR got removed in the process.
    Could you please create it again? https://github.com/tango-controls/TangoSourceDistribution/pulls
    Here is the text of the PR you created before (Fix directories variable initialization):

    Directories variable is not well created for Library projects or
    multiple projects (DS + Library) since they normally defined $LIB_OBJS
    instead of $SVC_OBJS for building the libraries.

    Create directories variable using also $LIB_OBJS variable

    I'm sorry for the inconvenience.
    If you don't want to do it, I could also do it if you prefer.

     
  • Carlos Falcon

    Carlos Falcon - 2017-02-08

    Done!! Here is the PR

    Thanks so much

     
  • Bourtembourg Reynald

    • status: open --> closed-fixed
    • Category: Pogo --> Source distribution
     

Log in to post a comment.