Yzena
/
Yc
2
1
Fork 0
Browse Source

Redo changes to build.rig for Mac OSX

I realized that since variables are not available in-target, I would
also need to add the capability of grabbing the inputs list and splicing
it into the command.

Signed-off-by: Gavin Howard <gavin@yzena.com>
afl_persistent_mode
Gavin Howard 3 months ago
parent
commit
d3868aa42a
Signed by: gavin
GPG Key ID: C08038BDF280D33E
  1. 64
      build.rig
  2. 8
      tools/gen_rig.sh

64
build.rig

@ -632,67 +632,5 @@ target "libyc.a": semaphore,
"src/yc.o",
"src/yvm/yvm.o"
{
$ ar -r -cu libyc.a $semaphore
src/arith.o
src/assert.o
src/concurrency/atomics.o
src/concurrency/condvar.o
src/concurrency/mutex.o
src/concurrency/os/posix/atomics.o
src/concurrency/os/posix/condvar.o
src/concurrency/os/posix/mutex.o
src/concurrency/os/posix/rwlock.o
src/concurrency/os/posix/strucon.o
src/concurrency/os/posix/threadset.o
src/concurrency/rwlock.o
src/concurrency/semaphore.o
src/concurrency/strucon.o
src/concurrency/threadset.o
src/container/imap.o
src/container/list.o
src/container/map.o
src/container/nvector.o
src/container/smap.o
src/container/stack.o
src/container/svector.o
src/container/tree.o
src/container/vec.o
src/container/vector.o
src/gaml/gaml.o
src/gaml/lex.o
src/gaml/parse.o
src/io/bareio.o
src/io/dir.o
src/io/dirent.o
src/io/file.o
src/io/fs.o
src/io/io.o
src/io/os/posix/bareio.o
src/io/os/posix/dir.o
src/io/os/posix/file.o
src/io/os/posix/fs.o
src/io/os/posix/io.o
src/io/path.o
src/pool/mappool.o
src/pool/os/posix/alloc.o
src/pool/setpool.o
src/pool/stackpool.o
src/str/os/posix/str.o
src/str/str.o
src/str/string.o
src/sys/multiplex.o
src/sys/os/posix/multiplex.o
src/sys/os/posix/proc.o
src/sys/os/posix/sys.o
src/sys/proc.o
src/sys/sys.o
src/util/hash.o
src/util/opt.o
src/util/types.o
src/yao/lex.o
src/yao/parse.o
src/yao/program.o
src/yao/yao.o
src/yc.o
src/yvm/yvm.o;
$ ar -r -cu libyc.a @inputs;
}

8
tools/gen_rig.sh

@ -119,10 +119,4 @@ for f in $objs; do
printf ',\n "%s"' "$f"
done
printf '\n{\n\t%s libyc.a $semaphore' "$temp3"
for f in $objs; do
printf '\n\t %s' "$f"
done
printf ';\n}\n'
printf '\n{\n\t%s libyc.a @inputs;\n}\n' "$temp3"

Loading…
Cancel
Save