Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Status

Date2014-11-26 00:43
FromSteven Yi
SubjectRe: [Cs-dev] Status
AttachmentsNone  None  
I was looking at the diff for your commit and it seems to me there was already a link to pthreads, no?  I think the issue is that Michael had removed a link to pthreads altogether in CMake but that worked on some systems but not others.  

On Tue Nov 25 2014 at 6:27:09 PM Andres Cabrera <mantaraya36@gmail.com> wrote:
About the pthreads issue. It is me who introduced the problem. I needed to use the pthreads library in perfThread to synchronize two threads using conditional variables. Although the Csound API offers a type of conditional variables, I am unsure if they will work in the same way as I have used them in the perfThread. I ask because the i am not sure if the locks and barriers offered by csound do what these do. Some links for people who want to have a quick look:

https://github.com/csound/csound/blob/develop/interfaces/csPerfThread.cpp#L126
https://github.com/csound/csound/blob/develop/interfaces/csPerfThread.cpp#L447

If I can use Csound API functions, I could remove the pthread linking in csPerfThread, and the issue would be solved.

Cheers,
Andrés

On Tue, Nov 25, 2014 at 3:14 PM, Steven Yi <stevenyi@gmail.com> wrote:
Hi Joachim,

Thanks for volunteering!  The script is in installer/macosx and is release-build.sh.  You may need to make a copy and adjust some things for 10.6, particularly the Custom_xxx.cmake file to use.  Also, for any thing to pack with the installer, add it to a folder called DmgResources in that folder.  (Typically we just add CsoundQT there).  Besides that, you'll need to provide the branch to build from, so something like:

./release-build.sh develop

or when we do the release branch, something like:

./release-build.sh release/6.04.0

You would also need to have the same dependencies in /usr/local/lib as we have.  Those can be build with the dependencies script in csound6/dependencies.  The download.sh script downloads the libraries, and build.sh builds and installs them. (You may need to be root to do the install part).  

It's a bit of a process to get it all together, but once done it's not too bad.  Maybe give it a try and post any issues here and we can help you through the process.

steven


On Tue Nov 25 2014 at 5:13:58 PM joachim heintz <jh@joachimheintz.de> wrote:
yes, ok, i think i could do it for 10.6.  and if andrés helps me, i
could perhaps even build the recent csoundqt on 10.6.

which is the script you are mentioning, steven?

        joachim


Am 25.11.2014 um 23:03 schrieb Steven Yi:
> I'm wondering about this in general for if we should have a policy on
> how many OS releases to support (or how many years back), for any
> OS/system.  Linux is largely fine where users are mostly building
> themselves or are using binary packages built by a repo.  The kind of
> support work for multiple versions is oddly easier than the binary
> releases we are having to do for all of the other platforms.
>
> For OSX, I'm leaning towards dropping 10.6 as well.  If someone else who
> is a 10.6 user wants to do builds of the installer (it's all done with a
> single script) and wants to join in, that'd be great, but otherwise it's
> getting to become difficult to build/test on so many previous versions.
>
> Windows also seems to be mostly okay; it seems like the 32-bit
> installers are and have been working across the various versions of
> Windows that have not been end-of-life'd.  Are only concern there is
> 64-bit installers.
>
> Android and iOS also seem to be working alright for our binary
> distributions, as are PNaCl and Emscripten.  So this seems like just an
> OSX issue really.
>
> So my take: let's drop 10.6 or find someone willing to contribute to
> building/testing on 10.6.
>
> On Tue Nov 25 2014 at 6:55:29 AM Rory Walsh <rorywalsh@ear.ie
> <mailto:rorywalsh@ear.ie>> wrote:
>
>     I would hope that you can continue to prepare a version for 10.6, even
>     if it ships without CsoundQT. I don't use CsoundQT on OSX 10.6, but I
>     do use csound~, csoundapi~, csnd.jar, csnd.py, csladpsa, WinXound etc.
>     I would hate to lose support for all of these equally amazing
>     frontends.
>
>     On 25 November 2014 at 11:30, Victor Lazzarini
>     <Victor.Lazzarini@nuim.ie <mailto:Victor.Lazzarini@nuim.ie>> wrote:
>      > >From my perspective, the OSX packaging is ready. I had no
>     further reports, but I have fixed some outstanding issues
>      > I found meanwhile. This should work for 10.7-10.10, and I can
>     produce a 10.6 package as well, but that will need
>      > a matching CsoundQT, which we do not currently have. I am
>     wondering whether we should drop support for 10.6 at this
>      > point (we have been working with 3-4 versions behind for most of
>     the releases, and support for 10.5 was dropped way
>      > back in one of the later versions of 5).
>      >
>      > best regards
>      > ========================
>      > Dr Victor Lazzarini
>      > Dean of Arts, Celtic Studies and Philosophy,
>      > Maynooth University,
>      > Maynooth, Co Kildare, Ireland
>      > Tel: 00 353 7086936
>      > Fax: 00 353 1 7086952
>      >
>      >> On 24 Nov 2014, at 23:01, Steven Yi <stevenyi@gmail.com
>     <mailto:stevenyi@gmail.com>> wrote:
>      >>
>      >> Hi All,
>      >>
>      >> I wanted to check in on the status of things for 6.04.0. It
>     seems to me there are two primary outstanding issues:
>      >>
>      >> * Compilation on Windows seems to be a problem
>      >> * The Emscripten build needs to be corrected
>      >>
>      >> I've been going back and forth with Ed regarding Emscripten and
>     he's been great in leading that effort.  I'm unsure of the state of
>     the Windows build; could Rory and Michael chime in on where we're at?
>      >>
>      >> Also, are there other things we are currently waiting on?  I'm
>     wondering when should we start the release branch and get the other
>     releases going.
>      >>
>      >> Thanks!
>      >> steven
>      >>
>     ------------------------------__------------------------------__------------------
>      >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>      >> from Actuate! Instantly Supercharge Your Business Reports and
>     Dashboards
>      >> with Interactivity, Sharing, Native Excel Exports, App
>     Integration & more
>      >> Get technology previously reserved for billion-dollar
>     corporations, FREE
>      >>
>     http://pubads.g.doubleclick.__net/gampad/clk?id=157005751&__iu=/4140/ostg.clktrk___________________________________________________
>     <http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________>
>      >> Csound-devel mailing list
>      >> Csound-devel@lists.__sourceforge.net
>     <mailto:Csound-devel@lists.sourceforge.net>
>      >> https://lists.sourceforge.net/__lists/listinfo/csound-devel
>     <https://lists.sourceforge.net/lists/listinfo/csound-devel>
>      >
>      >
>      >
>     ------------------------------__------------------------------__------------------
>      > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>      > from Actuate! Instantly Supercharge Your Business Reports and
>     Dashboards
>      > with Interactivity, Sharing, Native Excel Exports, App
>     Integration & more
>      > Get technology previously reserved for billion-dollar
>     corporations, FREE
>      >
>     http://pubads.g.doubleclick.__net/gampad/clk?id=157005751&__iu=/4140/ostg.clktrk
>     <http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk>
>      > _________________________________________________
>      > Csound-devel mailing list
>      > Csound-devel@lists.__sourceforge.net
>     <mailto:Csound-devel@lists.sourceforge.net>
>      > https://lists.sourceforge.net/__lists/listinfo/csound-devel
>     <https://lists.sourceforge.net/lists/listinfo/csound-devel>
>
>     ------------------------------__------------------------------__------------------
>     Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>     from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>     with Interactivity, Sharing, Native Excel Exports, App Integration &
>     more
>     Get technology previously reserved for billion-dollar corporations, FREE
>     http://pubads.g.doubleclick.__net/gampad/clk?id=157005751&__iu=/4140/ostg.clktrk
>     <http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk>
>     _________________________________________________
>     Csound-devel mailing list
>     Csound-devel@lists.__sourceforge.net
>     <mailto:Csound-devel@lists.sourceforge.net>
>     https://lists.sourceforge.net/__lists/listinfo/csound-devel
>     <https://lists.sourceforge.net/lists/listinfo/csound-devel>
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2014-11-26 03:29
FromAndres Cabrera
SubjectRe: [Cs-dev] Status
AttachmentsNone  None  
If I remember correctly, Rory had to do a change in his version and Michael had to do a change too because my changes broke some things on Windows.

Cheers,
Andrés

On Tue, Nov 25, 2014 at 4:43 PM, Steven Yi <stevenyi@gmail.com> wrote:
I was looking at the diff for your commit and it seems to me there was already a link to pthreads, no?  I think the issue is that Michael had removed a link to pthreads altogether in CMake but that worked on some systems but not others.  


On Tue Nov 25 2014 at 6:27:09 PM Andres Cabrera <mantaraya36@gmail.com> wrote:
About the pthreads issue. It is me who introduced the problem. I needed to use the pthreads library in perfThread to synchronize two threads using conditional variables. Although the Csound API offers a type of conditional variables, I am unsure if they will work in the same way as I have used them in the perfThread. I ask because the i am not sure if the locks and barriers offered by csound do what these do. Some links for people who want to have a quick look:

https://github.com/csound/csound/blob/develop/interfaces/csPerfThread.cpp#L126
https://github.com/csound/csound/blob/develop/interfaces/csPerfThread.cpp#L447

If I can use Csound API functions, I could remove the pthread linking in csPerfThread, and the issue would be solved.

Cheers,
Andrés

On Tue, Nov 25, 2014 at 3:14 PM, Steven Yi <stevenyi@gmail.com> wrote:
Hi Joachim,

Thanks for volunteering!  The script is in installer/macosx and is release-build.sh.  You may need to make a copy and adjust some things for 10.6, particularly the Custom_xxx.cmake file to use.  Also, for any thing to pack with the installer, add it to a folder called DmgResources in that folder.  (Typically we just add CsoundQT there).  Besides that, you'll need to provide the branch to build from, so something like:

./release-build.sh develop

or when we do the release branch, something like:

./release-build.sh release/6.04.0

You would also need to have the same dependencies in /usr/local/lib as we have.  Those can be build with the dependencies script in csound6/dependencies.  The download.sh script downloads the libraries, and build.sh builds and installs them. (You may need to be root to do the install part).  

It's a bit of a process to get it all together, but once done it's not too bad.  Maybe give it a try and post any issues here and we can help you through the process.

steven


On Tue Nov 25 2014 at 5:13:58 PM joachim heintz <jh@joachimheintz.de> wrote:
yes, ok, i think i could do it for 10.6.  and if andrés helps me, i
could perhaps even build the recent csoundqt on 10.6.

which is the script you are mentioning, steven?

        joachim


Am 25.11.2014 um 23:03 schrieb Steven Yi:
> I'm wondering about this in general for if we should have a policy on
> how many OS releases to support (or how many years back), for any
> OS/system.  Linux is largely fine where users are mostly building
> themselves or are using binary packages built by a repo.  The kind of
> support work for multiple versions is oddly easier than the binary
> releases we are having to do for all of the other platforms.
>
> For OSX, I'm leaning towards dropping 10.6 as well.  If someone else who
> is a 10.6 user wants to do builds of the installer (it's all done with a
> single script) and wants to join in, that'd be great, but otherwise it's
> getting to become difficult to build/test on so many previous versions.
>
> Windows also seems to be mostly okay; it seems like the 32-bit
> installers are and have been working across the various versions of
> Windows that have not been end-of-life'd.  Are only concern there is
> 64-bit installers.
>
> Android and iOS also seem to be working alright for our binary
> distributions, as are PNaCl and Emscripten.  So this seems like just an
> OSX issue really.
>
> So my take: let's drop 10.6 or find someone willing to contribute to
> building/testing on 10.6.
>
> On Tue Nov 25 2014 at 6:55:29 AM Rory Walsh <rorywalsh@ear.ie
> <mailto:rorywalsh@ear.ie>> wrote:
>
>     I would hope that you can continue to prepare a version for 10.6, even
>     if it ships without CsoundQT. I don't use CsoundQT on OSX 10.6, but I
>     do use csound~, csoundapi~, csnd.jar, csnd.py, csladpsa, WinXound etc.
>     I would hate to lose support for all of these equally amazing
>     frontends.
>
>     On 25 November 2014 at 11:30, Victor Lazzarini
>     <Victor.Lazzarini@nuim.ie <mailto:Victor.Lazzarini@nuim.ie>> wrote:
>      > >From my perspective, the OSX packaging is ready. I had no
>     further reports, but I have fixed some outstanding issues
>      > I found meanwhile. This should work for 10.7-10.10, and I can
>     produce a 10.6 package as well, but that will need
>      > a matching CsoundQT, which we do not currently have. I am
>     wondering whether we should drop support for 10.6 at this
>      > point (we have been working with 3-4 versions behind for most of
>     the releases, and support for 10.5 was dropped way
>      > back in one of the later versions of 5).
>      >
>      > best regards
>      > ========================
>      > Dr Victor Lazzarini
>      > Dean of Arts, Celtic Studies and Philosophy,
>      > Maynooth University,
>      > Maynooth, Co Kildare, Ireland
>      > Tel: 00 353 7086936
>      > Fax: 00 353 1 7086952
>      >
>      >> On 24 Nov 2014, at 23:01, Steven Yi <stevenyi@gmail.com
>     <mailto:stevenyi@gmail.com>> wrote:
>      >>
>      >> Hi All,
>      >>
>      >> I wanted to check in on the status of things for 6.04.0. It
>     seems to me there are two primary outstanding issues:
>      >>
>      >> * Compilation on Windows seems to be a problem
>      >> * The Emscripten build needs to be corrected
>      >>
>      >> I've been going back and forth with Ed regarding Emscripten and
>     he's been great in leading that effort.  I'm unsure of the state of
>     the Windows build; could Rory and Michael chime in on where we're at?
>      >>
>      >> Also, are there other things we are currently waiting on?  I'm
>     wondering when should we start the release branch and get the other
>     releases going.
>      >>
>      >> Thanks!
>      >> steven
>      >>
>     ------------------------------__------------------------------__------------------
>      >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>      >> from Actuate! Instantly Supercharge Your Business Reports and
>     Dashboards
>      >> with Interactivity, Sharing, Native Excel Exports, App
>     Integration & more
>      >> Get technology previously reserved for billion-dollar
>     corporations, FREE
>      >>
>     http://pubads.g.doubleclick.__net/gampad/clk?id=157005751&__iu=/4140/ostg.clktrk___________________________________________________
>     <http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________>
>      >> Csound-devel mailing list
>      >> Csound-devel@lists.__sourceforge.net
>     <mailto:Csound-devel@lists.sourceforge.net>
>      >> https://lists.sourceforge.net/__lists/listinfo/csound-devel
>     <https://lists.sourceforge.net/lists/listinfo/csound-devel>
>      >
>      >
>      >
>     ------------------------------__------------------------------__------------------
>      > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>      > from Actuate! Instantly Supercharge Your Business Reports and
>     Dashboards
>      > with Interactivity, Sharing, Native Excel Exports, App
>     Integration & more
>      > Get technology previously reserved for billion-dollar
>     corporations, FREE
>      >
>     http://pubads.g.doubleclick.__net/gampad/clk?id=157005751&__iu=/4140/ostg.clktrk
>     <http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk>
>      > _________________________________________________
>      > Csound-devel mailing list
>      > Csound-devel@lists.__sourceforge.net
>     <mailto:Csound-devel@lists.sourceforge.net>
>      > https://lists.sourceforge.net/__lists/listinfo/csound-devel
>     <https://lists.sourceforge.net/lists/listinfo/csound-devel>
>
>     ------------------------------__------------------------------__------------------
>     Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>     from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>     with Interactivity, Sharing, Native Excel Exports, App Integration &
>     more
>     Get technology previously reserved for billion-dollar corporations, FREE
>     http://pubads.g.doubleclick.__net/gampad/clk?id=157005751&__iu=/4140/ostg.clktrk
>     <http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk>
>     _________________________________________________
>     Csound-devel mailing list
>     Csound-devel@lists.__sourceforge.net
>     <mailto:Csound-devel@lists.sourceforge.net>
>     https://lists.sourceforge.net/__lists/listinfo/csound-devel
>     <https://lists.sourceforge.net/lists/listinfo/csound-devel>
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel