From: Borut R. <bor...@gm...> - 2013-05-12 07:08:02
Attachments:
repack_release.sh
|
Hi Maarten, I finally took a look to the SDCC 3.3.0 RC2 packages and found the sdcc/lib directory containing libiberty.a file. This directory should be removed. When I made the releases I used the attached repack_release.sh script to repack snapshot builds to release packages. I know I'm late, but anyway.... :-[ Borut |
From: Maarten B. <sou...@ds...> - 2013-05-12 08:18:01
|
Hello Borut, > Hi Maarten, > > I finally took a look to the SDCC 3.3.0 RC2 packages and found the > sdcc/lib directory containing libiberty.a file. This directory should be > removed. > When I made the releases I used the attached repack_release.sh script to > repack snapshot builds to release packages. > > I know I'm late, but anyway.... :-[ > > Borut Thanks for checking. I just followed the info on the wiki and updated some details on it. But your script has quite some differences. - I used the osx snapshot without i386 - I did not remove sdcc/include and sdcc/lib - I did not rename the sdcc directories - I did not repack the src - I did not copy Changelog and README for windows - And why is the doumentation part disabled for windows? - And why is most PRocessing # commented out? I am confused. Furthermore would it not be wise to put this script in subversion (e.g. sdcc/support/scripts)? Anyway thanks for the update. Maarten |
From: Erik P. <epe...@iv...> - 2013-05-12 09:42:38
|
On Sun, 12 May 2013, Maarten Brock wrote: > But your script has quite some differences. > - I used the osx snapshot without i386 The both osx snapshots should run on both i386 and ppc systems, but one is actually built on i386 and the other is built on ppc. The ppc build was originally being built by Steven Borley's mirror-doors, but it suffered a hardware failure, so I eventually replaced it with my own cf-ppc-macosx. I ended up with a newer version of Xcode (Apple's developer tools) on it which defaults to targeting osx version 10.5 and later. The snapshot theoretically is being built with the switches to also include compatibility with 10.4 (which is what the i386 built snapshot is running on and targeting), but as far as I know, no one has actually confirmed that it works on 10.4. Borut had expressed some concern about this version compatibility to me earlier and said he thought it might be better to consider the i386 built snapshot the more official because of the uncertainty. My main interest was to ensure the regression tests were being run regularly on ppc, so I haven't really looked into the os version compatibility question. Erik |
From: Maarten B. <sou...@ds...> - 2013-05-12 08:40:38
|
Something more... > Hello Borut, > > > Hi Maarten, > > > > I finally took a look to the SDCC 3.3.0 RC2 packages and found the > > sdcc/lib directory containing libiberty.a file. This directory should be > > removed. > > When I made the releases I used the attached repack_release.sh script to > > repack snapshot builds to release packages. > > > > I know I'm late, but anyway.... :-[ > > > > Borut > > Thanks for checking. I just followed the info on the wiki and > updated some details on it. > > But your script has quite some differences. > - I used the osx snapshot without i386 > - I did not remove sdcc/include and sdcc/lib > - I did not rename the sdcc directories > - I did not repack the src > - I did not copy Changelog and README for windows > - And why is the doumentation part disabled for windows? > - And why is most PRocessing # commented out? > > I am confused. > > Furthermore would it not be wise to put this script in subversion > (e.g. sdcc/support/scripts)? > > Anyway thanks for the update. > Maarten I don't know much about shell scripts, but I copied it to my linux box, did chmod u+x and tried to run it without parameters. However it just dumped itself to the console or something like that. I already verified I'm running bash. Maarten |
From: Maarten B. <sou...@ds...> - 2013-05-12 08:53:06
|
> Something more... > > I don't know much about shell scripts, but I copied it to my linux > box, did chmod u+x and tried to run it without parameters. However > it just dumped itself to the console or something like that. I > already verified I'm running bash. Nevermind, I found the 'set -vx' at the top and commented it out. Maarten |
From: Borut R. <bor...@gm...> - 2013-05-12 11:07:02
Attachments:
repack_release.sh
|
On 12. 05. 2013 10:18, Maarten Brock wrote: > Hello Borut, > >> Hi Maarten, >> >> I finally took a look to the SDCC 3.3.0 RC2 packages and found the >> sdcc/lib directory containing libiberty.a file. This directory should be >> removed. >> When I made the releases I used the attached repack_release.sh script to >> repack snapshot builds to release packages. >> >> I know I'm late, but anyway.... :-[ >> >> Borut > Thanks for checking. I just followed the info on the wiki and > updated some details on it. > > But your script has quite some differences. > - I used the osx snapshot without i386 I don't know what do you mean with "without i386" but Erik already explained the situation. The OS X release builds were based on PPC snapshots. > - I did not remove sdcc/include and sdcc/lib They don't include anything useful sor SDCC, so they should be removed. > - I did not rename the sdcc directories > - I did not repack the src > - I did not copy Changelog and README for windows > - And why is the doumentation part disabled for windows? ??? It is not, see "unzip ../dl/sdcc-doc-${date}-${revision}.zip" in function repack_win(). > - And why is most PRocessing # commented out? In the script I sent you has several things commented out or disabled. I attached the corrected version, but I didn't test it! > I am confused. I hope that my answers decreased your confusion ;-) > Furthermore would it not be wise to put this script in subversion > (e.g. sdcc/support/scripts)? Probably yes: I was the only one who used it until now. Borut |
From: Borut R. <bor...@gm...> - 2013-05-12 11:10:38
|
On 12. 05. 2013 13:06, Borut Ražem wrote: > On 12. 05. 2013 10:18, Maarten Brock wrote: > >> Furthermore would it not be wise to put this script in subversion >> (e.g. sdcc/support/scripts)? > > Probably yes: I was the only one who used it until now. Actually I forgot that it is already there! Borut |
From: Maarten B. <sou...@ds...> - 2013-05-12 11:36:49
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <title></title> <meta http-equiv="content-type" content="text/html;charset=utf-8"/> <meta http-equiv="Content-Style-Type" content="text/css"/> </head> <body> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > But your script has quite some differences.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > - I used the osx snapshot without i386</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">>   I don't know what do you mean with "without i386" but Erik already </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> explained the situation. The OS X release builds were based on PPC </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> snapshots.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt">I meant the snapshot named</span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt"> sdcc-snapshot-universal-apple-macosx-20130511-8604.tar.bz2</span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt">instead of the one use in the script</span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt"> sdcc-snapshot-i386_universal-apple-macosx-20130511-8604.tar.bz2</span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt">which has 'i386' in its name.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > - I did not remove sdcc/include and sdcc/lib</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> They don't include anything useful sor SDCC, so they should be removed.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > - I did not rename the sdcc directories</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > - I did not repack the src</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > - I did not copy Changelog and README for windows</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > - And why is the doumentation part disabled for windows?</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> ??? It is not, see "unzip ../dl/sdcc-doc-${date}-${revision}.zip" in </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> function repack_win().</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt">But it's (was) inside 'if false'</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > - And why is most PRocessing # commented out?</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> In the script I sent you has several things commented out or disabled. I </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> attached the corrected version, but I didn't test it!</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > I am confused.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> I hope that my answers decreased your confusion ;-)</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > Furthermore would it not be wise to put this script in subversion</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > (e.g. sdcc/support/scripts)?</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> Probably yes: I was the only one who used it until now.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> </span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt">> Actually I forgot that it is already there!</span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt">I should have noticed that. I feel stupid.</span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt">Anyway, I'm testing the script and adapting it to include the x64 windows version now. I expect an RC3 to come out soon.</span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt">There's one more thing: can we still create a known_bugs.html file from the new system?</span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt">Maarten</span></font></div> </body> </html> |
From: Borut R. <bor...@gm...> - 2013-05-12 20:38:19
|
On 12. 05. 2013 13:36, Maarten Brock wrote: > > > But your script has quite some differences. > > > - I used the osx snapshot without i386 > > > > I don't know what do you mean with "without i386" but Erik already > > explained the situation. The OS X release builds were based on PPC > > snapshots. > > I meant the snapshot named > sdcc-snapshot-universal-apple-macosx-20130511-8604.tar.bz2 > instead of the one use in the script > sdcc-snapshot-i386_universal-apple-macosx-20130511-8604.tar.bz2 > which has 'i386' in its name. I see, you used the ppc snapshot, which I prefer. The script uses the i386 snapshot probably because ppc snapshot was not available in the time when the 2.2.0 release was done. > > > > - I did not remove sdcc/include and sdcc/lib > > > > They don't include anything useful sor SDCC, so they should be removed. > > > > > - I did not rename the sdcc directories > > > - I did not repack the src > > > - I did not copy Changelog and README for windows > > > - And why is the doumentation part disabled for windows? > > > > ??? It is not, see "unzip ../dl/sdcc-doc-${date}-${revision}.zip" in > > function repack_win(). > > But it's (was) inside 'if false' Yes, it was, now it is not any more. > > > > - And why is most PRocessing # commented out? > > > > In the script I sent you has several things commented out or disabled. I > > attached the corrected version, but I didn't test it! > > > > > I am confused. > > > > I hope that my answers decreased your confusion ;-) > > > > > Furthermore would it not be wise to put this script in subversion > > > (e.g. sdcc/support/scripts)? > > > > Probably yes: I was the only one who used it until now. > > > > Actually I forgot that it is already there! > > I should have noticed that. I feel stupid. Me too ;-) > Anyway, I'm testing the script and adapting it to include the x64 > windows version now. I expect an RC3 to come out soon. Great! > There's one more thing: can we still create a known_bugs.html file > from the new system? Yes, I updated the generating script. The knownbugs.html file is included in doc snapshot packages and it is automatically included in the release (candidate) package by the script. Borut |
From: Maarten B. <sou...@ds...> - 2013-05-12 21:18:27
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> <title></title> <meta http-equiv="content-type" content="text/html;charset=utf-8"/> <meta http-equiv="Content-Style-Type" content="text/css"/> </head> <body> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt">Borut,</span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> On 12. 05. 2013 13:36, Maarten Brock wrote:</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > > > But your script has quite some differences.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > > > - I used the osx snapshot without i386</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > ></span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > >   I don't know what do you mean with "without i386" but Erik already</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > > explained the situation. The OS X release builds were based on PPC</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > > snapshots.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> ></span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > I meant the snapshot named</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> >  sdcc-snapshot-universal-apple-macosx-20130511-8604.tar.bz2</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > instead of the one use in the script</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> >  sdcc-snapshot-i386_universal-apple-macosx-20130511-8604.tar.bz2</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > which has 'i386' in its name.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> I see, you used the ppc snapshot, which I prefer. The script uses the </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> i386 snapshot probably because ppc snapshot was not available in the </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> time when the 2.2.0 release was done.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt">Oops, and I understood that I had to use the i386 snapshot as in your shell script. So I just uploaded RC3 with the i386 snapshot.</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > There's one more thing: can we still create a known_bugs.html file </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> > from the new system?</span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> Yes, I updated the generating script. The knownbugs.html file is </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> included in doc snapshot packages and it is automatically included in </span></font></div> <div align="left"><font face="Arial" color="#7f0000" size="2"><span style=" font-size:10pt">> the release (candidate) package by the script.</span></font></div> <div align="left"><font face="Arial" size="2"><span style=" font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt">Ah, yes, I see. Very good!</span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt"><br /> </span></font></div> <div align="left"><font face="Courier New" size="2"><span style=" font-size:10pt">Maarten</span></font></div> </body> </html> |
From: Borut R. <bor...@gm...> - 2013-05-13 05:14:09
|
On 12. 05. 2013 23:18, Maarten Brock wrote: > Borut, > > > On 12. 05. 2013 13:36, Maarten Brock wrote: > > > > > But your script has quite some differences. > > > > > - I used the osx snapshot without i386 > > > > > > > > I don't know what do you mean with "without i386" but Erik already > > > > explained the situation. The OS X release builds were based on PPC > > > > snapshots. > > > > > > I meant the snapshot named > > >sdcc-snapshot-universal-apple-macosx-20130511-8604.tar.bz2 > > > instead of the one use in the script > > >sdcc-snapshot-i386_universal-apple-macosx-20130511-8604.tar.bz2 > > > which has 'i386' in its name. > > > > I see, you used the ppc snapshot, which I prefer. The script uses the > > i386 snapshot probably because ppc snapshot was not available in the > > time when the 2.2.0 release was done. > > Oops, and I understood that I had to use the i386 snapshot as in your > shell script. So I just uploaded RC3 with the i386 snapshot. I think that there is no much difference. Maybe the i386 version doesn't work on older Mac OS X (version 10.4 and older) on ppc platform since the newer Xcode version (I think 3.x) is installed on the Mac OS X i386 snapshot build machine. If this was OK for SDCC 3.2.0 it should be also for 3.3.0. Borut |
From: <wi...@ec...> - 2013-05-13 15:23:01
|
On Sun, May 12, 2013 10:13 pm, Borut Raem wrote: > On 12. 05. 2013 23:18, Maarten Brock wrote: >> Borut, >> >> > On 12. 05. 2013 13:36, Maarten Brock wrote: >> > > > > But your script has quite some differences. >> > > > > - I used the osx snapshot without i386 >> > > > >> > > > I don't know what do you mean with "without i386" but Erik >> already >> > > > explained the situation. The OS X release builds were based on PPC >> > > > snapshots. >> > > >> > > I meant the snapshot named >> > >sdcc-snapshot-universal-apple-macosx-20130511-8604.tar.bz2 >> > > instead of the one use in the script >> > >sdcc-snapshot-i386_universal-apple-macosx-20130511-8604.tar.bz2 >> > > which has 'i386' in its name. >> > >> > I see, you used the ppc snapshot, which I prefer. The script uses the >> > i386 snapshot probably because ppc snapshot was not available in the >> > time when the 2.2.0 release was done. >> >> Oops, and I understood that I had to use the i386 snapshot as in your >> shell script. So I just uploaded RC3 with the i386 snapshot. > > I think that there is no much difference. Maybe the i386 version doesn't > work on older Mac OS X (version 10.4 and older) on ppc platform since > the newer Xcode version (I think 3.x) is installed on the Mac OS X i386 > snapshot build machine. Sadly, the DHCP101 Mac Book Intel Core 2 Duo in the "compile farm" is kind of old (but still running great!). The OS is 10.4.11 and compiler is "gcc version 4.0.1 (Apple Computer, Inc. build 5370)", with Xcode version 2.5 Copyright (C) 2007. This summer I predict a newer, Mac Mini will come online. That will have more modern software, for sure. :) Please let me know if my Mac is getting too old to support what folks need, e.g. modern Xcode and GCC. > If this was OK for SDCC 3.2.0 it should be also for 3.3.0. > > Borut SDCC has been humming along nicely here, especially at 3AM when the nightly build is run. It's great to support this wonderful software. :) kindest regards, *brianW |