masc-ucsc / esesc

ESESC: A Fast Multicore Simulator
http://masc.soe.ucsc.edu/esesc/
134 stars 64 forks source link

Add default.nix & BUILDING doc #57

Closed fzakaria closed 3 years ago

fzakaria commented 3 years ago

Add ability to build esesc via nix & start a BUILDING.md file to document other means.

❯ nix-build
/nix/store/1x1wiz5mcr8b1zxl8ga7lvnvrxd74sky-esesc

❯ ls -l /nix/store/1x1wiz5mcr8b1zxl8ga7lvnvrxd74sky-esesc/bin/esesc

.r-xr-xr-x 4.9M fmzakari 31 Dec  1969 /nix/store/1x1wiz5mcr8b1zxl8ga7lvnvrxd74sky-esesc/bin/esesc
❯ ldd /nix/store/1x1wiz5mcr8b1zxl8ga7lvnvrxd74sky-esesc/bin/esesc

    linux-vdso.so.1 (0x00007ffda1b5f000)
    /lib/x86_64-linux-gnu/libnss_cache.so.2 (0x00007f17becc4000)
    libncursesw.so.6 => /nix/store/pgx1xxgx503z3s88pfgmf5gb2zbypgy8-ncurses-6.2/lib/libncursesw.so.6 (0x00007f17bec50000)
    librt.so.1 => /nix/store/a6rnjp15qgp8a699dlffqj94hzy1nldg-glibc-2.32/lib/librt.so.1 (0x00007f17bec46000)
    libz.so.1 => /nix/store/7nwhl76vj9r5kfd1af9xa2cqdridblv6-zlib-1.2.11/lib/libz.so.1 (0x00007f17bec29000)
    libpthread.so.0 => /nix/store/a6rnjp15qgp8a699dlffqj94hzy1nldg-glibc-2.32/lib/libpthread.so.0 (0x00007f17bec08000)
    libglib-2.0.so.0 => /nix/store/0ds5gvys9awz8ab2mybyfhy7532yrhxa-glib-2.66.2/lib/libglib-2.0.so.0 (0x00007f17bead6000)
    libm.so.6 => /nix/store/a6rnjp15qgp8a699dlffqj94hzy1nldg-glibc-2.32/lib/libm.so.6 (0x00007f17be993000)
    libstdc++.so.6 => /nix/store/51hq0xxp9nng3xxfz7dpkhb9lzy7sz84-gcc-9.3.0-lib/lib/libstdc++.so.6 (0x00007f17be7b2000)
    libgcc_s.so.1 => /nix/store/a6rnjp15qgp8a699dlffqj94hzy1nldg-glibc-2.32/lib/libgcc_s.so.1 (0x00007f17be798000)
    libc.so.6 => /nix/store/a6rnjp15qgp8a699dlffqj94hzy1nldg-glibc-2.32/lib/libc.so.6 (0x00007f17be5d7000)
    /nix/store/a6rnjp15qgp8a699dlffqj94hzy1nldg-glibc-2.32/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f17c1123000)
    libpcre.so.1 => /nix/store/qb4rmys9h9abdh104jjflfj8hscm9n9d-pcre-8.44/lib/libpcre.so.1 (0x00007f17be563000)