Index: head/emulators/Makefile =================================================================== --- head/emulators/Makefile (revision 384600) +++ head/emulators/Makefile (revision 384601) @@ -1,175 +1,176 @@ # $FreeBSD$ # COMMENT = Emulators for other operating systems SUBDIR += adamem SUBDIR += advancemame SUBDIR += advancemenu SUBDIR += advancemess SUBDIR += aftp SUBDIR += aqemu SUBDIR += atari800 SUBDIR += bfe SUBDIR += bochs SUBDIR += bsvc SUBDIR += catapult SUBDIR += cinc SUBDIR += cingb SUBDIR += cpmemu SUBDIR += cpmtools SUBDIR += cpmtools2 SUBDIR += darcnes SUBDIR += dboxfe SUBDIR += desmume SUBDIR += dgen-sdl SUBDIR += dolphin-emu SUBDIR += dosbox SUBDIR += doscmd SUBDIR += dtcyber SUBDIR += dynagen SUBDIR += dynagui SUBDIR += dynamips SUBDIR += dynamips-community SUBDIR += dynamips-devel SUBDIR += e-uae SUBDIR += fceux SUBDIR += fmsx SUBDIR += frodo SUBDIR += fs-uae SUBDIR += fs-uae-launcher SUBDIR += fuse SUBDIR += fuse-roms SUBDIR += fuse-utils SUBDIR += gbe + SUBDIR += gem5 SUBDIR += generator SUBDIR += generator-cbiere SUBDIR += gens SUBDIR += gngb SUBDIR += gngeo SUBDIR += gns3 SUBDIR += gnuboy SUBDIR += gxemul SUBDIR += hatari SUBDIR += hercules SUBDIR += higan SUBDIR += hugo SUBDIR += hyperv-is SUBDIR += i386-wine SUBDIR += i386-wine-compholio SUBDIR += i386-wine-devel SUBDIR += ia64sim SUBDIR += ines SUBDIR += javatari SUBDIR += joytran SUBDIR += jzintv SUBDIR += kcemu SUBDIR += klh10 SUBDIR += kqemu-kmod SUBDIR += kqemu-kmod-devel SUBDIR += lib765 SUBDIR += libdsk SUBDIR += libspectrum SUBDIR += linux-c6 SUBDIR += linux-f10 SUBDIR += linux_base-c6 SUBDIR += linux_base-f10 SUBDIR += lisaem SUBDIR += loemu SUBDIR += m2000 SUBDIR += mame SUBDIR += mastergear SUBDIR += mednafen SUBDIR += mess SUBDIR += minivmac SUBDIR += mtools SUBDIR += mupen64plus SUBDIR += mupen64plus-audio-sdl SUBDIR += mupen64plus-core SUBDIR += mupen64plus-input-sdl SUBDIR += mupen64plus-plugins SUBDIR += mupen64plus-rsp-hle SUBDIR += mupen64plus-rsp-z64 SUBDIR += mupen64plus-ui-console SUBDIR += mupen64plus-video-arachnoid SUBDIR += mupen64plus-video-glide64 SUBDIR += mupen64plus-video-glide64mk2 SUBDIR += mupen64plus-video-rice SUBDIR += mupen64plus-video-z64 SUBDIR += nonpareil SUBDIR += o2em SUBDIR += ods2reader SUBDIR += open-vm-tools SUBDIR += open-vm-tools-nox11 SUBDIR += openmsx SUBDIR += p5-Acme-6502 SUBDIR += parallels-tools SUBDIR += pcemu SUBDIR += pcsxr SUBDIR += pearpc SUBDIR += pipelight SUBDIR += q4wine SUBDIR += qemu SUBDIR += qemu-devel SUBDIR += qemu-launcher SUBDIR += qemu-sbruno SUBDIR += qemu-user-static SUBDIR += qmc2 SUBDIR += qtemu SUBDIR += quasi88 SUBDIR += raine SUBDIR += rtc SUBDIR += rubygem-fission SUBDIR += sim6811 SUBDIR += simh SUBDIR += skyeye SUBDIR += snes9express SUBDIR += snes9x SUBDIR += snes9x-gtk SUBDIR += spim SUBDIR += stella SUBDIR += stonx SUBDIR += swine SUBDIR += tiemu3 SUBDIR += tilem SUBDIR += tme SUBDIR += tpm-emulator SUBDIR += tuxnes SUBDIR += uae SUBDIR += ucon64 SUBDIR += vba SUBDIR += vboxtool SUBDIR += vgb-bin SUBDIR += vgba-bin SUBDIR += vice SUBDIR += virtio-kmod SUBDIR += virtualbox-ose SUBDIR += virtualbox-ose-additions SUBDIR += virtualbox-ose-kmod SUBDIR += visualboyadvance-m SUBDIR += vmips SUBDIR += vmsbackup SUBDIR += vmw SUBDIR += vxtools SUBDIR += wine SUBDIR += wine-compholio SUBDIR += wine-devel SUBDIR += wine-gecko SUBDIR += wine-gecko-devel SUBDIR += wine-mono SUBDIR += wine-mono-devel SUBDIR += wxmupen64plus SUBDIR += x48 SUBDIR += x49gp SUBDIR += xbraitenberg SUBDIR += xcpc SUBDIR += xen SUBDIR += xen-kernel SUBDIR += xhomer SUBDIR += xsystem35 SUBDIR += xzx SUBDIR += yabause SUBDIR += yape SUBDIR += zsnes .include Index: head/emulators/gem5/Makefile =================================================================== --- head/emulators/gem5/Makefile (nonexistent) +++ head/emulators/gem5/Makefile (revision 384601) @@ -0,0 +1,43 @@ +# Created by: Veniamin Gvozdikov +# $FreeBSD$ + +PORTNAME= gem5 +PORTVERSION= 0.0.${DATE} +CATEGORIES= emulators +MASTER_SITES= GH + +MAINTAINER= vg@FreeBSD.org +COMMENT= gem5 Simulator System + +BUILD_DEPENDS= swig2.0:${PORTSDIR}/devel/swig20 \ + scons:${PORTSDIR}/devel/scons + +DATE= 20140422 +USE_GITHUB= yes +GH_ACCOUNT= CTSRD-CHERI +GH_TAGNAME= 99d65cc +SWIG_BIN= swig2.0 +USES= gmake + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 +IGNORE= does not support FreeBSD versions < 10.0 +.endif + +do-build: + cd ${WRKSRC} && ${GMAKE} -C util/term + cd ${WRKSRC} && ${SETENV} SWIG="${PREFIX}/bin/${SWIG_BIN}" scons \ + build/ARM/gem5.opt + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/${PORTNAME}/ARM + (cd ${WRKSRC} && ${COPYTREE_SHARE} configs \ + ${STAGEDIR}${PREFIX}/${PORTNAME}) + (cd ${WRKSRC} && ${INSTALL_PROGRAM} build/ARM/gem5.opt \ + ${STAGEDIR}${PREFIX}/${PORTNAME}/ARM/gem5.opt) + (cd ${WRKSRC} && ${INSTALL_PROGRAM} util/term/m5term \ + ${STAGEDIR}${PREFIX}/bin/m5term) + +.include Property changes on: head/emulators/gem5/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/gem5/distinfo =================================================================== --- head/emulators/gem5/distinfo (nonexistent) +++ head/emulators/gem5/distinfo (revision 384601) @@ -0,0 +1,2 @@ +SHA256 (CTSRD-CHERI-gem5-0.0.20140422-99d65cc_GH0.tar.gz) = 63b4f4a5e266b04396e9732ba64205fd1de22432d3379210d4d4a723dc43329a +SIZE (CTSRD-CHERI-gem5-0.0.20140422-99d65cc_GH0.tar.gz) = 9007377 Property changes on: head/emulators/gem5/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/gem5/files/patch-SConstruct =================================================================== --- head/emulators/gem5/files/patch-SConstruct (nonexistent) +++ head/emulators/gem5/files/patch-SConstruct (revision 384601) @@ -0,0 +1,12 @@ +--- SConstruct.orig 2015-04-21 17:46:54 UTC ++++ SConstruct +@@ -534,6 +534,9 @@ Export('MakeAction') + main['LTO_CCFLAGS'] = [] + main['LTO_LDFLAGS'] = [] + ++# Add pthread ++main.Append(LIBS=['pthread']) ++ + # According to the readme, tcmalloc works best if the compiler doesn't + # assume that we're using the builtin malloc and friends. These flags + # are compiler-specific, so we need to set them after we detect which Property changes on: head/emulators/gem5/files/patch-SConstruct ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/gem5/files/patch-util_term_Makefile =================================================================== --- head/emulators/gem5/files/patch-util_term_Makefile (nonexistent) +++ head/emulators/gem5/files/patch-util_term_Makefile (revision 384601) @@ -0,0 +1,11 @@ +--- util/term/Makefile.orig 2015-04-22 17:24:04 UTC ++++ util/term/Makefile +@@ -26,7 +26,7 @@ + # + # Authors: Nathan Binkert + +-CC= gcc ++CC= cc + CCFLAGS= -g -O0 + + default: m5term Property changes on: head/emulators/gem5/files/patch-util_term_Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/gem5/pkg-descr =================================================================== --- head/emulators/gem5/pkg-descr (nonexistent) +++ head/emulators/gem5/pkg-descr (revision 384601) @@ -0,0 +1,5 @@ +The gem5 simulator is a modular platform for computer system +architecture research, encompassing system-level architecture +as well as processor microarchitecture. + +WWW: http://www.gem5.org/ Property changes on: head/emulators/gem5/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/gem5/pkg-plist =================================================================== --- head/emulators/gem5/pkg-plist (nonexistent) +++ head/emulators/gem5/pkg-plist (revision 384601) @@ -0,0 +1,108 @@ +bin/m5term +gem5/ARM/gem5.opt +gem5/configs/boot/ammp.rcS +gem5/configs/boot/ammp.symbol +gem5/configs/boot/art.rcS +gem5/configs/boot/bbench-gb.rcS +gem5/configs/boot/bbench-ics.rcS +gem5/configs/boot/bn-app.rcS +gem5/configs/boot/bonnie.rcS +gem5/configs/boot/bonnie.symbol +gem5/configs/boot/bzip.rcS +gem5/configs/boot/cc1.symbol +gem5/configs/boot/devtime.rcS +gem5/configs/boot/equake.rcS +gem5/configs/boot/equake.symbol +gem5/configs/boot/gcc.rcS +gem5/configs/boot/gzip.rcS +gem5/configs/boot/gzip.symbol +gem5/configs/boot/hack_back_ckpt.rcS +gem5/configs/boot/halt.sh +gem5/configs/boot/iscsi-client.rcS +gem5/configs/boot/iscsi-server.rcS +gem5/configs/boot/ls.rcS +gem5/configs/boot/mcf.rcS +gem5/configs/boot/mcf.symbol +gem5/configs/boot/mesa.rcS +gem5/configs/boot/mesa.symbol +gem5/configs/boot/micro_ctx.rcS +gem5/configs/boot/micro_memlat.rcS +gem5/configs/boot/micro_memlat2mb.rcS +gem5/configs/boot/micro_memlat8.rcS +gem5/configs/boot/micro_memlat8mb.rcS +gem5/configs/boot/micro_stream.rcS +gem5/configs/boot/micro_streamcopy.rcS +gem5/configs/boot/micro_streamscale.rcS +gem5/configs/boot/micro_syscall.rcS +gem5/configs/boot/micro_tlblat.rcS +gem5/configs/boot/micro_tlblat2.rcS +gem5/configs/boot/micro_tlblat3.rcS +gem5/configs/boot/mutex-test.rcS +gem5/configs/boot/nat-netperf-maerts-client.rcS +gem5/configs/boot/nat-netperf-server.rcS +gem5/configs/boot/nat-netperf-stream-client.rcS +gem5/configs/boot/nat-spec-surge-client.rcS +gem5/configs/boot/nat-spec-surge-server.rcS +gem5/configs/boot/natbox-netperf.rcS +gem5/configs/boot/natbox-spec-surge.rcS +gem5/configs/boot/netperf-maerts-client.rcS +gem5/configs/boot/netperf-rr.rcS +gem5/configs/boot/netperf-server.rcS +gem5/configs/boot/netperf-stream-client.rcS +gem5/configs/boot/netperf-stream-nt-client.rcS +gem5/configs/boot/netperf-stream-udp-client.rcS +gem5/configs/boot/netperf-stream-udp-local.rcS +gem5/configs/boot/nfs-client-dbench.rcS +gem5/configs/boot/nfs-client-nhfsstone.rcS +gem5/configs/boot/nfs-client-smallb.rcS +gem5/configs/boot/nfs-client-tcp-smallb.rcS +gem5/configs/boot/nfs-client-tcp.rcS +gem5/configs/boot/nfs-client.rcS +gem5/configs/boot/nfs-server-nhfsstone.rcS +gem5/configs/boot/nfs-server.rcS +gem5/configs/boot/null.rcS +gem5/configs/boot/ping-client.rcS +gem5/configs/boot/ping-server.rcS +gem5/configs/boot/setup +gem5/configs/boot/spec-surge-client.rcS +gem5/configs/boot/spec-surge-server.rcS +gem5/configs/boot/surge-client.rcS +gem5/configs/boot/surge-server.rcS +gem5/configs/common/Benchmarks.py +gem5/configs/common/CacheConfig.py +gem5/configs/common/Caches.py +gem5/configs/common/CpuConfig.py +gem5/configs/common/FSConfig.py +gem5/configs/common/MemConfig.py +gem5/configs/common/O3_ARM_v7a.py +gem5/configs/common/Options.py +gem5/configs/common/Simulation.py +gem5/configs/common/SysPaths.py +gem5/configs/common/cpu2000.py +gem5/configs/dram/sweep.py +gem5/configs/example/fs.py +gem5/configs/example/memcheck.py +gem5/configs/example/memtest.py +gem5/configs/example/read_config.py +gem5/configs/example/ruby_direct_test.py +gem5/configs/example/ruby_mem_test.py +gem5/configs/example/ruby_network_test.py +gem5/configs/example/ruby_random_test.py +gem5/configs/example/se.py +gem5/configs/ruby/MESI_Three_Level.py +gem5/configs/ruby/MESI_Two_Level.py +gem5/configs/ruby/MI_example.py +gem5/configs/ruby/MOESI_CMP_directory.py +gem5/configs/ruby/MOESI_CMP_token.py +gem5/configs/ruby/MOESI_hammer.py +gem5/configs/ruby/Network_test.py +gem5/configs/ruby/Ruby.py +gem5/configs/splash2/cluster.py +gem5/configs/splash2/run.py +gem5/configs/topologies/BaseTopology.py +gem5/configs/topologies/Cluster.py +gem5/configs/topologies/Crossbar.py +gem5/configs/topologies/Mesh.py +gem5/configs/topologies/MeshDirCorners.py +gem5/configs/topologies/Pt2Pt.py +gem5/configs/topologies/Torus.py Property changes on: head/emulators/gem5/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property