Giter VIP home page Giter VIP logo

Comments (6)

aoh avatar aoh commented on August 22, 2024

Hi,

Good points and thanks for reminding me about this issue. Radamsa.c was included in previous releases specifically to avoid these issues and extra dependency on owl, but Google Code shut down, Radamsa migrated to Github, and I hadn't figured out when releasing 0.4 how to add separate tarballs or binaries to/as the release.

A temporary solution was to put the downloads with signatures to http://haltp.org/download, and you can also do $ make build_radamsa, which by default uses /usr/bin/ol, to avoid a local build.

Radamsa 0.5 should come out soonish after the current IO changes are done in Owl, an easy solution would be to include and update the prebuilt C code at each release. The Makefile is written so that owl is cloned only if radamsa.c needs to be rebuilt, so checking out with a release tag or downloading a prebuilt package would then cause no owl cloning.

Doing a quick build of owl is also a good idea. If you are using a local checkout, you probably don't want to do a full build. E.g., by using:

local_radamsa:
   -git clone https://github.com/aoh/owl-lisp.git
   -cd owl-lisp && git pull 
   cd owl-lisp && make bin/vm
   owl-lisp/bin/vm owl-lisp/fasl/init.fasl -O2 -o radamsa.c rad/main.scm

it takes about 8 seconds to build Radamsa on my machine.

from radamsa.

aoh avatar aoh commented on August 22, 2024

Radamsa now fetches a tagged version of owl and only does a minimal build. Will have to remember to add the prebuilt C code for next release, but this issue is now fixed.

Thanks for filing the issue. Let me know if you run into issues with the fix.

from radamsa.

brarcher avatar brarcher commented on August 22, 2024

v0.5 was released today and I gave it a look. I noticed that there is no artifact attached to the release which contains a prebuilt C code file for Radamsa. Is there interest in uploading a tarball which contains the release as well as a pre-generated radamsa.c file?

Thank you for your consideration.

from radamsa.

aoh avatar aoh commented on August 22, 2024

Github releases might be a solution to this. I didn't have time to check out how they work yesterday though, so the current release tarball is just autogenerated from the tag for now.

from radamsa.

aoh avatar aoh commented on August 22, 2024

Yes, it seems to be easy to add custom tarballs along with releases. The default radamsa-0.5.tar.gz download now has radamsa.c again, so the build does not depend on owl. If the actual sources are altered, only then the correct version of owl is loaded and radamsa.c is rebuilt.

from radamsa.

brarcher avatar brarcher commented on August 22, 2024

Awesome! Thanks!

from radamsa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.