[phobos] install targets

Brad Roberts braddr at puremagic.com
Sun Jun 2 12:12:47 PDT 2013


I'm a little surprised that after all the talk about improving the release process and wanting 
nightly builds, that these pull requests and this email have gotten so little response.

pending:
   https://github.com/D-Programming-Language/dmd/pull/2096
   https://github.com/D-Programming-Language/phobos/pull/1324

merged:
   https://github.com/D-Programming-Language/druntime/pull/495

Let's get this ball rolling..

On 5/29/13 11:19 PM, Brad Roberts wrote:
> Ok.. I've just submitted pull requests for dmd, druntime, and phobos to add install targets that
> build a sibling directory with the output of the build process for each of those packages.  There's
> missing pieces: documentation and tools in particular.  Those can come later.
>
> I've only tested this on linux so far, but it seems to do the trick:
>
> $ mkdir test-dir
> $ cd test-dir
> $ for x in dmd druntime phobos; do
>      git clone https://github.com/braddr/$x -b install
>    done
> $ cd dmd
> $ make -f posix.mak MODEL=32 install
> $ cd ../druntime
> $ make -f posix.mak MODEL=32 DMD=../install/bin/dmd install
> $ cd ../phobos
> $ make -f posix.mak MODEL=32 DMD=../install/bin/dmd install
> $ cd ../install
> $ find . -type f | sort
> ./bin/dmd
> ./bin/dmd.conf
> ./dmd-artistic.txt
> ./dmd-backendlicense.txt
> ./druntime-LICENSE.txt
> ./html/core_atomic.html
> ./html/core_bitop.html
> ./html/core_cpuid.html
> ./html/core_demangle.html
> ./html/core_exception.html
> ./html/core_math.html
> ./html/core_memory.html
> ./html/core_runtime.html
> ./html/core_simd.html
> ./html/core_sync_barrier.html
> ./html/core_sync_condition.html
> ./html/core_sync_config.html
> ./html/core_sync_exception.html
> ./html/core_sync_mutex.html
> ./html/core_sync_rwmutex.html
> ./html/core_sync_semaphore.html
> ./html/core_thread.html
> ./html/core_time.html
> ./html/core_vararg.html
> ./html/object.html
> ./import/core/atomic.d
> ./import/core/bitop.d
> ./import/core/cpuid.d
> ./import/core/demangle.d
> ./import/core/exception.d
> ./import/core/math.d
> ./import/core/memory.d
> ./import/core/runtime.d
> ./import/core/simd.d
> ./import/core/stdc/complex.d
> ./import/core/stdc/config.d
> ./import/core/stdc/ctype.d
> ./import/core/stdc/errno.d
> ./import/core/stdc/fenv.d
> ./import/core/stdc/float_.d
> ./import/core/stdc/inttypes.d
> ./import/core/stdc/limits.d
> ./import/core/stdc/locale.d
> ./import/core/stdc/math.d
> ./import/core/stdc/signal.d
> ./import/core/stdc/stdarg.d
> ./import/core/stdc/stddef.d
> ./import/core/stdc/stdint.d
> ./import/core/stdc/stdio.d
> ./import/core/stdc/stdlib.d
> ./import/core/stdc/string.d
> ./import/core/stdc/tgmath.d
> ./import/core/stdc/time.d
> ./import/core/stdc/wchar_.d
> ./import/core/stdc/wctype.d
> ./import/core/sync/barrier.di
> ./import/core/sync/condition.di
> ./import/core/sync/config.di
> ./import/core/sync/exception.di
> ./import/core/sync/mutex.di
> ./import/core/sync/rwmutex.di
> ./import/core/sync/semaphore.di
> ./import/core/sys/freebsd/dlfcn.d
> ./import/core/sys/freebsd/execinfo.d
> ./import/core/sys/freebsd/sys/event.d
> ./import/core/sys/linux/config.d
> ./import/core/sys/linux/dlfcn.d
> ./import/core/sys/linux/elf.d
> ./import/core/sys/linux/epoll.d
> ./import/core/sys/linux/errno.d
> ./import/core/sys/linux/execinfo.d
> ./import/core/sys/linux/link.d
> ./import/core/sys/linux/sys/signalfd.d
> ./import/core/sys/linux/sys/xattr.d
> ./import/core/sys/osx/execinfo.d
> ./import/core/sys/osx/mach/kern_return.d
> ./import/core/sys/osx/mach/port.d
> ./import/core/sys/osx/mach/semaphore.d
> ./import/core/sys/osx/mach/thread_act.d
> ./import/core/sys/osx/pthread.d
> ./import/core/sys/posix/arpa/inet.d
> ./import/core/sys/posix/config.d
> ./import/core/sys/posix/dirent.d
> ./import/core/sys/posix/dlfcn.d
> ./import/core/sys/posix/fcntl.d
> ./import/core/sys/posix/grp.d
> ./import/core/sys/posix/inttypes.d
> ./import/core/sys/posix/netdb.d
> ./import/core/sys/posix/net/if_.d
> ./import/core/sys/posix/netinet/in_.d
> ./import/core/sys/posix/netinet/tcp.d
> ./import/core/sys/posix/poll.d
> ./import/core/sys/posix/pthread.d
> ./import/core/sys/posix/pwd.d
> ./import/core/sys/posix/sched.d
> ./import/core/sys/posix/semaphore.d
> ./import/core/sys/posix/setjmp.d
> ./import/core/sys/posix/signal.d
> ./import/core/sys/posix/stdio.d
> ./import/core/sys/posix/stdlib.d
> ./import/core/sys/posix/sys/ioctl.d
> ./import/core/sys/posix/sys/ipc.d
> ./import/core/sys/posix/sys/mman.d
> ./import/core/sys/posix/sys/resource.d
> ./import/core/sys/posix/sys/select.d
> ./import/core/sys/posix/sys/shm.d
> ./import/core/sys/posix/sys/socket.d
> ./import/core/sys/posix/sys/stat.d
> ./import/core/sys/posix/sys/statvfs.d
> ./import/core/sys/posix/sys/time.d
> ./import/core/sys/posix/sys/types.d
> ./import/core/sys/posix/sys/uio.d
> ./import/core/sys/posix/sys/un.d
> ./import/core/sys/posix/sys/utsname.d
> ./import/core/sys/posix/sys/wait.d
> ./import/core/sys/posix/termios.d
> ./import/core/sys/posix/time.d
> ./import/core/sys/posix/ucontext.d
> ./import/core/sys/posix/unistd.d
> ./import/core/sys/posix/utime.d
> ./import/core/sys/windows/dbghelp.d
> ./import/core/sys/windows/dll.d
> ./import/core/sys/windows/stacktrace.d
> ./import/core/sys/windows/threadaux.d
> ./import/core/sys/windows/windows.d
> ./import/core/thread.di
> ./import/core/time.d
> ./import/core/vararg.d
> ./import/crc32.d
> ./import/etc/c/curl.d
> ./import/etc/c/.curl.d.swp
> ./import/etc/c/sqlite3.d
> ./import/etc/curl.d
> ./import/etc/c/zlib/adler32.c
> ./import/etc/c/zlib/algorithm.txt
> ./import/etc/c/zlib/ChangeLog
> ./import/etc/c/zlib/compress.c
> ./import/etc/c/zlib/crc32.c
> ./import/etc/c/zlib/crc32.h
> ./import/etc/c/zlib.d
> ./import/etc/c/zlib/deflate.c
> ./import/etc/c/zlib/deflate.h
> ./import/etc/c/zlib/example.c
> ./import/etc/c/zlib/gzclose.c
> ./import/etc/c/zlib/gzguts.h
> ./import/etc/c/zlib/gzlib.c
> ./import/etc/c/zlib/gzread.c
> ./import/etc/c/zlib/gzwrite.c
> ./import/etc/c/zlib/infback.c
> ./import/etc/c/zlib/inffast.c
> ./import/etc/c/zlib/inffast.h
> ./import/etc/c/zlib/inffixed.h
> ./import/etc/c/zlib/inflate.c
> ./import/etc/c/zlib/inflate.h
> ./import/etc/c/zlib/inftrees.c
> ./import/etc/c/zlib/inftrees.h
> ./import/etc/c/zlib/linux.mak
> ./import/etc/c/zlib/minigzip.c
> ./import/etc/c/zlib/osx.mak
> ./import/etc/c/zlib/README
> ./import/etc/c/zlib/trees.c
> ./import/etc/c/zlib/trees.h
> ./import/etc/c/zlib/uncompr.c
> ./import/etc/c/zlib/win32.mak
> ./import/etc/c/zlib/win64.mak
> ./import/etc/c/zlib/zconf.h
> ./import/etc/c/zlib/zlib.3
> ./import/etc/c/zlib/zlib.h
> ./import/etc/c/zlib/zutil.c
> ./import/etc/c/zlib/zutil.h
> ./import/etc/linux/memoryerror.d
> ./import/object.di
> ./import/std/algorithm.d
> ./import/std/array.d
> ./import/std/ascii.d
> ./import/std/aws.d
> ./import/std/base64.d
> ./import/std/bigint.d
> ./import/std/bitmanip.d
> ./import/std/c/fenv.d
> ./import/std/c/freebsd/socket.d
> ./import/std/c/linux/linux.d
> ./import/std/c/linux/linuxextern.d
> ./import/std/c/linux/pthread.d
> ./import/std/c/linux/socket.d
> ./import/std/c/linux/termios.d
> ./import/std/c/linux/tipc.d
> ./import/std/c/locale.d
> ./import/std/c/math.d
> ./import/std/compiler.d
> ./import/std/complex.d
> ./import/std/concurrency.d
> ./import/std/container.d
> ./import/std/conv.d
> ./import/std/c/osx/socket.d
> ./import/std/c/process.d
> ./import/std/c/stdarg.d
> ./import/std/c/stddef.d
> ./import/std/c/stdio.d
> ./import/std/c/stdlib.d
> ./import/std/cstream.d
> ./import/std/c/string.d
> ./import/std/csv.d
> ./import/std/c/time.d
> ./import/std/c/wcharh.d
> ./import/std/c/windows/com.d
> ./import/std/c/windows/stat.d
> ./import/std/c/windows/windows.d
> ./import/std/c/windows/winsock.d
> ./import/std/datetime.d
> ./import/std/demangle.d
> ./import/std/digest/crc.d
> ./import/std/digest/digest.d
> ./import/std/digest/md.d
> ./import/std/digest/ripemd.d
> ./import/std/digest/sha.d
> ./import/std/encoding.d
> ./import/std/exception.d
> ./import/std/file.d
> ./import/std/format.d
> ./import/std/functional.d
> ./import/std/getopt.d
> ./import/std/internal/digest/sha_SSSE3.d
> ./import/std/internal/math/biguintcore.d
> ./import/std/internal/math/biguintnoasm.d
> ./import/std/internal/math/biguintx86.d
> ./import/std/internal/math/errorfunction.d
> ./import/std/internal/math/gammafunction.d
> ./import/std/internal/processinit.d
> ./import/std/internal/uni.d
> ./import/std/internal/uni_tab.d
> ./import/std/internal/windows/advapi32.d
> ./import/std/json.d
> ./import/std/math.d
> ./import/std/mathspecial.d
> ./import/std/md5.d
> ./import/std/metastrings.d
> ./import/std/mmfile.d
> ./import/std/net/curl.d
> ./import/std/net/isemail.d
> ./import/std/numeric.d
> ./import/std/outbuffer.d
> ./import/std/parallelism.d
> ./import/std/path.d
> ./import/std/process.d
> ./import/std/random.d
> ./import/std/range.d
> ./import/std/regex.d
> ./import/std/signals.d
> ./import/std/socket.d
> ./import/std/socketstream.d
> ./import/std/stdint.d
> ./import/std/stdiobase.d
> ./import/std/stdio.d
> ./import/std/stream.d
> ./import/std/string.d
> ./import/std/syserror.d
> ./import/std/system.d
> ./import/std/traits.d
> ./import/std/typecons.d
> ./import/std/typelist.d
> ./import/std/typetuple.d
> ./import/std/uni.d
> ./import/std/uri.d
> ./import/std/utf.d
> ./import/std/uuid.d
> ./import/std/variant.d
> ./import/std/windows/charset.d
> ./import/std/windows/iunknown.d
> ./import/std/windows/registry.d
> ./import/std/windows/syserror.d
> ./import/std/xml.d
> ./import/std/zip.d
> ./import/std/zlib.d
> ./lib/libdruntime-linux32.a
> ./lib/libdruntime-linux32so.a
> ./lib/libdruntime-linux32so.o
> ./lib/libphobos2.a
> ./man/man1/dmd.1
> ./man/man1/dmd.conf.5
> ./man/man1/dumpobj.1
> ./man/man1/obj2asm.1
> ./man/man1/rdmd.1
> ./phobos-LICENSE.txt
> ./samples/all.sh
> ./samples/build.bat
> ./samples/chello.d
> ./samples/clean.bat
> ./samples/d2html.d
> ./samples/d2html.kwd
> ./samples/dclient.d
> ./samples/dhry.d
> ./samples/dserver.d
> ./samples/dserver.def
> ./samples/hello.d
> ./samples/htmlget.d
> ./samples/listener.d
> ./samples/mydll/build.bat
> ./samples/mydll/dll.d
> ./samples/mydll/mydll.d
> ./samples/mydll/mydll.def
> ./samples/mydll/mydll.di
> ./samples/mydll/test.d
> ./samples/pi.d
> ./samples/sieve.d
> ./samples/wc2.d
> ./samples/wc.d
> ./samples/winsamp.d
> ./samples/winsamp.def
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos



More information about the phobos mailing list