Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#42648 closed update (fixed)

faust @0.9.46: update to 0.9.65

Reported by: agraef (Albert Graef) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: faust

Description

Faust 0.9.46 is very old. Could this port please be updated to the current stable release 0.9.65? The build process should still be the same.

Also, since the Faust project releases tarballs quite infrequently, it would be really nice to have the current git revision available as a port faust-devel. The master branch of Faust's git repository is available at http://sourceforge.net/p/faudiostream/code/ci/master/tree/.

Even better would be to have a port faust2-devel for the current git revision of the faust2 branch at http://sourceforge.net/p/faudiostream/code/ci/faust2/tree/. This is the latest (experimental but pretty stable) Faust version which has a bunch of additional backends (most notably, C, Java and LLVM bitcode). The build process should be the pretty much same, but LLVM will be needed as an additional dependency.

Attachments (1)

Portfile (2.2 KB) - added by agraef (Albert Graef) 10 years ago.
port file for faust2-devel, corrected version (added openssl dependency)

Download all attachments as: .zip

Change History (10)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Port: faust added
Status: newassigned

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Updated faust to 0.9.65 in r117654. Thanks for letting me know the new version was available; livecheck had not notified me, but that's fixed now too.

I have not worked on any faust-devel or faust2-devel ports or subports yet.

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

faust-devel port added in r122480.

comment:4 in reply to:  3 Changed 10 years ago by agraef (Albert Graef)

Replying to ryandesign@…:

faust-devel port added in r122480.

Thanks! I've attached a port file for faust2-devel, could that please be committed as well?

Last edited 10 years ago by agraef (Albert Graef) (previous) (diff)

Changed 10 years ago by agraef (Albert Graef)

Attachment: Portfile added

port file for faust2-devel, corrected version (added openssl dependency)

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Thanks!

The git.branch must be a specific commit; it cannot be a floating branch identifier like "origin/faust2".

I changed git.branch to "b00d5580a386113431a77a3f7d1a064b1794a71a" (the latest commit from the origin/faust2 branch). It failed to build, saying:

/opt/local/libexec/llvm-3.4/bin/clang++ -O3 -DLLVM_34 -emit-llvm -S ../architecture/scheduler.cpp -o scheduler.ll
make[1]: /opt/local/libexec/llvm-3.4/bin/clang++: No such file or directory

Indeed, I have the llvm-3.4 port installed but not the clang-3.4 port.

I'm unclear why the clang-3.4 compiler is being asked for here, when everything else was being compiled with Xcode's clang.

comment:6 Changed 10 years ago by agraef (Albert Graef)

Oops, sorry, forgot about the clang-3.4 dependency. I guess that the author wants to make sure there that the scheduler.ll file is produced with the same LLVM backend version that Faust is linked against, in order to avoid LLVM assembler incompatibilities. So yes, I think that the clang-3.4 dependency is really needed.

About the git branch: origin/faust2 seems to work fine over here. Any reason that the port must be tied to a specific revision? IMHO this pretty much defies the purpose of a port built from current git sources, since you'll have to change the Portfile whenever you want to install the latest revision.

comment:7 in reply to:  6 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to aggraef@…:

Oops, sorry, forgot about the clang-3.4 dependency. I guess that the author wants to make sure there that the scheduler.ll file is produced with the same LLVM backend version that Faust is linked against, in order to avoid LLVM assembler incompatibilities. So yes, I think that the clang-3.4 dependency is really needed.

Ok. It will take me some time to clear off the necessary disk space to build clang-3.4 on my system.

About the git branch: origin/faust2 seems to work fine over here. Any reason that the port must be tied to a specific revision? IMHO this pretty much defies the purpose of a port built from current git sources, since you'll have to change the Portfile whenever you want to install the latest revision.

Since this question has come up a few times recently, I've finally written up our position on this matter in our wiki.

comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Added faust2-devel in r122506.

comment:9 Changed 10 years ago by agraef (Albert Graef)

Ok, I see. Makes sense if the focus is on stability. Thanks for committing the port.

Note: See TracTickets for help on using tickets.