diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..77447c0f --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*~ +*.o +*.swp +*.swo + diff --git a/doc/Quantum.Code.1.0.User.Manual.pdf b/doc/Quantum.Code.1.0.User.Manual.pdf new file mode 100644 index 00000000..fee4c82d Binary files /dev/null and b/doc/Quantum.Code.1.0.User.Manual.pdf differ diff --git a/src/Makefile b/src/Makefile deleted file mode 100644 index 8f941648..00000000 --- a/src/Makefile +++ /dev/null @@ -1,795 +0,0 @@ -# Makefile.in generated by automake 1.15 from Makefile.am. -# Makefile. Generated from Makefile.in by configure. - -# Copyright (C) 1994-2014 Free Software Foundation, Inc. - -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - - - -# author: Nader Khammassi -# bugreport to : nader.khammassi@gmail.com - - -am__is_gnu_make = { \ - if test -z '$(MAKELEVEL)'; then \ - false; \ - elif test -n '$(MAKE_HOST)'; then \ - true; \ - elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ - true; \ - else \ - false; \ - fi; \ -} -am__make_running_with_option = \ - case $${target_option-} in \ - ?) ;; \ - *) echo "am__make_running_with_option: internal error: invalid" \ - "target option '$${target_option-}' specified" >&2; \ - exit 1;; \ - esac; \ - has_opt=no; \ - sane_makeflags=$$MAKEFLAGS; \ - if $(am__is_gnu_make); then \ - sane_makeflags=$$MFLAGS; \ - else \ - case $$MAKEFLAGS in \ - *\\[\ \ ]*) \ - bs=\\; \ - sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ - | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ - esac; \ - fi; \ - skip_next=no; \ - strip_trailopt () \ - { \ - flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ - }; \ - for flg in $$sane_makeflags; do \ - test $$skip_next = yes && { skip_next=no; continue; }; \ - case $$flg in \ - *=*|--*) continue;; \ - -*I) strip_trailopt 'I'; skip_next=yes;; \ - -*I?*) strip_trailopt 'I';; \ - -*O) strip_trailopt 'O'; skip_next=yes;; \ - -*O?*) strip_trailopt 'O';; \ - -*l) strip_trailopt 'l'; skip_next=yes;; \ - -*l?*) strip_trailopt 'l';; \ - -[dEDm]) skip_next=yes;; \ - -[JT]) skip_next=yes;; \ - esac; \ - case $$flg in \ - *$$target_option*) has_opt=yes; break;; \ - esac; \ - done; \ - test $$has_opt = yes -am__make_dryrun = (target_option=n; $(am__make_running_with_option)) -am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) -pkgdatadir = $(datadir)/qx-simulator -pkgincludedir = $(includedir)/qx-simulator -pkglibdir = $(libdir)/qx-simulator -pkglibexecdir = $(libexecdir)/qx-simulator -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -bin_PROGRAMS = qx_simulator$(EXEEXT) ninja_star_simulator$(EXEEXT) -subdir = . -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.ac -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ - $(ACLOCAL_M4) -DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ - $(am__configure_deps) $(am__DIST_COMMON) -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ - configure.lineno config.status.lineno -mkinstalldirs = $(install_sh) -d -CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = qx.pc -CONFIG_CLEAN_VPATH_FILES = -am__installdirs = "$(DESTDIR)$(bindir)" -PROGRAMS = $(bin_PROGRAMS) -am__dirstamp = $(am__leading_dot)dirstamp -am_ninja_star_simulator_OBJECTS = \ - ./tools/ninja_star_simulator.$(OBJEXT) -ninja_star_simulator_OBJECTS = $(am_ninja_star_simulator_OBJECTS) -ninja_star_simulator_LDADD = $(LDADD) -am_qx_simulator_OBJECTS = ./tools/simulator.$(OBJEXT) -qx_simulator_OBJECTS = $(am_qx_simulator_OBJECTS) -qx_simulator_LDADD = $(LDADD) -AM_V_P = $(am__v_P_$(V)) -am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) -am__v_P_0 = false -am__v_P_1 = : -AM_V_GEN = $(am__v_GEN_$(V)) -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) -am__v_GEN_0 = @echo " GEN " $@; -am__v_GEN_1 = -AM_V_at = $(am__v_at_$(V)) -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) -am__v_at_0 = @ -am__v_at_1 = -DEFAULT_INCLUDES = -I. -depcomp = $(SHELL) $(top_srcdir)/depcomp -am__depfiles_maybe = depfiles -am__mv = mv -f -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -AM_V_CXX = $(am__v_CXX_$(V)) -am__v_CXX_ = $(am__v_CXX_$(AM_DEFAULT_VERBOSITY)) -am__v_CXX_0 = @echo " CXX " $@; -am__v_CXX_1 = -CXXLD = $(CXX) -CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ - -o $@ -AM_V_CXXLD = $(am__v_CXXLD_$(V)) -am__v_CXXLD_ = $(am__v_CXXLD_$(AM_DEFAULT_VERBOSITY)) -am__v_CXXLD_0 = @echo " CXXLD " $@; -am__v_CXXLD_1 = -SOURCES = $(ninja_star_simulator_SOURCES) $(qx_simulator_SOURCES) -DIST_SOURCES = $(ninja_star_simulator_SOURCES) $(qx_simulator_SOURCES) -am__can_run_installinfo = \ - case $$AM_UPDATE_INFO_DIR in \ - n|no|NO) false;; \ - *) (install-info --version) >/dev/null 2>&1;; \ - esac -am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ - $(LISP)config.h.in -# Read a list of newline-separated strings from the standard input, -# and print each of them once, without duplicates. Input order is -# *not* preserved. -am__uniquify_input = $(AWK) '\ - BEGIN { nonempty = 0; } \ - { items[$$0] = 1; nonempty = 1; } \ - END { if (nonempty) { for (i in items) print i; }; } \ -' -# Make sure the list of sources is unique. This is necessary because, -# e.g., the same source file might be shared among _SOURCES variables -# for different programs/libraries. -am__define_uniq_tagged_files = \ - list='$(am__tagged_files)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | $(am__uniquify_input)` -ETAGS = etags -CTAGS = ctags -CSCOPE = cscope -AM_RECURSIVE_TARGETS = cscope -am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ - $(srcdir)/qx.pc.in AUTHORS COPYING ChangeLog INSTALL NEWS \ - README compile depcomp install-sh missing -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(distdir) -am__remove_distdir = \ - if test -d "$(distdir)"; then \ - find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ - && rm -rf "$(distdir)" \ - || { sleep 5 && rm -rf "$(distdir)"; }; \ - else :; fi -am__post_remove_distdir = $(am__remove_distdir) -DIST_ARCHIVES = $(distdir).tar.gz -GZIP_ENV = --best -DIST_TARGETS = dist-gzip -distuninstallcheck_listfiles = find . -type f -print -am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ - | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' -distcleancheck_listfiles = find . -type f -print -ACLOCAL = ${SHELL} /Users/nader/Develop/qx/src/missing aclocal-1.15 -AMTAR = $${TAR-tar} -AM_DEFAULT_VERBOSITY = 1 -AUTOCONF = ${SHELL} /Users/nader/Develop/qx/src/missing autoconf -AUTOHEADER = ${SHELL} /Users/nader/Develop/qx/src/missing autoheader -AUTOMAKE = ${SHELL} /Users/nader/Develop/qx/src/missing automake-1.15 -AWK = awk -CC = gcc -CCDEPMODE = depmode=gcc3 -CFLAGS = -g -O2 -CPP = gcc -E -CPPFLAGS = -CXX = g++ -CXXDEPMODE = depmode=gcc3 -CXXFLAGS = -g -O2 -CYGPATH_W = echo -DEFS = -DHAVE_CONFIG_H -DEPDIR = .deps -ECHO_C = \c -ECHO_N = -ECHO_T = -EGREP = /usr/bin/grep -E -EXEEXT = -GREP = /usr/bin/grep -INSTALL = /usr/bin/install -c -INSTALL_DATA = ${INSTALL} -m 644 -INSTALL_PROGRAM = ${INSTALL} -INSTALL_SCRIPT = ${INSTALL} -INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -LDFLAGS = -lm -LIBOBJS = ${LIBOBJDIR}error$U.o -LIBS = -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -LTLIBOBJS = ${LIBOBJDIR}error$U.lo -MAKEINFO = ${SHELL} /Users/nader/Develop/qx/src/missing makeinfo -MKDIR_P = ./install-sh -c -d -OBJEXT = o -PACKAGE = qx-simulator -PACKAGE_BUGREPORT = nader.khammassi@gmail.com -PACKAGE_NAME = qx-simulator -PACKAGE_STRING = qx-simulator 0.1.3 -PACKAGE_TARNAME = qx-simulator -PACKAGE_URL = -PACKAGE_VERSION = 0.1.3 -PATH_SEPARATOR = : -QCODE_VERSION = 0.1.0 -QX_VERSION = 0:1:3 -SET_MAKE = -SHELL = /bin/sh -STRIP = -VERSION = 0.1.3 -abs_builddir = /Users/nader/Develop/qx/src -abs_srcdir = /Users/nader/Develop/qx/src -abs_top_builddir = /Users/nader/Develop/qx/src -abs_top_srcdir = /Users/nader/Develop/qx/src -ac_ct_CC = gcc -ac_ct_CXX = g++ -am__include = include -am__leading_dot = . -am__quote = -am__tar = $${TAR-tar} chof - "$$tardir" -am__untar = $${TAR-tar} xf - -bindir = ${exec_prefix}/bin -build_alias = -builddir = . -datadir = ${datarootdir} -datarootdir = ${prefix}/share -docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} -dvidir = ${docdir} -exec_prefix = ${prefix} -host_alias = -htmldir = ${docdir} -includedir = ${prefix}/include -infodir = ${datarootdir}/info -install_sh = ${SHELL} /Users/nader/Develop/qx/src/install-sh -libdir = ${exec_prefix}/lib -libexecdir = ${exec_prefix}/libexec -localedir = ${datarootdir}/locale -localstatedir = ${prefix}/var -mandir = ${datarootdir}/man -mkdir_p = $(MKDIR_P) -oldincludedir = /usr/include -pdfdir = ${docdir} -prefix = /usr/local -program_transform_name = s,x,x, -psdir = ${docdir} -sbindir = ${exec_prefix}/sbin -sharedstatedir = ${prefix}/com -srcdir = . -sysconfdir = ${prefix}/etc -target_alias = -top_build_prefix = -top_builddir = . -top_srcdir = . -AUTOMAKE_OPTIONS = foreign subdir-objects - -#SUBDIRS = tools -ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -AM_CPPFLAGS = -std=c++11 -I. -I ./xpu-0.1.5/ -Wfatal-errors -DCG_BC -DQX_SPARSE_MV_MUL -DXPU_TIMER -D__BUILTIN_LINALG__ -O3 -XPU = -I ./xpu-0.1.5/ -FLAGS = --pedantic -std=c++11 -O3 -I. -I ./xpu-0.1.5/ -Wfatal-errors -DCG_BC -DQX_SPARSE_MV_MUL -DXPU_TIMER # $(XPU) -Wall -qx_simulator_SOURCES = ./tools/simulator.cc -ninja_star_simulator_SOURCES = ./tools/ninja_star_simulator.cc -all: config.h - $(MAKE) $(AM_MAKEFLAGS) all-am - -.SUFFIXES: -.SUFFIXES: .cc .o .obj -am--refresh: Makefile - @: -$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) - @for dep in $?; do \ - case '$(am__configure_deps)' in \ - *$$dep*) \ - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ - $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ - && exit 0; \ - exit 1;; \ - esac; \ - done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ - $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - @case '$?' in \ - *config.status*) \ - echo ' $(SHELL) ./config.status'; \ - $(SHELL) ./config.status;; \ - *) \ - echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ - esac; - -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) - $(SHELL) ./config.status --recheck - -$(top_srcdir)/configure: $(am__configure_deps) - $(am__cd) $(srcdir) && $(AUTOCONF) -$(ACLOCAL_M4): $(am__aclocal_m4_deps) - $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -$(am__aclocal_m4_deps): - -config.h: stamp-h1 - @test -f $@ || rm -f stamp-h1 - @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 - -stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status - @rm -f stamp-h1 - cd $(top_builddir) && $(SHELL) ./config.status config.h -$(srcdir)/config.h.in: $(am__configure_deps) - ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) - rm -f stamp-h1 - touch $@ - -distclean-hdr: - -rm -f config.h stamp-h1 -qx.pc: $(top_builddir)/config.status $(srcdir)/qx.pc.in - cd $(top_builddir) && $(SHELL) ./config.status $@ -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ - fi; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p \ - ; then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' \ - -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) files[d] = files[d] " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' \ - `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(bindir)" && rm -f $$files - -clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) -tools/$(am__dirstamp): - @$(MKDIR_P) ./tools - @: > tools/$(am__dirstamp) -tools/$(DEPDIR)/$(am__dirstamp): - @$(MKDIR_P) ./tools/$(DEPDIR) - @: > tools/$(DEPDIR)/$(am__dirstamp) -./tools/ninja_star_simulator.$(OBJEXT): tools/$(am__dirstamp) \ - tools/$(DEPDIR)/$(am__dirstamp) - -ninja_star_simulator$(EXEEXT): $(ninja_star_simulator_OBJECTS) $(ninja_star_simulator_DEPENDENCIES) $(EXTRA_ninja_star_simulator_DEPENDENCIES) - @rm -f ninja_star_simulator$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(ninja_star_simulator_OBJECTS) $(ninja_star_simulator_LDADD) $(LIBS) -./tools/simulator.$(OBJEXT): tools/$(am__dirstamp) \ - tools/$(DEPDIR)/$(am__dirstamp) - -qx_simulator$(EXEEXT): $(qx_simulator_OBJECTS) $(qx_simulator_DEPENDENCIES) $(EXTRA_qx_simulator_DEPENDENCIES) - @rm -f qx_simulator$(EXEEXT) - $(AM_V_CXXLD)$(CXXLINK) $(qx_simulator_OBJECTS) $(qx_simulator_LDADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) - -rm -f ./tools/*.$(OBJEXT) - -distclean-compile: - -rm -f *.tab.c - -include ./tools/$(DEPDIR)/ninja_star_simulator.Po -include ./tools/$(DEPDIR)/simulator.Po - -.cc.o: - $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ - $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ - $(am__mv) $$depbase.Tpo $$depbase.Po -# $(AM_V_CXX)source='$<' object='$@' libtool=no \ -# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ -# $(AM_V_CXX_no)$(CXXCOMPILE) -c -o $@ $< - -.cc.obj: - $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ - $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ - $(am__mv) $$depbase.Tpo $$depbase.Po -# $(AM_V_CXX)source='$<' object='$@' libtool=no \ -# DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ -# $(AM_V_CXX_no)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` - -ID: $(am__tagged_files) - $(am__define_uniq_tagged_files); mkid -fID $$unique -tags: tags-am -TAGS: tags - -tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - set x; \ - here=`pwd`; \ - $(am__define_uniq_tagged_files); \ - shift; \ - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ - test -n "$$unique" || unique=$$empty_fix; \ - if test $$# -gt 0; then \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - "$$@" $$unique; \ - else \ - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$unique; \ - fi; \ - fi -ctags: ctags-am - -CTAGS: ctags -ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) - $(am__define_uniq_tagged_files); \ - test -z "$(CTAGS_ARGS)$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && $(am__cd) $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) "$$here" -cscope: cscope.files - test ! -s cscope.files \ - || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) -clean-cscope: - -rm -f cscope.files -cscope.files: clean-cscope cscopelist -cscopelist: cscopelist-am - -cscopelist-am: $(am__tagged_files) - list='$(am__tagged_files)'; \ - case "$(srcdir)" in \ - [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ - *) sdir=$(subdir)/$(srcdir) ;; \ - esac; \ - for i in $$list; do \ - if test -f "$$i"; then \ - echo "$(subdir)/$$i"; \ - else \ - echo "$$sdir/$$i"; \ - fi; \ - done >> $(top_builddir)/cscope.files - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags - -rm -f cscope.out cscope.in.out cscope.po.out cscope.files - -distdir: $(DISTFILES) - $(am__remove_distdir) - test -d "$(distdir)" || mkdir "$(distdir)" - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ - list='$(DISTFILES)'; \ - dist_files=`for file in $$list; do echo $$file; done | \ - sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ - case $$dist_files in \ - */*) $(MKDIR_P) `echo "$$dist_files" | \ - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ - sort -u` ;; \ - esac; \ - for file in $$dist_files; do \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - if test -d $$d/$$file; then \ - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test -d "$(distdir)/$$file"; then \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ - fi; \ - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ - else \ - test -f "$(distdir)/$$file" \ - || cp -p $$d/$$file "$(distdir)/$$file" \ - || exit 1; \ - fi; \ - done - -test -n "$(am__skip_mode_fix)" \ - || find "$(distdir)" -type d ! -perm -755 \ - -exec chmod u+rwx,go+rx {} \; -o \ - ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ - ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ - || chmod -R a+r "$(distdir)" -dist-gzip: distdir - tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz - $(am__post_remove_distdir) - -dist-bzip2: distdir - tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 - $(am__post_remove_distdir) - -dist-lzip: distdir - tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz - $(am__post_remove_distdir) - -dist-xz: distdir - tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz - $(am__post_remove_distdir) - -dist-tarZ: distdir - @echo WARNING: "Support for distribution archives compressed with" \ - "legacy program 'compress' is deprecated." >&2 - @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 - tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z - $(am__post_remove_distdir) - -dist-shar: distdir - @echo WARNING: "Support for shar distribution archives is" \ - "deprecated." >&2 - @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 - shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz - $(am__post_remove_distdir) - -dist-zip: distdir - -rm -f $(distdir).zip - zip -rq $(distdir).zip $(distdir) - $(am__post_remove_distdir) - -dist dist-all: - $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' - $(am__post_remove_distdir) - -# This target untars the dist file and tries a VPATH configuration. Then -# it guarantees that the distribution is self-contained by making another -# tarfile. -distcheck: dist - case '$(DIST_ARCHIVES)' in \ - *.tar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ - *.tar.bz2*) \ - bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ - *.tar.lz*) \ - lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ - *.tar.xz*) \ - xz -dc $(distdir).tar.xz | $(am__untar) ;;\ - *.tar.Z*) \ - uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ - *.shar.gz*) \ - GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ - *.zip*) \ - unzip $(distdir).zip ;;\ - esac - chmod -R a-w $(distdir) - chmod u+w $(distdir) - mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst - chmod a-w $(distdir) - test -d $(distdir)/_build || exit 0; \ - dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ - && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ - && am__cwd=`pwd` \ - && $(am__cd) $(distdir)/_build/sub \ - && ../../configure \ - $(AM_DISTCHECK_CONFIGURE_FLAGS) \ - $(DISTCHECK_CONFIGURE_FLAGS) \ - --srcdir=../.. --prefix="$$dc_install_base" \ - && $(MAKE) $(AM_MAKEFLAGS) \ - && $(MAKE) $(AM_MAKEFLAGS) dvi \ - && $(MAKE) $(AM_MAKEFLAGS) check \ - && $(MAKE) $(AM_MAKEFLAGS) install \ - && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ - distuninstallcheck \ - && chmod -R a-w "$$dc_install_base" \ - && ({ \ - (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ - && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ - distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ - } || { rm -rf "$$dc_destdir"; exit 1; }) \ - && rm -rf "$$dc_destdir" \ - && $(MAKE) $(AM_MAKEFLAGS) dist \ - && rm -rf $(DIST_ARCHIVES) \ - && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ - && cd "$$am__cwd" \ - || exit 1 - $(am__post_remove_distdir) - @(echo "$(distdir) archives ready for distribution: "; \ - list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ - sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' -distuninstallcheck: - @test -n '$(distuninstallcheck_dir)' || { \ - echo 'ERROR: trying to run $@ with an empty' \ - '$$(distuninstallcheck_dir)' >&2; \ - exit 1; \ - }; \ - $(am__cd) '$(distuninstallcheck_dir)' || { \ - echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ - exit 1; \ - }; \ - test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ - || { echo "ERROR: files left after uninstall:" ; \ - if test -n "$(DESTDIR)"; then \ - echo " (check DESTDIR support)"; \ - fi ; \ - $(distuninstallcheck_listfiles) ; \ - exit 1; } >&2 -distcleancheck: distclean - @if test '$(srcdir)' = . ; then \ - echo "ERROR: distcleancheck can only run from a VPATH build" ; \ - exit 1 ; \ - fi - @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ - || { echo "ERROR: files left in build directory after distclean:" ; \ - $(distcleancheck_listfiles) ; \ - exit 1; } >&2 -check-am: all-am -check: check-am -all-am: Makefile $(PROGRAMS) config.h -installdirs: - for dir in "$(DESTDIR)$(bindir)"; do \ - test -z "$$dir" || $(MKDIR_P) "$$dir"; \ - done -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - if test -z '$(STRIP)'; then \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - install; \ - else \ - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ - "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ - fi -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -rm -f tools/$(DEPDIR)/$(am__dirstamp) - -rm -f tools/$(am__dirstamp) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -clean: clean-am - -clean-am: clean-binPROGRAMS clean-generic mostlyclean-am - -distclean: distclean-am - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf ./tools/$(DEPDIR) - -rm -f Makefile -distclean-am: clean-am distclean-compile distclean-generic \ - distclean-hdr distclean-tags - -dvi: dvi-am - -dvi-am: - -html: html-am - -html-am: - -info: info-am - -info-am: - -install-data-am: - -install-dvi: install-dvi-am - -install-dvi-am: - -install-exec-am: install-binPROGRAMS - -install-html: install-html-am - -install-html-am: - -install-info: install-info-am - -install-info-am: - -install-man: - -install-pdf: install-pdf-am - -install-pdf-am: - -install-ps: install-ps-am - -install-ps-am: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf $(top_srcdir)/autom4te.cache - -rm -rf ./tools/$(DEPDIR) - -rm -f Makefile -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-binPROGRAMS - -.MAKE: all install-am install-strip - -.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \ - clean-binPROGRAMS clean-cscope clean-generic cscope \ - cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ - dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ - distcheck distclean distclean-compile distclean-generic \ - distclean-hdr distclean-tags distcleancheck distdir \ - distuninstallcheck dvi dvi-am html html-am info info-am \ - install install-am install-binPROGRAMS install-data \ - install-data-am install-dvi install-dvi-am install-exec \ - install-exec-am install-html install-html-am install-info \ - install-info-am install-man install-pdf install-pdf-am \ - install-ps install-ps-am install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ - uninstall-am uninstall-binPROGRAMS - -.PRECIOUS: Makefile - - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: diff --git a/src/config.h b/src/config.h deleted file mode 100644 index a2899099..00000000 --- a/src/config.h +++ /dev/null @@ -1,99 +0,0 @@ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define to 1 if you have the header file. */ -#define HAVE_FCNTL_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_INTTYPES_H 1 - -/* Define to 1 if you have the `pthread' library (-lpthread). */ -#define HAVE_LIBPTHREAD 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_MACH_MACH_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_MEMORY_H 1 - -/* Define to 1 if you have the `pow' function. */ -#define HAVE_POW 1 - -/* Define to 1 if you have the `sqrt' function. */ -#define HAVE_SQRT 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRINGS_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_UNISTD_H 1 - -/* Define to 1 if the system has the type `_Bool'. */ -#define HAVE__BOOL 1 - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "nader.khammassi@gmail.com" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "qx-simulator" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "qx-simulator 0.1.3" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "qx-simulator" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "0.1.3" - -/* Define to 1 if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Define for Solaris 2.5.1 so the uint32_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT32_T */ - -/* Define for Solaris 2.5.1 so the uint64_t typedef from , - , or is not used. If the typedef were allowed, the - #define below would cause a syntax error. */ -/* #undef _UINT64_T */ - -/* Define to `__inline__' or `__inline' if that's what the C compiler - calls it, or to nothing if 'inline' is not supported under any name. */ -#ifndef __cplusplus -/* #undef inline */ -#endif - -/* Define to the type of a signed integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef int32_t */ - -/* Define to `unsigned int' if does not define. */ -/* #undef size_t */ - -/* Define to the type of an unsigned integer type of width exactly 32 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint32_t */ - -/* Define to the type of an unsigned integer type of width exactly 64 bits if - such a type exists and the standard includes do not define it. */ -/* #undef uint64_t */ diff --git a/src/config.log b/src/config.log deleted file mode 100644 index c3dd352b..00000000 --- a/src/config.log +++ /dev/null @@ -1,1120 +0,0 @@ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by qx-simulator configure 0.1.3, which was -generated by GNU Autoconf 2.69. Invocation command line was - - $ ./configure - -## --------- ## -## Platform. ## -## --------- ## - -hostname = Naders-MacBook-Air.local -uname -m = x86_64 -uname -r = 14.5.0 -uname -s = Darwin -uname -v = Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 - -/usr/bin/uname -p = i386 -/bin/uname -X = unknown - -/bin/arch = unknown -/usr/bin/arch -k = unknown -/usr/convex/getsysinfo = unknown -/usr/bin/hostinfo = Mach kernel version: - Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 -Kernel configured for up to 4 processors. -2 processors are physically available. -4 processors are logically available. -Processor type: x86_64h (Intel x86-64h Haswell) -Processors active: 0 1 2 3 -Primary memory available: 8.00 gigabytes -Default processor set: 255 tasks, 1328 threads, 4 processors -Load average: 1.35, Mach factor: 2.64 -/bin/machine = unknown -/usr/bin/oslevel = unknown -/bin/universe = unknown - -PATH: /usr/local/bin -PATH: /usr/bin -PATH: /bin -PATH: /usr/sbin -PATH: /sbin -PATH: /opt/X11/bin - - -## ----------- ## -## Core tests. ## -## ----------- ## - -configure:2423: checking for a BSD-compatible install -configure:2491: result: /usr/bin/install -c -configure:2502: checking whether build environment is sane -configure:2557: result: yes -configure:2708: checking for a thread-safe mkdir -p -configure:2747: result: ./install-sh -c -d -configure:2754: checking for gawk -configure:2784: result: no -configure:2754: checking for mawk -configure:2784: result: no -configure:2754: checking for nawk -configure:2784: result: no -configure:2754: checking for awk -configure:2770: found /usr/bin/awk -configure:2781: result: awk -configure:2792: checking whether make sets $(MAKE) -configure:2814: result: yes -configure:2843: checking whether make supports nested variables -configure:2860: result: yes -configure:3041: checking for g++ -configure:3057: found /usr/bin/g++ -configure:3068: result: g++ -configure:3095: checking for C++ compiler version -configure:3104: g++ --version >&5 -Apple LLVM version 7.0.0 (clang-700.1.76) -Target: x86_64-apple-darwin14.5.0 -Thread model: posix -Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 -configure:3115: $? = 0 -configure:3104: g++ -v >&5 -Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 -Apple LLVM version 7.0.0 (clang-700.1.76) -Target: x86_64-apple-darwin14.5.0 -Thread model: posix -configure:3115: $? = 0 -configure:3104: g++ -V >&5 -clang: error: argument to '-V' is missing (expected 1 value) -clang: error: no input files -configure:3115: $? = 1 -configure:3104: g++ -qversion >&5 -clang: error: unknown argument: '-qversion' -clang: error: no input files -configure:3115: $? = 1 -configure:3135: checking whether the C++ compiler works -configure:3157: g++ conftest.cpp >&5 -configure:3161: $? = 0 -configure:3209: result: yes -configure:3212: checking for C++ compiler default output file name -configure:3214: result: a.out -configure:3220: checking for suffix of executables -configure:3227: g++ -o conftest conftest.cpp >&5 -configure:3231: $? = 0 -configure:3253: result: -configure:3275: checking whether we are cross compiling -configure:3283: g++ -o conftest conftest.cpp >&5 -configure:3287: $? = 0 -configure:3294: ./conftest -configure:3298: $? = 0 -configure:3313: result: no -configure:3318: checking for suffix of object files -configure:3340: g++ -c conftest.cpp >&5 -configure:3344: $? = 0 -configure:3365: result: o -configure:3369: checking whether we are using the GNU C++ compiler -configure:3388: g++ -c conftest.cpp >&5 -configure:3388: $? = 0 -configure:3397: result: yes -configure:3406: checking whether g++ accepts -g -configure:3426: g++ -c -g conftest.cpp >&5 -configure:3426: $? = 0 -configure:3467: result: yes -configure:3501: checking for style of include used by make -configure:3529: result: GNU -configure:3555: checking dependency style of g++ -configure:3666: result: gcc3 -configure:3729: checking for gcc -configure:3745: found /usr/bin/gcc -configure:3756: result: gcc -configure:3985: checking for C compiler version -configure:3994: gcc --version >&5 -Apple LLVM version 7.0.0 (clang-700.1.76) -Target: x86_64-apple-darwin14.5.0 -Thread model: posix -Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 -configure:4005: $? = 0 -configure:3994: gcc -v >&5 -Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 -Apple LLVM version 7.0.0 (clang-700.1.76) -Target: x86_64-apple-darwin14.5.0 -Thread model: posix -configure:4005: $? = 0 -configure:3994: gcc -V >&5 -clang: error: argument to '-V' is missing (expected 1 value) -clang: error: no input files -configure:4005: $? = 1 -configure:3994: gcc -qversion >&5 -clang: error: unknown argument: '-qversion' -clang: error: no input files -configure:4005: $? = 1 -configure:4009: checking whether we are using the GNU C compiler -configure:4028: gcc -c conftest.c >&5 -configure:4028: $? = 0 -configure:4037: result: yes -configure:4046: checking whether gcc accepts -g -configure:4066: gcc -c -g conftest.c >&5 -configure:4066: $? = 0 -configure:4107: result: yes -configure:4124: checking for gcc option to accept ISO C89 -configure:4187: gcc -c -g -O2 conftest.c >&5 -configure:4187: $? = 0 -configure:4200: result: none needed -configure:4225: checking whether gcc understands -c and -o together -configure:4247: gcc -c conftest.c -o conftest2.o -configure:4250: $? = 0 -configure:4247: gcc -c conftest.c -o conftest2.o -configure:4250: $? = 0 -configure:4262: result: yes -configure:4281: checking dependency style of gcc -configure:4392: result: gcc3 -configure:4410: checking for pthread_create in -lpthread -configure:4435: gcc -o conftest -g -O2 conftest.c -lpthread >&5 -configure:4435: $? = 0 -configure:4444: result: yes -configure:4455: checking for pthread_join in -lpthread -configure:4480: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread >&5 -configure:4480: $? = 0 -configure:4489: result: yes -configure:4500: checking for pthread_exit in -lpthread -configure:4525: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread >&5 -configure:4525: $? = 0 -configure:4534: result: yes -configure:4545: checking for pthread_barrierattr_init in -lpthread -configure:4570: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread >&5 -Undefined symbols for architecture x86_64: - "_pthread_barrierattr_init", referenced from: - _main in conftest-279fc5.o -ld: symbol(s) not found for architecture x86_64 -clang: error: linker command failed with exit code 1 (use -v to see invocation) -configure:4570: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "qx-simulator" -| #define PACKAGE_TARNAME "qx-simulator" -| #define PACKAGE_VERSION "0.1.3" -| #define PACKAGE_STRING "qx-simulator 0.1.3" -| #define PACKAGE_BUGREPORT "nader.khammassi@gmail.com" -| #define PACKAGE_URL "" -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| /* end confdefs.h. */ -| -| /* Override any GCC internal prototype to avoid an error. -| Use char because int might match the return type of a GCC -| builtin and then its argument prototype would still apply. */ -| #ifdef __cplusplus -| extern "C" -| #endif -| char pthread_barrierattr_init (); -| int -| main () -| { -| return pthread_barrierattr_init (); -| ; -| return 0; -| } -configure:4579: result: no -configure:4590: checking for pthread_barrier_init in -lpthread -configure:4615: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread >&5 -Undefined symbols for architecture x86_64: - "_pthread_barrier_init", referenced from: - _main in conftest-6cc8e5.o -ld: symbol(s) not found for architecture x86_64 -clang: error: linker command failed with exit code 1 (use -v to see invocation) -configure:4615: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "qx-simulator" -| #define PACKAGE_TARNAME "qx-simulator" -| #define PACKAGE_VERSION "0.1.3" -| #define PACKAGE_STRING "qx-simulator 0.1.3" -| #define PACKAGE_BUGREPORT "nader.khammassi@gmail.com" -| #define PACKAGE_URL "" -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| /* end confdefs.h. */ -| -| /* Override any GCC internal prototype to avoid an error. -| Use char because int might match the return type of a GCC -| builtin and then its argument prototype would still apply. */ -| #ifdef __cplusplus -| extern "C" -| #endif -| char pthread_barrier_init (); -| int -| main () -| { -| return pthread_barrier_init (); -| ; -| return 0; -| } -configure:4624: result: no -configure:4635: checking for pthread_mutex_init in -lpthread -configure:4660: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread >&5 -configure:4660: $? = 0 -configure:4669: result: yes -configure:4680: checking for pthread_mutex_destroy in -lpthread -configure:4705: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread -lpthread >&5 -configure:4705: $? = 0 -configure:4714: result: yes -configure:4725: checking for pthread_mutex_lock in -lpthread -configure:4750: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread >&5 -configure:4750: $? = 0 -configure:4759: result: yes -configure:4770: checking for pthread_mutex_unlock in -lpthread -configure:4795: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread >&5 -configure:4795: $? = 0 -configure:4804: result: yes -configure:4815: checking for pthread_cond_init in -lpthread -configure:4840: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread >&5 -configure:4840: $? = 0 -configure:4849: result: yes -configure:4860: checking for pthread_cond_destroy in -lpthread -configure:4885: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread >&5 -configure:4885: $? = 0 -configure:4894: result: yes -configure:4905: checking for pthread_cond_destroy in -lpthread -configure:4939: result: yes -configure:4950: checking for pthread_cond_broadcast in -lpthread -configure:4975: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread >&5 -configure:4975: $? = 0 -configure:4984: result: yes -configure:4995: checking for pthread_cond_wait in -lpthread -configure:5020: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread >&5 -configure:5020: $? = 0 -configure:5029: result: yes -configure:5040: checking for pthread_cond_signal in -lpthread -configure:5065: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread >&5 -configure:5065: $? = 0 -configure:5074: result: yes -configure:5088: checking for pow -configure:5088: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread >&5 -conftest.c:45:6: warning: incompatible redeclaration of library function 'pow' [-Wincompatible-library-redeclaration] -char pow (); - ^ -conftest.c:45:6: note: 'pow' is a builtin with type 'double (double, double)' -1 warning generated. -configure:5088: $? = 0 -configure:5088: result: yes -configure:5099: checking for sqrt -configure:5099: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread >&5 -conftest.c:46:6: warning: incompatible redeclaration of library function 'sqrt' [-Wincompatible-library-redeclaration] -char sqrt (); - ^ -conftest.c:46:6: note: 'sqrt' is a builtin with type 'double (double)' -1 warning generated. -configure:5099: $? = 0 -configure:5099: result: yes -configure:5114: checking how to run the C preprocessor -configure:5145: gcc -E conftest.c -configure:5145: $? = 0 -configure:5159: gcc -E conftest.c -conftest.c:24:10: fatal error: 'ac_nonexistent.h' file not found -#include - ^ -1 error generated. -configure:5159: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "qx-simulator" -| #define PACKAGE_TARNAME "qx-simulator" -| #define PACKAGE_VERSION "0.1.3" -| #define PACKAGE_STRING "qx-simulator 0.1.3" -| #define PACKAGE_BUGREPORT "nader.khammassi@gmail.com" -| #define PACKAGE_URL "" -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_POW 1 -| #define HAVE_SQRT 1 -| /* end confdefs.h. */ -| #include -configure:5184: result: gcc -E -configure:5204: gcc -E conftest.c -configure:5204: $? = 0 -configure:5218: gcc -E conftest.c -conftest.c:24:10: fatal error: 'ac_nonexistent.h' file not found -#include - ^ -1 error generated. -configure:5218: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "qx-simulator" -| #define PACKAGE_TARNAME "qx-simulator" -| #define PACKAGE_VERSION "0.1.3" -| #define PACKAGE_STRING "qx-simulator 0.1.3" -| #define PACKAGE_BUGREPORT "nader.khammassi@gmail.com" -| #define PACKAGE_URL "" -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_POW 1 -| #define HAVE_SQRT 1 -| /* end confdefs.h. */ -| #include -configure:5247: checking for grep that handles long lines and -e -configure:5305: result: /usr/bin/grep -configure:5310: checking for egrep -configure:5372: result: /usr/bin/grep -E -configure:5377: checking for ANSI C header files -configure:5397: gcc -c -g -O2 conftest.c >&5 -configure:5397: $? = 0 -configure:5470: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread >&5 -configure:5470: $? = 0 -configure:5470: ./conftest -configure:5470: $? = 0 -configure:5481: result: yes -configure:5494: checking for sys/types.h -configure:5494: gcc -c -g -O2 conftest.c >&5 -configure:5494: $? = 0 -configure:5494: result: yes -configure:5494: checking for sys/stat.h -configure:5494: gcc -c -g -O2 conftest.c >&5 -configure:5494: $? = 0 -configure:5494: result: yes -configure:5494: checking for stdlib.h -configure:5494: gcc -c -g -O2 conftest.c >&5 -configure:5494: $? = 0 -configure:5494: result: yes -configure:5494: checking for string.h -configure:5494: gcc -c -g -O2 conftest.c >&5 -configure:5494: $? = 0 -configure:5494: result: yes -configure:5494: checking for memory.h -configure:5494: gcc -c -g -O2 conftest.c >&5 -configure:5494: $? = 0 -configure:5494: result: yes -configure:5494: checking for strings.h -configure:5494: gcc -c -g -O2 conftest.c >&5 -configure:5494: $? = 0 -configure:5494: result: yes -configure:5494: checking for inttypes.h -configure:5494: gcc -c -g -O2 conftest.c >&5 -configure:5494: $? = 0 -configure:5494: result: yes -configure:5494: checking for stdint.h -configure:5494: gcc -c -g -O2 conftest.c >&5 -configure:5494: $? = 0 -configure:5494: result: yes -configure:5494: checking for unistd.h -configure:5494: gcc -c -g -O2 conftest.c >&5 -configure:5494: $? = 0 -configure:5494: result: yes -configure:5508: checking fcntl.h usability -configure:5508: gcc -c -g -O2 conftest.c >&5 -configure:5508: $? = 0 -configure:5508: result: yes -configure:5508: checking fcntl.h presence -configure:5508: gcc -E conftest.c -configure:5508: $? = 0 -configure:5508: result: yes -configure:5508: checking for fcntl.h -configure:5508: result: yes -configure:5520: checking mach/mach.h usability -configure:5520: gcc -c -g -O2 conftest.c >&5 -configure:5520: $? = 0 -configure:5520: result: yes -configure:5520: checking mach/mach.h presence -configure:5520: gcc -E conftest.c -configure:5520: $? = 0 -configure:5520: result: yes -configure:5520: checking for mach/mach.h -configure:5520: result: yes -configure:5532: checking for stdint.h -configure:5532: result: yes -configure:5544: checking for strings.h -configure:5544: result: yes -configure:5556: checking for unistd.h -configure:5556: result: yes -configure:5567: checking for stdbool.h that conforms to C99 -configure:5634: gcc -c -g -O2 conftest.c >&5 -conftest.c:88:24: warning: address of 's' will always evaluate to 'true' [-Wpointer-bool-conversion] - bool e = &s; - ~ ^ -conftest.c:92:23: warning: address of array 'a' will always evaluate to 'true' [-Wpointer-bool-conversion] - return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l - ~^ -conftest.c:92:28: warning: address of array 'b' will always evaluate to 'true' [-Wpointer-bool-conversion] - return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l - ~^ -conftest.c:92:33: warning: address of array 'c' will always evaluate to 'true' [-Wpointer-bool-conversion] - return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l - ~^ -conftest.c:92:38: warning: address of array 'd' will always evaluate to 'true' [-Wpointer-bool-conversion] - return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l - ~^ -conftest.c:92:48: warning: address of array 'f' will always evaluate to 'true' [-Wpointer-bool-conversion] - return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l - ~^ -conftest.c:92:53: warning: address of array 'g' will always evaluate to 'true' [-Wpointer-bool-conversion] - return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l - ~^ -conftest.c:92:58: warning: address of array 'h' will always evaluate to 'true' [-Wpointer-bool-conversion] - return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l - ~^ -conftest.c:92:63: warning: address of array 'i' will always evaluate to 'true' [-Wpointer-bool-conversion] - return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l - ~^ -conftest.c:93:30: warning: address of array 'n' will always evaluate to 'true' [-Wpointer-bool-conversion] - ~^ -conftest.c:93:35: warning: address of array 'o' will always evaluate to 'true' [-Wpointer-bool-conversion] - ~^ -conftest.c:93:40: warning: address of array 'p' will always evaluate to 'true' [-Wpointer-bool-conversion] - ~^ -12 warnings generated. -configure:5634: $? = 0 -configure:5641: result: yes -configure:5643: checking for _Bool -configure:5643: gcc -c -g -O2 conftest.c >&5 -configure:5643: $? = 0 -configure:5643: gcc -c -g -O2 conftest.c >&5 -conftest.c:75:20: error: expected expression -if (sizeof ((_Bool))) - ^ -1 error generated. -configure:5643: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "qx-simulator" -| #define PACKAGE_TARNAME "qx-simulator" -| #define PACKAGE_VERSION "0.1.3" -| #define PACKAGE_STRING "qx-simulator 0.1.3" -| #define PACKAGE_BUGREPORT "nader.khammassi@gmail.com" -| #define PACKAGE_URL "" -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_POW 1 -| #define HAVE_SQRT 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_MACH_MACH_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_UNISTD_H 1 -| /* end confdefs.h. */ -| #include -| #ifdef HAVE_SYS_TYPES_H -| # include -| #endif -| #ifdef HAVE_SYS_STAT_H -| # include -| #endif -| #ifdef STDC_HEADERS -| # include -| # include -| #else -| # ifdef HAVE_STDLIB_H -| # include -| # endif -| #endif -| #ifdef HAVE_STRING_H -| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H -| # include -| # endif -| # include -| #endif -| #ifdef HAVE_STRINGS_H -| # include -| #endif -| #ifdef HAVE_INTTYPES_H -| # include -| #endif -| #ifdef HAVE_STDINT_H -| # include -| #endif -| #ifdef HAVE_UNISTD_H -| # include -| #endif -| int -| main () -| { -| if (sizeof ((_Bool))) -| return 0; -| ; -| return 0; -| } -configure:5643: result: yes -configure:5654: checking for inline -configure:5670: gcc -c -g -O2 conftest.c >&5 -configure:5670: $? = 0 -configure:5678: result: inline -configure:5696: checking for error_at_line -configure:5712: gcc -o conftest -g -O2 conftest.c -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread >&5 -conftest.c:40:10: fatal error: 'error.h' file not found -#include - ^ -1 error generated. -configure:5712: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "qx-simulator" -| #define PACKAGE_TARNAME "qx-simulator" -| #define PACKAGE_VERSION "0.1.3" -| #define PACKAGE_STRING "qx-simulator 0.1.3" -| #define PACKAGE_BUGREPORT "nader.khammassi@gmail.com" -| #define PACKAGE_URL "" -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_POW 1 -| #define HAVE_SQRT 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_MACH_MACH_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE__BOOL 1 -| /* end confdefs.h. */ -| #include -| int -| main () -| { -| error_at_line (0, 0, "", 0, "an error occurred"); -| ; -| return 0; -| } -configure:5720: result: no -configure:5731: checking for int32_t -configure:5731: gcc -c -g -O2 conftest.c >&5 -configure:5731: $? = 0 -configure:5731: gcc -c -g -O2 conftest.c >&5 -conftest.c:77:24: error: 'test_array' declared as an array with a negative size -static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -1 error generated. -configure:5731: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "qx-simulator" -| #define PACKAGE_TARNAME "qx-simulator" -| #define PACKAGE_VERSION "0.1.3" -| #define PACKAGE_STRING "qx-simulator 0.1.3" -| #define PACKAGE_BUGREPORT "nader.khammassi@gmail.com" -| #define PACKAGE_URL "" -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_POW 1 -| #define HAVE_SQRT 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_MACH_MACH_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE__BOOL 1 -| /* end confdefs.h. */ -| #include -| #ifdef HAVE_SYS_TYPES_H -| # include -| #endif -| #ifdef HAVE_SYS_STAT_H -| # include -| #endif -| #ifdef STDC_HEADERS -| # include -| # include -| #else -| # ifdef HAVE_STDLIB_H -| # include -| # endif -| #endif -| #ifdef HAVE_STRING_H -| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H -| # include -| # endif -| # include -| #endif -| #ifdef HAVE_STRINGS_H -| # include -| #endif -| #ifdef HAVE_INTTYPES_H -| # include -| #endif -| #ifdef HAVE_STDINT_H -| # include -| #endif -| #ifdef HAVE_UNISTD_H -| # include -| #endif -| enum { N = 32 / 2 - 1 }; -| int -| main () -| { -| static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) -| < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; -| test_array [0] = 0; -| return test_array [0]; -| -| ; -| return 0; -| } -configure:5731: result: yes -configure:5742: checking for size_t -configure:5742: gcc -c -g -O2 conftest.c >&5 -configure:5742: $? = 0 -configure:5742: gcc -c -g -O2 conftest.c >&5 -conftest.c:76:21: error: expected expression -if (sizeof ((size_t))) - ^ -1 error generated. -configure:5742: $? = 1 -configure: failed program was: -| /* confdefs.h */ -| #define PACKAGE_NAME "qx-simulator" -| #define PACKAGE_TARNAME "qx-simulator" -| #define PACKAGE_VERSION "0.1.3" -| #define PACKAGE_STRING "qx-simulator 0.1.3" -| #define PACKAGE_BUGREPORT "nader.khammassi@gmail.com" -| #define PACKAGE_URL "" -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_LIBPTHREAD 1 -| #define HAVE_POW 1 -| #define HAVE_SQRT 1 -| #define STDC_HEADERS 1 -| #define HAVE_SYS_TYPES_H 1 -| #define HAVE_SYS_STAT_H 1 -| #define HAVE_STDLIB_H 1 -| #define HAVE_STRING_H 1 -| #define HAVE_MEMORY_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_INTTYPES_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE_FCNTL_H 1 -| #define HAVE_MACH_MACH_H 1 -| #define HAVE_STDINT_H 1 -| #define HAVE_STRINGS_H 1 -| #define HAVE_UNISTD_H 1 -| #define HAVE__BOOL 1 -| /* end confdefs.h. */ -| #include -| #ifdef HAVE_SYS_TYPES_H -| # include -| #endif -| #ifdef HAVE_SYS_STAT_H -| # include -| #endif -| #ifdef STDC_HEADERS -| # include -| # include -| #else -| # ifdef HAVE_STDLIB_H -| # include -| # endif -| #endif -| #ifdef HAVE_STRING_H -| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H -| # include -| # endif -| # include -| #endif -| #ifdef HAVE_STRINGS_H -| # include -| #endif -| #ifdef HAVE_INTTYPES_H -| # include -| #endif -| #ifdef HAVE_STDINT_H -| # include -| #endif -| #ifdef HAVE_UNISTD_H -| # include -| #endif -| int -| main () -| { -| if (sizeof ((size_t))) -| return 0; -| ; -| return 0; -| } -configure:5742: result: yes -configure:5753: checking for uint32_t -configure:5753: gcc -c -g -O2 conftest.c >&5 -configure:5753: $? = 0 -configure:5753: result: yes -configure:5767: checking for uint64_t -configure:5767: gcc -c -g -O2 conftest.c >&5 -configure:5767: $? = 0 -configure:5767: result: yes -configure:5838: checking for gcc -configure:5865: result: gcc -configure:6094: checking for C compiler version -configure:6103: gcc --version >&5 -Apple LLVM version 7.0.0 (clang-700.1.76) -Target: x86_64-apple-darwin14.5.0 -Thread model: posix -Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 -configure:6114: $? = 0 -configure:6103: gcc -v >&5 -Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 -Apple LLVM version 7.0.0 (clang-700.1.76) -Target: x86_64-apple-darwin14.5.0 -Thread model: posix -configure:6114: $? = 0 -configure:6103: gcc -V >&5 -clang: error: argument to '-V' is missing (expected 1 value) -clang: error: no input files -configure:6114: $? = 1 -configure:6103: gcc -qversion >&5 -clang: error: unknown argument: '-qversion' -clang: error: no input files -configure:6114: $? = 1 -configure:6118: checking whether we are using the GNU C compiler -configure:6146: result: yes -configure:6155: checking whether gcc accepts -g -configure:6216: result: yes -configure:6233: checking for gcc option to accept ISO C89 -configure:6309: result: none needed -configure:6334: checking whether gcc understands -c and -o together -configure:6371: result: yes -configure:6390: checking dependency style of gcc -configure:6501: result: gcc3 -configure:6626: checking that generated files are newer than configure -configure:6632: result: done -configure:6663: creating ./config.status - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by qx-simulator config.status 0.1.3, which was -generated by GNU Autoconf 2.69. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status - -on Naders-MacBook-Air.local - -config.status:880: creating Makefile -config.status:880: creating qx.pc -config.status:880: creating config.h -config.status:1061: config.h is unchanged -config.status:1109: executing depfiles commands - -## ---------------- ## -## Cache variables. ## -## ---------------- ## - -ac_cv_c_compiler_gnu=yes -ac_cv_c_inline=inline -ac_cv_c_int32_t=yes -ac_cv_c_uint32_t=yes -ac_cv_c_uint64_t=yes -ac_cv_cxx_compiler_gnu=yes -ac_cv_env_CCC_set= -ac_cv_env_CCC_value= -ac_cv_env_CC_set= -ac_cv_env_CC_value= -ac_cv_env_CFLAGS_set= -ac_cv_env_CFLAGS_value= -ac_cv_env_CPPFLAGS_set= -ac_cv_env_CPPFLAGS_value= -ac_cv_env_CPP_set= -ac_cv_env_CPP_value= -ac_cv_env_CXXFLAGS_set= -ac_cv_env_CXXFLAGS_value= -ac_cv_env_CXX_set= -ac_cv_env_CXX_value= -ac_cv_env_LDFLAGS_set= -ac_cv_env_LDFLAGS_value= -ac_cv_env_LIBS_set= -ac_cv_env_LIBS_value= -ac_cv_env_build_alias_set= -ac_cv_env_build_alias_value= -ac_cv_env_host_alias_set= -ac_cv_env_host_alias_value= -ac_cv_env_target_alias_set= -ac_cv_env_target_alias_value= -ac_cv_func_pow=yes -ac_cv_func_sqrt=yes -ac_cv_header_fcntl_h=yes -ac_cv_header_inttypes_h=yes -ac_cv_header_mach_mach_h=yes -ac_cv_header_memory_h=yes -ac_cv_header_stdbool_h=yes -ac_cv_header_stdc=yes -ac_cv_header_stdint_h=yes -ac_cv_header_stdlib_h=yes -ac_cv_header_string_h=yes -ac_cv_header_strings_h=yes -ac_cv_header_sys_stat_h=yes -ac_cv_header_sys_types_h=yes -ac_cv_header_unistd_h=yes -ac_cv_lib_error_at_line=no -ac_cv_lib_pthread_pthread_barrier_init=no -ac_cv_lib_pthread_pthread_barrierattr_init=no -ac_cv_lib_pthread_pthread_cond_broadcast=yes -ac_cv_lib_pthread_pthread_cond_destroy=yes -ac_cv_lib_pthread_pthread_cond_init=yes -ac_cv_lib_pthread_pthread_cond_signal=yes -ac_cv_lib_pthread_pthread_cond_wait=yes -ac_cv_lib_pthread_pthread_create=yes -ac_cv_lib_pthread_pthread_exit=yes -ac_cv_lib_pthread_pthread_join=yes -ac_cv_lib_pthread_pthread_mutex_destroy=yes -ac_cv_lib_pthread_pthread_mutex_init=yes -ac_cv_lib_pthread_pthread_mutex_lock=yes -ac_cv_lib_pthread_pthread_mutex_unlock=yes -ac_cv_objext=o -ac_cv_path_EGREP='/usr/bin/grep -E' -ac_cv_path_GREP=/usr/bin/grep -ac_cv_path_install='/usr/bin/install -c' -ac_cv_prog_AWK=awk -ac_cv_prog_CPP='gcc -E' -ac_cv_prog_ac_ct_CC=gcc -ac_cv_prog_ac_ct_CXX=g++ -ac_cv_prog_cc_c89= -ac_cv_prog_cc_g=yes -ac_cv_prog_cxx_g=yes -ac_cv_prog_make_make_set=yes -ac_cv_type__Bool=yes -ac_cv_type_size_t=yes -am_cv_CC_dependencies_compiler_type=gcc3 -am_cv_CXX_dependencies_compiler_type=gcc3 -am_cv_make_support_nested_variables=yes -am_cv_prog_cc_c_o=yes - -## ----------------- ## -## Output variables. ## -## ----------------- ## - -ACLOCAL='${SHELL} /Users/nader/Develop/qx/src/missing aclocal-1.15' -AMDEPBACKSLASH='\' -AMDEP_FALSE='#' -AMDEP_TRUE='' -AMTAR='$${TAR-tar}' -AM_BACKSLASH='\' -AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' -AM_DEFAULT_VERBOSITY='1' -AM_V='$(V)' -AUTOCONF='${SHELL} /Users/nader/Develop/qx/src/missing autoconf' -AUTOHEADER='${SHELL} /Users/nader/Develop/qx/src/missing autoheader' -AUTOMAKE='${SHELL} /Users/nader/Develop/qx/src/missing automake-1.15' -AWK='awk' -CC='gcc' -CCDEPMODE='depmode=gcc3' -CFLAGS='-g -O2' -CPP='gcc -E' -CPPFLAGS='' -CXX='g++' -CXXDEPMODE='depmode=gcc3' -CXXFLAGS='-g -O2' -CYGPATH_W='echo' -DEFS='-DHAVE_CONFIG_H' -DEPDIR='.deps' -ECHO_C='\c' -ECHO_N='' -ECHO_T='' -EGREP='/usr/bin/grep -E' -EXEEXT='' -GREP='/usr/bin/grep' -INSTALL_DATA='${INSTALL} -m 644' -INSTALL_PROGRAM='${INSTALL}' -INSTALL_SCRIPT='${INSTALL}' -INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' -LDFLAGS='' -LIBOBJS=' ${LIBOBJDIR}error$U.o' -LIBS='-lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread ' -LTLIBOBJS=' ${LIBOBJDIR}error$U.lo' -MAKEINFO='${SHELL} /Users/nader/Develop/qx/src/missing makeinfo' -MKDIR_P='./install-sh -c -d' -OBJEXT='o' -PACKAGE='qx-simulator' -PACKAGE_BUGREPORT='nader.khammassi@gmail.com' -PACKAGE_NAME='qx-simulator' -PACKAGE_STRING='qx-simulator 0.1.3' -PACKAGE_TARNAME='qx-simulator' -PACKAGE_URL='' -PACKAGE_VERSION='0.1.3' -PATH_SEPARATOR=':' -QCODE_VERSION='0.1.0' -QX_VERSION='0:1:3' -SET_MAKE='' -SHELL='/bin/sh' -STRIP='' -VERSION='0.1.3' -ac_ct_CC='gcc' -ac_ct_CXX='g++' -am__EXEEXT_FALSE='' -am__EXEEXT_TRUE='#' -am__fastdepCC_FALSE='#' -am__fastdepCC_TRUE='' -am__fastdepCXX_FALSE='#' -am__fastdepCXX_TRUE='' -am__include='include' -am__isrc='' -am__leading_dot='.' -am__nodep='_no' -am__quote='' -am__tar='$${TAR-tar} chof - "$$tardir"' -am__untar='$${TAR-tar} xf -' -bindir='${exec_prefix}/bin' -build_alias='' -datadir='${datarootdir}' -datarootdir='${prefix}/share' -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' -dvidir='${docdir}' -exec_prefix='${prefix}' -host_alias='' -htmldir='${docdir}' -includedir='${prefix}/include' -infodir='${datarootdir}/info' -install_sh='${SHELL} /Users/nader/Develop/qx/src/install-sh' -libdir='${exec_prefix}/lib' -libexecdir='${exec_prefix}/libexec' -localedir='${datarootdir}/locale' -localstatedir='${prefix}/var' -mandir='${datarootdir}/man' -mkdir_p='$(MKDIR_P)' -oldincludedir='/usr/include' -pdfdir='${docdir}' -prefix='/usr/local' -program_transform_name='s,x,x,' -psdir='${docdir}' -sbindir='${exec_prefix}/sbin' -sharedstatedir='${prefix}/com' -sysconfdir='${prefix}/etc' -target_alias='' - -## ----------- ## -## confdefs.h. ## -## ----------- ## - -/* confdefs.h */ -#define PACKAGE_NAME "qx-simulator" -#define PACKAGE_TARNAME "qx-simulator" -#define PACKAGE_VERSION "0.1.3" -#define PACKAGE_STRING "qx-simulator 0.1.3" -#define PACKAGE_BUGREPORT "nader.khammassi@gmail.com" -#define PACKAGE_URL "" -#define HAVE_LIBPTHREAD 1 -#define HAVE_LIBPTHREAD 1 -#define HAVE_LIBPTHREAD 1 -#define HAVE_LIBPTHREAD 1 -#define HAVE_LIBPTHREAD 1 -#define HAVE_LIBPTHREAD 1 -#define HAVE_LIBPTHREAD 1 -#define HAVE_LIBPTHREAD 1 -#define HAVE_LIBPTHREAD 1 -#define HAVE_LIBPTHREAD 1 -#define HAVE_LIBPTHREAD 1 -#define HAVE_LIBPTHREAD 1 -#define HAVE_LIBPTHREAD 1 -#define HAVE_POW 1 -#define HAVE_SQRT 1 -#define STDC_HEADERS 1 -#define HAVE_SYS_TYPES_H 1 -#define HAVE_SYS_STAT_H 1 -#define HAVE_STDLIB_H 1 -#define HAVE_STRING_H 1 -#define HAVE_MEMORY_H 1 -#define HAVE_STRINGS_H 1 -#define HAVE_INTTYPES_H 1 -#define HAVE_STDINT_H 1 -#define HAVE_UNISTD_H 1 -#define HAVE_FCNTL_H 1 -#define HAVE_MACH_MACH_H 1 -#define HAVE_STDINT_H 1 -#define HAVE_STRINGS_H 1 -#define HAVE_UNISTD_H 1 -#define HAVE__BOOL 1 - -configure: exit 0 diff --git a/src/config.status b/src/config.status deleted file mode 100755 index 22917af4..00000000 --- a/src/config.status +++ /dev/null @@ -1,1214 +0,0 @@ -#! /bin/sh -# Generated by configure. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false - -SHELL=${CONFIG_SHELL-/bin/sh} -export SHELL -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -as_myself= -case $0 in #(( - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -# as_fn_error STATUS ERROR [LINENO LOG_FD] -# ---------------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with STATUS, using 1 if that was 0. -as_fn_error () -{ - as_status=$1; test $as_status -eq 0 && as_status=1 - if test "$4"; then - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 - fi - $as_echo "$as_me: error: $2" >&2 - as_fn_exit $as_status -} # as_fn_error - - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; - esac;; -*) - ECHO_N='-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -pR'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -pR' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -pR' - fi -else - as_ln_s='cp -pR' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" - - -} # as_fn_mkdir_p -if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - - -# as_fn_executable_p FILE -# ----------------------- -# Test if FILE is an executable regular file. -as_fn_executable_p () -{ - test -f "$1" && test -x "$1" -} # as_fn_executable_p -as_test_x='test -x' -as_executable_p=as_fn_executable_p - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## -# Save the log message, to keep $0 and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by qx-simulator $as_me 0.1.3, which was -generated by GNU Autoconf 2.69. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -# Files that config.status was made for. -config_files=" Makefile qx.pc:qx.pc.in" -config_headers=" config.h" -config_commands=" depfiles" - -ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions -from templates according to the current configuration. Unless the files -and actions are specified as TAGs, all are instantiated by default. - -Usage: $0 [OPTION]... [TAG]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - --config print configuration, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Configuration commands: -$config_commands - -Report bugs to ." - -ac_cs_config="" -ac_cs_version="\ -qx-simulator config.status 0.1.3 -configured by ./configure, generated by GNU Autoconf 2.69, - with options \"$ac_cs_config\" - -Copyright (C) 2012 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='/Users/nader/Develop/qx/src' -srcdir='.' -INSTALL='/usr/bin/install -c' -MKDIR_P='./install-sh -c -d' -AWK='awk' -test -n "$AWK" || AWK=awk -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=?*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - --*=) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg= - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - '') as_fn_error $? "missing file argument" ;; - esac - as_fn_append CONFIG_FILES " '$ac_optarg'" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - as_fn_append CONFIG_HEADERS " '$ac_optarg'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - as_fn_error $? "ambiguous option: \`$1' -Try \`$0 --help' for more information.";; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) as_fn_error $? "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -if $ac_cs_recheck; then - set X /bin/sh './configure' $ac_configure_extra_args --no-create --no-recursion - shift - $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 - CONFIG_SHELL='/bin/sh' - export CONFIG_SHELL - exec "$@" -fi - -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - $as_echo "$ac_log" -} >&5 - -# -# INIT-COMMANDS -# -AMDEP_TRUE="" ac_aux_dir="." - - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "qx.pc") CONFIG_FILES="$CONFIG_FILES qx.pc:qx.pc.in" ;; - - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers - test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= ac_tmp= - trap 'exit_status=$? - : "${ac_tmp:=$tmp}" - { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status -' 0 - trap 'as_fn_exit 1' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 -ac_tmp=$tmp - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=`echo X | tr X '\015'` -# On cygwin, bash can eat \r inside `` if the user requested igncr. -# But we know of no other shell where ac_cr would be empty at this -# point, so we can use a bashism as a fallback. -if test "x$ac_cr" = x; then - eval ac_cr=\$\'\\r\' -fi -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\\r' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$ac_tmp/subs1.awk" && -cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && -S["am__EXEEXT_FALSE"]="" -S["am__EXEEXT_TRUE"]="#" -S["LTLIBOBJS"]=" ${LIBOBJDIR}error$U.lo" -S["QCODE_VERSION"]="0.1.0" -S["QX_VERSION"]="0:1:3" -S["LIBOBJS"]=" ${LIBOBJDIR}error$U.o" -S["EGREP"]="/usr/bin/grep -E" -S["GREP"]="/usr/bin/grep" -S["CPP"]="gcc -E" -S["am__fastdepCC_FALSE"]="#" -S["am__fastdepCC_TRUE"]="" -S["CCDEPMODE"]="depmode=gcc3" -S["ac_ct_CC"]="gcc" -S["CFLAGS"]="-g -O2" -S["CC"]="gcc" -S["am__fastdepCXX_FALSE"]="#" -S["am__fastdepCXX_TRUE"]="" -S["CXXDEPMODE"]="depmode=gcc3" -S["am__nodep"]="_no" -S["AMDEPBACKSLASH"]="\\" -S["AMDEP_FALSE"]="#" -S["AMDEP_TRUE"]="" -S["am__quote"]="" -S["am__include"]="include" -S["DEPDIR"]=".deps" -S["OBJEXT"]="o" -S["EXEEXT"]="" -S["ac_ct_CXX"]="g++" -S["CPPFLAGS"]="" -S["LDFLAGS"]="" -S["CXXFLAGS"]="-g -O2" -S["CXX"]="g++" -S["AM_BACKSLASH"]="\\" -S["AM_DEFAULT_VERBOSITY"]="1" -S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)" -S["AM_V"]="$(V)" -S["am__untar"]="$${TAR-tar} xf -" -S["am__tar"]="$${TAR-tar} chof - \"$$tardir\"" -S["AMTAR"]="$${TAR-tar}" -S["am__leading_dot"]="." -S["SET_MAKE"]="" -S["AWK"]="awk" -S["mkdir_p"]="$(MKDIR_P)" -S["MKDIR_P"]="./install-sh -c -d" -S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" -S["STRIP"]="" -S["install_sh"]="${SHELL} /Users/nader/Develop/qx/src/install-sh" -S["MAKEINFO"]="${SHELL} /Users/nader/Develop/qx/src/missing makeinfo" -S["AUTOHEADER"]="${SHELL} /Users/nader/Develop/qx/src/missing autoheader" -S["AUTOMAKE"]="${SHELL} /Users/nader/Develop/qx/src/missing automake-1.15" -S["AUTOCONF"]="${SHELL} /Users/nader/Develop/qx/src/missing autoconf" -S["ACLOCAL"]="${SHELL} /Users/nader/Develop/qx/src/missing aclocal-1.15" -S["VERSION"]="0.1.3" -S["PACKAGE"]="qx-simulator" -S["CYGPATH_W"]="echo" -S["am__isrc"]="" -S["INSTALL_DATA"]="${INSTALL} -m 644" -S["INSTALL_SCRIPT"]="${INSTALL}" -S["INSTALL_PROGRAM"]="${INSTALL}" -S["target_alias"]="" -S["host_alias"]="" -S["build_alias"]="" -S["LIBS"]="-lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread -lpthread " -S["ECHO_T"]="" -S["ECHO_N"]="" -S["ECHO_C"]="\\c" -S["DEFS"]="-DHAVE_CONFIG_H" -S["mandir"]="${datarootdir}/man" -S["localedir"]="${datarootdir}/locale" -S["libdir"]="${exec_prefix}/lib" -S["psdir"]="${docdir}" -S["pdfdir"]="${docdir}" -S["dvidir"]="${docdir}" -S["htmldir"]="${docdir}" -S["infodir"]="${datarootdir}/info" -S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" -S["oldincludedir"]="/usr/include" -S["includedir"]="${prefix}/include" -S["localstatedir"]="${prefix}/var" -S["sharedstatedir"]="${prefix}/com" -S["sysconfdir"]="${prefix}/etc" -S["datadir"]="${datarootdir}" -S["datarootdir"]="${prefix}/share" -S["libexecdir"]="${exec_prefix}/libexec" -S["sbindir"]="${exec_prefix}/sbin" -S["bindir"]="${exec_prefix}/bin" -S["program_transform_name"]="s,x,x," -S["prefix"]="/usr/local" -S["exec_prefix"]="${prefix}" -S["PACKAGE_URL"]="" -S["PACKAGE_BUGREPORT"]="nader.khammassi@gmail.com" -S["PACKAGE_STRING"]="qx-simulator 0.1.3" -S["PACKAGE_VERSION"]="0.1.3" -S["PACKAGE_TARNAME"]="qx-simulator" -S["PACKAGE_NAME"]="qx-simulator" -S["PATH_SEPARATOR"]=":" -S["SHELL"]="/bin/sh" -_ACAWK -cat >>"$ac_tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ - || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$ac_tmp/defines.awk" <<\_ACAWK || -BEGIN { -D["PACKAGE_NAME"]=" \"qx-simulator\"" -D["PACKAGE_TARNAME"]=" \"qx-simulator\"" -D["PACKAGE_VERSION"]=" \"0.1.3\"" -D["PACKAGE_STRING"]=" \"qx-simulator 0.1.3\"" -D["PACKAGE_BUGREPORT"]=" \"nader.khammassi@gmail.com\"" -D["PACKAGE_URL"]=" \"\"" -D["HAVE_LIBPTHREAD"]=" 1" -D["HAVE_LIBPTHREAD"]=" 1" -D["HAVE_LIBPTHREAD"]=" 1" -D["HAVE_LIBPTHREAD"]=" 1" -D["HAVE_LIBPTHREAD"]=" 1" -D["HAVE_LIBPTHREAD"]=" 1" -D["HAVE_LIBPTHREAD"]=" 1" -D["HAVE_LIBPTHREAD"]=" 1" -D["HAVE_LIBPTHREAD"]=" 1" -D["HAVE_LIBPTHREAD"]=" 1" -D["HAVE_LIBPTHREAD"]=" 1" -D["HAVE_LIBPTHREAD"]=" 1" -D["HAVE_LIBPTHREAD"]=" 1" -D["HAVE_POW"]=" 1" -D["HAVE_SQRT"]=" 1" -D["STDC_HEADERS"]=" 1" -D["HAVE_SYS_TYPES_H"]=" 1" -D["HAVE_SYS_STAT_H"]=" 1" -D["HAVE_STDLIB_H"]=" 1" -D["HAVE_STRING_H"]=" 1" -D["HAVE_MEMORY_H"]=" 1" -D["HAVE_STRINGS_H"]=" 1" -D["HAVE_INTTYPES_H"]=" 1" -D["HAVE_STDINT_H"]=" 1" -D["HAVE_UNISTD_H"]=" 1" -D["HAVE_FCNTL_H"]=" 1" -D["HAVE_MACH_MACH_H"]=" 1" -D["HAVE_STDINT_H"]=" 1" -D["HAVE_STRINGS_H"]=" 1" -D["HAVE_UNISTD_H"]=" 1" -D["HAVE__BOOL"]=" 1" - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { - line = $ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK - as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$ac_tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$ac_tmp/stdin" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac - ac_MKDIR_P=$MKDIR_P - case $MKDIR_P in - [\\/$]* | ?:[\\/]* ) ;; - */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; - esac -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} - ac_datarootdir_hack=' - s&@datadir@&${datarootdir}&g - s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g - s&@infodir@&${datarootdir}/info&g - s&@localedir@&${datarootdir}/locale&g - s&@mandir@&${datarootdir}/man&g - s&\${datarootdir}&${prefix}/share&g' ;; -esac -ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ -h -s/// -s/^/:/ -s/[ ]*$/:/ -s/:\$(srcdir):/:/g -s/:\${srcdir}:/:/g -s/:@srcdir@:/:/g -s/^:*// -s/:*$// -x -s/\(=[ ]*\).*/\1/ -G -s/\n// -s/^[^=]*=[ ]*$// -} - -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -s&@MKDIR_P@&$ac_MKDIR_P&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ - >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ - "$ac_tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&2;} - - rm -f "$ac_tmp/stdin" - case $ac_file in - -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; - *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; - esac \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" - } >"$ac_tmp/config.h" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} - else - rm -f "$ac_file" - mv "$ac_tmp/config.h" "$ac_file" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ - || as_fn_error $? "could not create -" "$LINENO" 5 - fi -# Compute "$ac_file"'s index in $config_headers. -_am_arg="$ac_file" -_am_stamp_count=1 -for _am_header in $config_headers :; do - case $_am_header in - $_am_arg | $_am_arg:* ) - break ;; - * ) - _am_stamp_count=`expr $_am_stamp_count + 1` ;; - esac -done -echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || -$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$_am_arg" : 'X\(//\)[^/]' \| \ - X"$_am_arg" : 'X\(//\)$' \| \ - X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$_am_arg" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'`/stamp-h$_am_stamp_count - ;; - - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "depfiles":C) test x"$AMDEP_TRUE" != x"" || { - # Older Autoconf quotes --file arguments for eval, but not when files - # are listed without --file. Let's play safe and only enable the eval - # if we detect the quoting. - case $CONFIG_FILES in - *\'*) eval set x "$CONFIG_FILES" ;; - *) set x $CONFIG_FILES ;; - esac - shift - for mf - do - # Strip MF so we end up with the name of the file. - mf=`echo "$mf" | sed -e 's/:.*$//'` - # Check whether this is an Automake generated Makefile or not. - # We used to match only the files named 'Makefile.in', but - # some people rename them; so instead we look at the file content. - # Grep'ing the first line is not enough: some people post-process - # each Makefile.in and add a new line on top of each file to say so. - # Grep'ing the whole file is not good either: AIX grep has a line - # limit of 2048, but all sed's we know have understand at least 4000. - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then - dirpart=`$as_dirname -- "$mf" || -$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$mf" : 'X\(//\)[^/]' \| \ - X"$mf" : 'X\(//\)$' \| \ - X"$mf" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$mf" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - else - continue - fi - # Extract the definition of DEPDIR, am__include, and am__quote - # from the Makefile without running 'make'. - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` - test -z "$DEPDIR" && continue - am__include=`sed -n 's/^am__include = //p' < "$mf"` - test -z "$am__include" && continue - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` - # Find all dependency output files, they are included files with - # $(DEPDIR) in their names. We invoke sed twice because it is the - # simplest approach to changing $(DEPDIR) to its actual value in the - # expansion. - for file in `sed -n " - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do - # Make sure the directory exists. - test -f "$dirpart/$file" && continue - fdir=`$as_dirname -- "$file" || -$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$file" : 'X\(//\)[^/]' \| \ - X"$file" : 'X\(//\)$' \| \ - X"$file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir=$dirpart/$fdir; as_fn_mkdir_p - # echo "creating $dirpart/$file" - echo '# dummy' > "$dirpart/$file" - done - done -} - ;; - - esac -done # for ac_tag - - -as_fn_exit 0 diff --git a/src/core/gate.h b/src/core/gate.h index 64629d40..fa7b3ace 100644 --- a/src/core/gate.h +++ b/src/core/gate.h @@ -9,6 +9,8 @@ #include +#include + #include #include #include @@ -39,6 +41,8 @@ namespace qx const complex_t pauli_y_c [] = { complex_t(0, 0) , complex_t(0,-1), complex_t(0, 1) , complex_t(0, 0) }; /* Y */ const complex_t pauli_z_c [] = { complex_t(1, 0) , complex_t(0, 0), complex_t(0, 0) , complex_t(-1,0) }; /* Z */ const complex_t phase_c [] = { complex_t(1, 0) , complex_t(0, 0), complex_t(0, 0) , complex_t(0, 1) }; /* S */ + const complex_t t_gate_c [] = { complex_t(1, 0) , complex_t(0, 0), complex_t(0, 0) , complex_t(cos(M_PI/4),sin(M_PI/4)) }; /* T */ + const complex_t tdag_gate_c[] = { complex_t(1, 0) , complex_t(0, 0), complex_t(0, 0) , complex_t(cos(M_PI/4),-sin(M_PI/4)) }; /* T */ const complex_t hadamard_c [] = { R_SQRT_2, R_SQRT_2, R_SQRT_2, -R_SQRT_2 }; /* H */ /** @@ -747,6 +751,86 @@ namespace qx }; + /** + * \brief T gate + */ + class t_gate : public gate + { + private: + + uint32_t qubit; + cmatrix_t m; + + public: + + t_gate(uint32_t qubit) : qubit(qubit) + { + m = build_matrix(t_gate_c,2); + } + + int32_t apply(qu_register& qreg) + { + sqg_apply(m,qubit,qreg); + return 0; + } + + void dump() + { + println(" [-] t_gate(qubit=" << qubit << ")"); + } + + std::vector qubits() + { + std::vector r; + r.push_back(qubit); + return r; + } + + }; + + + /** + * \brief T dag gate + */ + class t_dag_gate : public gate + { + private: + + uint32_t qubit; + cmatrix_t m; + + public: + + t_dag_gate(uint32_t qubit) : qubit(qubit) + { + m = build_matrix(tdag_gate_c,2); + } + + int32_t apply(qu_register& qreg) + { + sqg_apply(m,qubit,qreg); + return 0; + } + + void dump() + { + println(" [-] t_dag_gate(qubit=" << qubit << ")"); + } + + std::vector qubits() + { + std::vector r; + r.push_back(qubit); + return r; + } + + }; + + + + + + /** * \brief rotation-x : */ diff --git a/src/qcode/quantum_code_loader.h b/src/qcode/quantum_code_loader.h index c926b869..54870316 100644 --- a/src/qcode/quantum_code_loader.h +++ b/src/qcode/quantum_code_loader.h @@ -228,7 +228,7 @@ namespace qx for (int i=0; i " << id); return (atoi(id.c_str())); @@ -459,8 +459,41 @@ namespace qx // current_sub_circuit(qubits_count)->add(new qx::cnot(ctrl,target)); } } - + /** + * T gate + */ + else if (words[0] == "t") // T gate + { + uint32_t q = qubit_id(words[1]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => t gate on: " << q); + current_sub_circuit(qubits_count)->add(new qx::t_gate(q)); + } + /** + * Tdag gate + */ + else if (words[0] == "tdag") // Tdag gate + { + uint32_t q = qubit_id(words[1]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => t gate on: " << q); + current_sub_circuit(qubits_count)->add(new qx::t_dag_gate(q)); + } + /** + * prepz + */ + else if (words[0] == "prepz") // x gate + { + uint32_t q = qubit_id(words[1]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => t gate on: " << q); + current_sub_circuit(qubits_count)->add(new qx::measure(q)); + current_sub_circuit(qubits_count)->add(new qx::bin_ctrl(q,new qx::pauli_x(q))); + } /** * rotations gates */ @@ -504,6 +537,15 @@ namespace qx // println(" => phase gate on " << process_qubit(words[1])); current_sub_circuit(qubits_count)->add(new qx::phase_shift(q)); } + else if (words[0] == "s") // phase shift gate + { + //strings params = word_list(words[1],","); + uint32_t q = qubit_id(words[1]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => phase gate on " << process_qubit(words[1])); + current_sub_circuit(qubits_count)->add(new qx::phase_shift(q)); + } /** * measurement @@ -568,6 +610,8 @@ namespace qx { println(" => quantum error correction scheme = " << words[1]); } + else + print_syntax_error(" unknown gate or command !"); return 0; } diff --git a/src/qcode/test.qc b/src/qcode/test.qc index 5c8b805a..c690e3d4 100644 --- a/src/qcode/test.qc +++ b/src/qcode/test.qc @@ -14,7 +14,7 @@ qubits 8 rx q4,0.453 ry q5,0.244 rz q6,0.555 - ph q7,1.378 + ph q7 .result # measurement diff --git a/src/qx.pc b/src/qx.pc deleted file mode 100644 index 07a7496e..00000000 --- a/src/qx.pc +++ /dev/null @@ -1,9 +0,0 @@ -prefix=/usr/local -exec_prefix=${prefix} -libdir=${exec_prefix}/lib -includedir=${prefix}/include - -Name: qx-simulator -Description: Universal Quantum Computer Simulator -Version: 0.1.3 -URL: diff --git a/src/server/qx_server.cc b/src/server/qx_server.cc new file mode 100644 index 00000000..6f4cddaa --- /dev/null +++ b/src/server/qx_server.cc @@ -0,0 +1,20 @@ +/** + * @file qx_server.cc + * @author Nader KHAMMASSI - nader.khammassi@gmail.com + * @date 25-02-16 + */ + + + +#include +#include + + +int main(int argc, char **argv) +{ + qx::qx_server server(5555); + server.start(); + + return 0; +} + diff --git a/src/server/qx_server.h b/src/server/qx_server.h new file mode 100644 index 00000000..d6102005 --- /dev/null +++ b/src/server/qx_server.h @@ -0,0 +1,563 @@ +/** + * @file qx_server.h + * @author Nader KHAMMASSI - nader.khammassi@gmail.com + * @date 25-02-16 + */ + + +#ifndef QX_SERVER_H +#define QX_SERVER_H + +#include +#include +#include +#include +#include +#include + +#include + + +#include +#include + + + +namespace qx +{ + /** + * \brief qx server + */ + class qx_server + { + public: + + /** + * ctor + */ + qx_server(uint32_t port=5555) : port(port), qubits_count(0), parsed_successfully(false), syntax_error(false), semantic_error(false), error_model(__unknown_error_model__), error_probability(0) + { + } + + /** + * start + */ + void start() + { + char buf[512]; + xpu::tcp_server_socket server(port); + xpu::tcp_socket * sock = server.accept(); + std::cout << "[+] client connected : " << sock->get_foreign_address() << ":" << sock->get_foreign_port() << std::endl; + //sock->send("welcom to server !", 19); + bool stop=false; + while (!stop) + { + clear(buf,512); + size_t bytes = sock->recv(buf, 512); + buf[bytes] = '\0'; + std::string cmd = buf; + std::cout << cmd << std::endl; + if (cmd == "stop") + return; + process_line(cmd); + //sock->send("received.", 10); + } + return; + } + + private: + + void clear(char * buf, size_t size) + { + for (uint32_t i=0; i code: \"" << original_line << "\"" << std::endl; \ + syntax_error = true;\ + return 1;\ + } + + +#define print_semantic_error(err) \ + {\ + std::cerr << "[x] semantic error at line " << line_index << " : " << err << std::endl; \ + std::cerr << " +--> code: \"" << original_line << "\"" << std::endl; \ + semantic_error = true;\ + return 1;\ + } + + private: + + /** + * \brief check if the circuit label is valid + */ + bool is_label(std::string& str) + { + if (!is_dot(str[0])) + return false; + for (uint32_t i=1; i is a natural bit + */ + bool is_bit(std::string& str) + { + return (str[0] == 'b'); + } + + + /** + * \brief retrieve qubit number from a string "qN" + */ + uint32_t qubit_id(std::string& str) + { + std::string& original_line = str; + std::string qubit; + if (str[0] != 'q') + { + // search in the qubit map first + map_t::iterator it = definitions.find(str); + if (it != definitions.end()) + { + qubit = it->second; + // println(" def[" << str << "] -> " << qubit); + if (qubit[0] != 'q') + print_syntax_error(" invalid qubit identifier : qubit name not defined, you should use 'map' to name qubit before using it !"); + str = qubit; + } + else + print_syntax_error(" invalid qubit identifier !"); + } + std::string id = str.substr(1); + for (int i=0; i " << id); + return (atoi(id.c_str())); + } + + uint32_t bit_id(std::string& str) + { + std::string& original_line = str; + if (str[0] != 'b') + print_syntax_error(" invalid bit identifier !"); + std::string id = str.substr(1); + for (int i=0; iadd(new qx::display()); + else if (words[0] == "display_binary") + current_sub_circuit(qubits_count)->add(new qx::display(true)); + else if (words[0] == "measure") + current_sub_circuit(qubits_count)->add(new qx::measure()); + else + print_syntax_error("unknown commad !"); + return 0; + } + + if (words.size() != 2) + print_syntax_error("malformed code !"); + + + if (words[0] == "qubits") // qubit definition + { + if (qubits_count) + print_syntax_error("qubits number already defined !"); + + qubits_count = atoi(words[1].c_str()); + + if ((qubits_count > 0) && (qubits_count < MAX_QUBITS)) + { + // println(" => qubits number: " << qubits_count); + } + else + print_syntax_error(" too much qubits (" << qubits_count << ") !"); + } + else if (qubits_count == 0) + { + print_semantic_error(" qubits number must be defined first !"); + } + else if (words[0] == "map") // definitions + { + strings params = word_list(words[1],","); + uint32_t q = qubit_id(params[0]); + std::string qubit = params[0]; + std::string name = params[1]; + if (q > (qubits_count-1)) + print_semantic_error(" qubit out of range !"); + definitions[name] = qubit; + // println(" => map qubit " << name << " to " << qubit); + } + else if (words[0] == "h") // hadamard gate + { + uint32_t q = qubit_id(words[1]); // atoi(words[1].c_str()); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => hadamard gate on: " << q); + current_sub_circuit(qubits_count)->add(new qx::hadamard(q)); + } + else if (words[0] == "cnot") // cnot gate + { + strings params = word_list(words[1],","); + uint32_t cq = qubit_id(params[0]); + uint32_t tq = qubit_id(params[1]); + if (cq > (qubits_count-1)) + print_semantic_error(" control qubit out of range !"); + if (tq > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => cnot gate : ctrl_qubit=" << cq << ", target_qubit=" << tq); + current_sub_circuit(qubits_count)->add(new qx::cnot(cq,tq)); + } + else if (words[0] == "swap") // cnot gate + { + strings params = word_list(words[1],","); + uint32_t q1 = qubit_id(params[0]); + uint32_t q2 = qubit_id(params[1]); + if ((q1 > (qubits_count-1)) || (q1 > (qubits_count-1))) + print_semantic_error(" target qubit out of range !"); + // println(" => swap gate : qubit_1=" << q1 << ", qubit_2=" << q2); + current_sub_circuit(qubits_count)->add(new qx::swap(q1,q2)); + } + + /** + * controlled phase shift + */ + else if (words[0] == "cr") + { + strings params = word_list(words[1],","); + uint32_t q1 = qubit_id(params[0]); + uint32_t q2 = qubit_id(params[1]); + if ((q1 > (qubits_count-1)) || (q1 > (qubits_count-1))) + print_semantic_error(" target qubit out of range !"); + // println(" => controlled phase shift gate : ctrl_qubit=" << q1 << ", target_qubit=" << q2); + current_sub_circuit(qubits_count)->add(new qx::ctrl_phase_shift(q1,q2)); + } + + /** + * pauli gates + */ + else if (words[0] == "x") // x gate + { + uint32_t q = qubit_id(words[1]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => pauli x gate on: " << q); + current_sub_circuit(qubits_count)->add(new qx::pauli_x(q)); + } + else if (words[0] == "cx") // x gate + { + strings params = word_list(words[1],","); + bool bit = is_bit(params[0]); + uint32_t ctrl = (bit ? bit_id(params[0]) : qubit_id(params[0])); + uint32_t target = qubit_id(params[1]); + + if (ctrl > (qubits_count-1)) + print_semantic_error(" ctrl qubit out of range !"); + if (target > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + if (bit) + { + // println(" => binary controlled pauli_x gate (ctrl=" << ctrl << ", target=" << target << ")"); + current_sub_circuit(qubits_count)->add(new qx::bin_ctrl(ctrl,new qx::pauli_x(target))); + } + else + { + // println(" => controlled pauli_x gate (ctrl=" << ctrl << ", target=" << target << ")"); + current_sub_circuit(qubits_count)->add(new qx::cnot(ctrl,target)); + } + } + else if (words[0] == "y") // y gate + { + uint32_t q = qubit_id(words[1]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => pauli y gate on: " << atoi(words[1].c_str())); + current_sub_circuit(qubits_count)->add(new qx::pauli_y(q)); + } + else if (words[0] == "z") // z gate + { + uint32_t q = qubit_id(words[1]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => pauli z gate on: " << atoi(words[1].c_str())); + current_sub_circuit(qubits_count)->add(new qx::pauli_z(q)); + } + else if (words[0] == "cz") // z gate + { + strings params = word_list(words[1],","); + bool bit = is_bit(params[0]); + uint32_t ctrl = (bit ? bit_id(params[0]) : qubit_id(params[0])); + uint32_t target = qubit_id(params[1]); + + if (ctrl > (qubits_count-1)) + print_semantic_error(" ctrl qubit out of range !"); + if (target > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + if (bit) + { + // println(" => binary controlled pauli_z gate (ctrl=" << ctrl << ", target=" << target << ")"); + current_sub_circuit(qubits_count)->add(new qx::bin_ctrl(ctrl,new qx::pauli_z(target))); + } + else + { + //println(" => controlled pauli_z gate (ctrl=" << ctrl << ", target=" << target << ")"); + println("quantum controlled-z not implemented yet !"); + // current_sub_circuit(qubits_count)->add(new qx::cnot(ctrl,target)); + } + } + /** + * T gate + */ + else if (words[0] == "t") // T gate + { + uint32_t q = qubit_id(words[1]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => t gate on: " << q); + current_sub_circuit(qubits_count)->add(new qx::t_gate(q)); + } + /** + * Tdag gate + */ + else if (words[0] == "tdag") // Tdag gate + { + uint32_t q = qubit_id(words[1]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => t gate on: " << q); + current_sub_circuit(qubits_count)->add(new qx::t_dag_gate(q)); + } + + /** + * prepz + */ + else if (words[0] == "prepz") // x gate + { + uint32_t q = qubit_id(words[1]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => t gate on: " << q); + current_sub_circuit(qubits_count)->add(new qx::measure(q)); + current_sub_circuit(qubits_count)->add(new qx::bin_ctrl(q,new qx::pauli_x(q))); + } + + + + + /** + * rotations gates + */ + else if (words[0] == "rx") // rx gate + { + strings params = word_list(words[1],","); + uint32_t q = qubit_id(params[0]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => rx gate on " << process_qubit(params[0]) << " (angle=" << params[1] << ")"); + current_sub_circuit(qubits_count)->add(new qx::rx(q,atof(params[1].c_str()))); + } + else if (words[0] == "ry") // ry gate + { + strings params = word_list(words[1],","); + uint32_t q = qubit_id(params[0]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => ry gate on " << process_qubit(params[0]) << " (angle=" << params[1] << ")"); + current_sub_circuit(qubits_count)->add(new qx::ry(q,atof(params[1].c_str()))); + } + else if (words[0] == "rz") // rz gate + { + strings params = word_list(words[1],","); + uint32_t q = qubit_id(params[0]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => rz gate on " << process_qubit(params[0]) << " (angle=" << params[1] << ")"); + current_sub_circuit(qubits_count)->add(new qx::rz(q,atof(params[1].c_str()))); + } + + /** + * phase + */ + else if (words[0] == "ph") // phase shift gate + { + //strings params = word_list(words[1],","); + uint32_t q = qubit_id(words[1]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => phase gate on " << process_qubit(words[1])); + current_sub_circuit(qubits_count)->add(new qx::phase_shift(q)); + } + + /** + * measurement + */ + else if (words[0] == "measure") // measurement + { + uint32_t q = qubit_id(words[1]); + if (q > (qubits_count-1)) + print_semantic_error(" target qubit out of range !"); + // println(" => measure qubit " << atoi(words[1].c_str())); + // println(" => measure qubit " << q); + current_sub_circuit(qubits_count)->add(new qx::measure(q)); + } + /** + * toffoli + */ + else if (words[0] == "toffoli") // rx gate + { + strings params = word_list(words[1],","); + if (params.size() != 3) + print_semantic_error(" toffoli gate requires 3 qubits !"); + uint32_t q0 = qubit_id(params[0]); + uint32_t q1 = qubit_id(params[1]); + uint32_t q2 = qubit_id(params[2]); + if (q0 > (qubits_count-1)) print_semantic_error(" first control qubit out of range !"); + if (q1 > (qubits_count-1)) print_semantic_error(" scond control qubit out of range !"); + if (q2 > (qubits_count-1)) print_semantic_error(" target qubit out of range !"); + // println(" => toffoli gate on " << process_qubit(params[2]) << " (ctrl_q1=" << params[0] << ", ctrl_q2=" << params[1] << ")"); + current_sub_circuit(qubits_count)->add(new qx::toffoli(q0,q1,q2)); + } + /** + * error model + */ + else if (words[0] == "error_model") // operational errors + { + strings params = word_list(words[1],","); + if (params.size() != 2) + print_syntax_error(" error mode should be specified according to the following syntax: 'error_model depolarizing_channel,0.01' "); + if (params[0] == "depolarizing_channel") + { + error_model = __depolarizing_channel__; + error_probability = atof(params[1].c_str()); + println(" => error model: (name=" << params[0].c_str() << ", error_probability=" << error_probability << ")"); + } + else + print_semantic_error(" unknown error model !"); + } + + /** + * noise + */ + else if (words[0] == "noise") // operational errors + { + strings params = word_list(words[1],","); + println(" => noise (theta=" << params[0].c_str() << ", phi=" << params[1].c_str() << ")"); + } + else if (words[0] == "decoherence") // decoherence + { + println(" => decoherence (dt=" << words[1] << ")"); + } + else if (words[0] == "qec") // decoherence + { + println(" => quantum error correction scheme = " << words[1]); + } + else + print_syntax_error(" unknown gate or command !"); + + return 0; + } + + + + + private: + + int line_index; + bool parsed_successfully; + bool syntax_error; + bool semantic_error; + + // definitions + map_t definitions; + + uint32_t qubits_count; + + // error model + qx::error_model_t error_model; + double error_probability; + + uint32_t port; + circuits_t circuits; + qu_register * reg; + + }; +} + + + +#endif // QX_SERVER_H + + + diff --git a/src/stamp-h1 b/src/stamp-h1 deleted file mode 100644 index 4547fe1b..00000000 --- a/src/stamp-h1 +++ /dev/null @@ -1 +0,0 @@ -timestamp for config.h diff --git a/src/tools/.deps/.dirstamp b/src/tools/.deps/.dirstamp deleted file mode 100644 index e69de29b..00000000 diff --git a/src/tools/.deps/ninja_star_simulator.Po b/src/tools/.deps/ninja_star_simulator.Po deleted file mode 100644 index 82d6dbd6..00000000 --- a/src/tools/.deps/ninja_star_simulator.Po +++ /dev/null @@ -1,957 +0,0 @@ -tools/ninja_star_simulator.o: tools/ninja_star_simulator.cc \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iostream \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__config \ - /usr/include/unistd.h /usr/include/_types.h /usr/include/sys/_types.h \ - /usr/include/sys/cdefs.h /usr/include/sys/_symbol_aliasing.h \ - /usr/include/sys/_posix_availability.h /usr/include/machine/_types.h \ - /usr/include/i386/_types.h /usr/include/sys/_pthread/_pthread_types.h \ - /usr/include/sys/unistd.h /usr/include/sys/_types/_posix_vdisable.h \ - /usr/include/sys/_types/_seek_set.h /usr/include/sys/_types/_size_t.h \ - /usr/include/_types/_uint64_t.h /usr/include/Availability.h \ - /usr/include/AvailabilityInternal.h /usr/include/sys/_types/_ssize_t.h \ - /usr/include/sys/_types/_uid_t.h /usr/include/sys/_types/_gid_t.h \ - /usr/include/sys/_types/_intptr_t.h /usr/include/sys/_types/_off_t.h \ - /usr/include/sys/_types/_pid_t.h /usr/include/sys/_types/_useconds_t.h \ - /usr/include/sys/_types/_null.h /usr/include/sys/select.h \ - /usr/include/sys/appleapiopts.h /usr/include/sys/_types/_fd_def.h \ - /usr/include/sys/_types/_timespec.h /usr/include/sys/_types/_timeval.h \ - /usr/include/sys/_types/_time_t.h \ - /usr/include/sys/_types/_suseconds_t.h \ - /usr/include/sys/_types/_sigset_t.h \ - /usr/include/sys/_types/_fd_setsize.h \ - /usr/include/sys/_types/_fd_set.h /usr/include/sys/_types/_fd_clr.h \ - /usr/include/sys/_types/_fd_isset.h /usr/include/sys/_types/_fd_zero.h \ - /usr/include/sys/_types/_fd_copy.h /usr/include/sys/_select.h \ - /usr/include/sys/_types/_dev_t.h /usr/include/sys/_types/_mode_t.h \ - /usr/include/sys/_types/_uuid_t.h /usr/include/gethostuuid.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ios \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iosfwd \ - /usr/include/wchar.h /usr/include/sys/_types/_mbstate_t.h \ - /usr/include/sys/_types/_ct_rune_t.h /usr/include/sys/_types/_rune_t.h \ - /usr/include/sys/_types/_wchar_t.h \ - /Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/stdarg.h \ - /usr/include/stdio.h /usr/include/sys/_types/_va_list.h \ - /usr/include/sys/stdio.h /usr/include/time.h \ - /usr/include/sys/_types/_clock_t.h /usr/include/_wctype.h \ - /usr/include/sys/_types/_wint_t.h /usr/include/_types/_wctype_t.h \ - /usr/include/ctype.h /usr/include/runetype.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__locale \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstring \ - /usr/include/string.h /usr/include/strings.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdio \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cwchar \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cwctype \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cctype \ - /usr/include/wctype.h /usr/include/_types/_wctrans_t.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/initializer_list \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstddef \ - /Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/stddef.h \ - /Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/__stddef_max_align_t.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__tuple \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/typeinfo \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/exception \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdint \ - /Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/stdint.h \ - /usr/include/stdint.h /usr/include/sys/_types/_int8_t.h \ - /usr/include/sys/_types/_int16_t.h /usr/include/sys/_types/_int32_t.h \ - /usr/include/sys/_types/_int64_t.h /usr/include/_types/_uint8_t.h \ - /usr/include/_types/_uint16_t.h /usr/include/_types/_uint32_t.h \ - /usr/include/sys/_types/_uintptr_t.h /usr/include/_types/_intmax_t.h \ - /usr/include/_types/_uintmax_t.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/new \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/limits \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__undef_min_max \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__functional_base \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__debug \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/tuple \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/atomic \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/stdexcept \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/mutex \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__mutex_base \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/chrono \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ctime \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ratio \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/climits \ - /Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/limits.h \ - /usr/include/limits.h /usr/include/machine/limits.h \ - /usr/include/i386/limits.h /usr/include/i386/_limits.h \ - /usr/include/sys/syslimits.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/system_error \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cerrno \ - /usr/include/errno.h /usr/include/sys/errno.h /usr/include/pthread.h \ - /usr/include/pthread/pthread_impl.h /usr/include/pthread/sched.h \ - /usr/include/sys/_pthread/_pthread_attr_t.h \ - /usr/include/sys/_pthread/_pthread_cond_t.h \ - /usr/include/sys/_pthread/_pthread_condattr_t.h \ - /usr/include/sys/_pthread/_pthread_key_t.h \ - /usr/include/sys/_pthread/_pthread_mutex_t.h \ - /usr/include/sys/_pthread/_pthread_mutexattr_t.h \ - /usr/include/sys/_pthread/_pthread_once_t.h \ - /usr/include/sys/_pthread/_pthread_rwlock_t.h \ - /usr/include/sys/_pthread/_pthread_rwlockattr_t.h \ - /usr/include/sys/_pthread/_pthread_t.h /usr/include/pthread/qos.h \ - /usr/include/sys/qos.h /usr/include/sys/_types/_mach_port_t.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional \ - /usr/include/locale.h /usr/include/_locale.h /usr/include/xlocale.h \ - /usr/include/_xlocale.h /usr/include/xlocale/_ctype.h \ - /usr/include/xlocale/__wctype.h /usr/include/xlocale/_stdio.h \ - /usr/include/xlocale/_string.h /usr/include/xlocale/_time.h \ - /usr/include/xlocale/_wchar.h /usr/include/xlocale/_wctype.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/streambuf \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/istream \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ostream \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/locale \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdlib \ - /usr/include/stdlib.h /usr/include/sys/wait.h \ - /usr/include/sys/_types/_id_t.h /usr/include/sys/signal.h \ - /usr/include/machine/signal.h /usr/include/i386/signal.h \ - /usr/include/machine/_mcontext.h /usr/include/i386/_mcontext.h \ - /usr/include/mach/i386/_structs.h \ - /usr/include/sys/_types/_sigaltstack.h \ - /usr/include/sys/_types/_ucontext.h /usr/include/sys/resource.h \ - /usr/include/machine/endian.h /usr/include/i386/endian.h \ - /usr/include/sys/_endian.h /usr/include/libkern/_OSByteOrder.h \ - /usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \ - /usr/include/machine/types.h /usr/include/i386/types.h \ - /usr/include/xlocale/_stdlib.h /usr/include/nl_types.h \ - /usr/include/sys/types.h /usr/include/sys/_types/_blkcnt_t.h \ - /usr/include/sys/_types/_blksize_t.h \ - /usr/include/sys/_types/_in_addr_t.h \ - /usr/include/sys/_types/_in_port_t.h /usr/include/sys/_types/_ino_t.h \ - /usr/include/sys/_types/_ino64_t.h /usr/include/sys/_types/_key_t.h \ - /usr/include/sys/_types/_nlink_t.h /usr/include/sys/_types/_rsize_t.h \ - /usr/include/sys/_types/_errno_t.h \ - /usr/include/sys/_types/_fsblkcnt_t.h \ - /usr/include/sys/_types/_fsfilcnt_t.h /usr/include/_types/_nl_item.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/bitset \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__bit_reference \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/sstream \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/fstream \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/vector \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__split_buffer \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/map \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__tree \ - xpu-0.1.5/xpu.h xpu-0.1.5/xpu/types.h \ - xpu-0.1.5/xpu/core/generic_worker.h xpu-0.1.5/xpu/core/os/thread.h \ - xpu-0.1.5/xpu/core/os/barrier.h \ - xpu-0.1.5/xpu/core/os/mac_osx_pthread.h \ - xpu-0.1.5/xpu/core/os/barrier.cc xpu-0.1.5/xpu/core/os/cpuset.h \ - xpu-0.1.5/xpu/exception.h xpu-0.1.5/xpu/exception.cc \ - xpu-0.1.5/xpu/task_group.h xpu-0.1.5/xpu/range.h \ - xpu-0.1.5/xpu/stdout.h xpu-0.1.5/xpu/core/os/spinlock.h \ - xpu-0.1.5/xpu/lockable.h xpu-0.1.5/xpu/utils.h \ - xpu-0.1.5/xpu/pointers.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/set \ - xpu-0.1.5/xpu/core/os/spinlock.cc xpu-0.1.5/xpu/core/os/mutex.h \ - xpu-0.1.5/xpu/core/os/mutex.cc xpu-0.1.5/xpu/core/os/thread.cc \ - xpu-0.1.5/xpu/core/os/control.h xpu-0.1.5/xpu/core/work.h \ - xpu-0.1.5/xpu/task.h xpu-0.1.5/xpu/static_callback.h \ - xpu-0.1.5/xpu/dynamic_callback.h xpu-0.1.5/xpu/core/os/event.h \ - xpu-0.1.5/xpu/core/queue.h xpu-0.1.5/xpu/core/object_pool.h \ - xpu-0.1.5/xpu/core/list.h xpu-0.1.5/xpu/parallel_tasks.h \ - xpu-0.1.5/xpu/core/lockable_factory.h \ - xpu-0.1.5/xpu/core/lockable_factory.cc \ - xpu-0.1.5/xpu/sequential_tasks.h xpu-0.1.5/xpu/pipeline.h \ - xpu-0.1.5/xpu/core/event_notifier.h \ - xpu-0.1.5/xpu/core/event_listener.h xpu-0.1.5/xpu/core/event_relay.h \ - xpu-0.1.5/xpu/parallel_for.h xpu-0.1.5/xpu/runtime config.h \ - core/circuit.h core/gate.h core/hash_set.h core/hash_table.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/list \ - core/linalg.h core/matrix.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/complex \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath \ - /usr/include/math.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cassert \ - /usr/include/assert.h core/register.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cfloat \ - /Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/float.h \ - xpu-0.1.5/xpu/timer.h /usr/include/mach/clock.h \ - /usr/include/mach/ndr.h /usr/include/libkern/OSByteOrder.h \ - /usr/include/libkern/i386/OSByteOrder.h \ - /usr/include/sys/_types/_os_inline.h /usr/include/mach/boolean.h \ - /usr/include/mach/machine/boolean.h /usr/include/mach/i386/boolean.h \ - /usr/include/mach/kern_return.h \ - /usr/include/mach/machine/kern_return.h \ - /usr/include/mach/i386/kern_return.h /usr/include/mach/notify.h \ - /usr/include/mach/port.h /usr/include/mach/machine/vm_types.h \ - /usr/include/mach/i386/vm_types.h /usr/include/mach/i386/vm_param.h \ - /usr/include/mach/message.h /usr/include/mach/mach_types.h \ - /usr/include/mach/host_info.h /usr/include/mach/vm_statistics.h \ - /usr/include/mach/machine.h /usr/include/mach/time_value.h \ - /usr/include/mach/host_notify.h /usr/include/mach/host_special_ports.h \ - /usr/include/mach/memory_object_types.h /usr/include/mach/vm_prot.h \ - /usr/include/mach/vm_sync.h /usr/include/mach/vm_types.h \ - /usr/include/mach/exception_types.h \ - /usr/include/mach/machine/exception.h \ - /usr/include/mach/i386/exception.h /usr/include/mach/thread_status.h \ - /usr/include/mach/machine/thread_status.h \ - /usr/include/mach/i386/thread_status.h /usr/include/mach/i386/fp_reg.h \ - /usr/include/mach/i386/thread_state.h /usr/include/i386/eflags.h \ - /usr/include/mach/machine/thread_state.h \ - /usr/include/mach/mach_voucher_types.h /usr/include/mach/std_types.h \ - /usr/include/mach/processor_info.h \ - /usr/include/mach/machine/processor_info.h \ - /usr/include/mach/i386/processor_info.h /usr/include/mach/task_info.h \ - /usr/include/mach/policy.h /usr/include/mach/task_policy.h \ - /usr/include/mach/task_special_ports.h /usr/include/mach/thread_info.h \ - /usr/include/mach/thread_policy.h \ - /usr/include/mach/thread_special_ports.h \ - /usr/include/mach/clock_types.h /usr/include/mach/vm_attributes.h \ - /usr/include/mach/vm_inherit.h /usr/include/mach/vm_purgable.h \ - /usr/include/mach/vm_behavior.h /usr/include/mach/vm_region.h \ - /usr/include/mach/machine/vm_param.h /usr/include/mach/kmod.h \ - /usr/include/mach/mig_errors.h /usr/include/mach/mig.h \ - /usr/include/mach/mach.h /usr/include/mach/mach_interface.h \ - /usr/include/mach/clock_priv.h /usr/include/mach/host_priv.h \ - /usr/include/mach_debug/mach_debug_types.h \ - /usr/include/mach_debug/ipc_info.h /usr/include/mach_debug/vm_info.h \ - /usr/include/mach_debug/zone_info.h \ - /usr/include/mach_debug/page_info.h \ - /usr/include/mach_debug/hash_info.h \ - /usr/include/mach_debug/lockgroup_info.h \ - /usr/include/mach/host_security.h /usr/include/mach/lock_set.h \ - /usr/include/mach/processor.h /usr/include/mach/processor_set.h \ - /usr/include/mach/semaphore.h /usr/include/mach/sync_policy.h \ - /usr/include/mach/task.h /usr/include/mach/thread_act.h \ - /usr/include/mach/vm_map.h /usr/include/mach/mach_port.h \ - /usr/include/mach/mach_init.h /usr/include/mach/vm_page_size.h \ - /usr/include/mach/mach_traps.h /usr/include/mach/mach_host.h \ - /usr/include/mach/thread_switch.h /usr/include/mach/rpc.h \ - /usr/include/mach/machine/rpc.h /usr/include/mach/i386/rpc.h \ - /usr/include/mach/mach_error.h /usr/include/mach/error.h \ - core/register.cc core/binary_counter.h core/kronecker.h \ - qcode/quantum_code_loader.h qcode/strings.h core/error_model.h \ - core/error_injector.h core/gaussian.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/random \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/numeric \ - core/gaussian.cc core/depolarizing_channel.h qecc/ninja_star.h - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iostream: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__config: - -/usr/include/unistd.h: - -/usr/include/_types.h: - -/usr/include/sys/_types.h: - -/usr/include/sys/cdefs.h: - -/usr/include/sys/_symbol_aliasing.h: - -/usr/include/sys/_posix_availability.h: - -/usr/include/machine/_types.h: - -/usr/include/i386/_types.h: - -/usr/include/sys/_pthread/_pthread_types.h: - -/usr/include/sys/unistd.h: - -/usr/include/sys/_types/_posix_vdisable.h: - -/usr/include/sys/_types/_seek_set.h: - -/usr/include/sys/_types/_size_t.h: - -/usr/include/_types/_uint64_t.h: - -/usr/include/Availability.h: - -/usr/include/AvailabilityInternal.h: - -/usr/include/sys/_types/_ssize_t.h: - -/usr/include/sys/_types/_uid_t.h: - -/usr/include/sys/_types/_gid_t.h: - -/usr/include/sys/_types/_intptr_t.h: - -/usr/include/sys/_types/_off_t.h: - -/usr/include/sys/_types/_pid_t.h: - -/usr/include/sys/_types/_useconds_t.h: - -/usr/include/sys/_types/_null.h: - -/usr/include/sys/select.h: - -/usr/include/sys/appleapiopts.h: - -/usr/include/sys/_types/_fd_def.h: - -/usr/include/sys/_types/_timespec.h: - -/usr/include/sys/_types/_timeval.h: - -/usr/include/sys/_types/_time_t.h: - -/usr/include/sys/_types/_suseconds_t.h: - -/usr/include/sys/_types/_sigset_t.h: - -/usr/include/sys/_types/_fd_setsize.h: - -/usr/include/sys/_types/_fd_set.h: - -/usr/include/sys/_types/_fd_clr.h: - -/usr/include/sys/_types/_fd_isset.h: - -/usr/include/sys/_types/_fd_zero.h: - -/usr/include/sys/_types/_fd_copy.h: - -/usr/include/sys/_select.h: - -/usr/include/sys/_types/_dev_t.h: - -/usr/include/sys/_types/_mode_t.h: - -/usr/include/sys/_types/_uuid_t.h: - -/usr/include/gethostuuid.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ios: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iosfwd: - -/usr/include/wchar.h: - -/usr/include/sys/_types/_mbstate_t.h: - -/usr/include/sys/_types/_ct_rune_t.h: - -/usr/include/sys/_types/_rune_t.h: - -/usr/include/sys/_types/_wchar_t.h: - -/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/stdarg.h: - -/usr/include/stdio.h: - -/usr/include/sys/_types/_va_list.h: - -/usr/include/sys/stdio.h: - -/usr/include/time.h: - -/usr/include/sys/_types/_clock_t.h: - -/usr/include/_wctype.h: - -/usr/include/sys/_types/_wint_t.h: - -/usr/include/_types/_wctype_t.h: - -/usr/include/ctype.h: - -/usr/include/runetype.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__locale: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstring: - -/usr/include/string.h: - -/usr/include/strings.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdio: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cwchar: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cwctype: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cctype: - -/usr/include/wctype.h: - -/usr/include/_types/_wctrans_t.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/initializer_list: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstddef: - -/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/stddef.h: - -/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/__stddef_max_align_t.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__tuple: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/typeinfo: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/exception: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdint: - -/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/stdint.h: - -/usr/include/stdint.h: - -/usr/include/sys/_types/_int8_t.h: - -/usr/include/sys/_types/_int16_t.h: - -/usr/include/sys/_types/_int32_t.h: - -/usr/include/sys/_types/_int64_t.h: - -/usr/include/_types/_uint8_t.h: - -/usr/include/_types/_uint16_t.h: - -/usr/include/_types/_uint32_t.h: - -/usr/include/sys/_types/_uintptr_t.h: - -/usr/include/_types/_intmax_t.h: - -/usr/include/_types/_uintmax_t.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/new: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/limits: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__undef_min_max: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__functional_base: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__debug: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/tuple: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/atomic: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/stdexcept: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/mutex: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__mutex_base: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/chrono: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ctime: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ratio: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/climits: - -/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/limits.h: - -/usr/include/limits.h: - -/usr/include/machine/limits.h: - -/usr/include/i386/limits.h: - -/usr/include/i386/_limits.h: - -/usr/include/sys/syslimits.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/system_error: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cerrno: - -/usr/include/errno.h: - -/usr/include/sys/errno.h: - -/usr/include/pthread.h: - -/usr/include/pthread/pthread_impl.h: - -/usr/include/pthread/sched.h: - -/usr/include/sys/_pthread/_pthread_attr_t.h: - -/usr/include/sys/_pthread/_pthread_cond_t.h: - -/usr/include/sys/_pthread/_pthread_condattr_t.h: - -/usr/include/sys/_pthread/_pthread_key_t.h: - -/usr/include/sys/_pthread/_pthread_mutex_t.h: - -/usr/include/sys/_pthread/_pthread_mutexattr_t.h: - -/usr/include/sys/_pthread/_pthread_once_t.h: - -/usr/include/sys/_pthread/_pthread_rwlock_t.h: - -/usr/include/sys/_pthread/_pthread_rwlockattr_t.h: - -/usr/include/sys/_pthread/_pthread_t.h: - -/usr/include/pthread/qos.h: - -/usr/include/sys/qos.h: - -/usr/include/sys/_types/_mach_port_t.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional: - -/usr/include/locale.h: - -/usr/include/_locale.h: - -/usr/include/xlocale.h: - -/usr/include/_xlocale.h: - -/usr/include/xlocale/_ctype.h: - -/usr/include/xlocale/__wctype.h: - -/usr/include/xlocale/_stdio.h: - -/usr/include/xlocale/_string.h: - -/usr/include/xlocale/_time.h: - -/usr/include/xlocale/_wchar.h: - -/usr/include/xlocale/_wctype.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/streambuf: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/istream: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ostream: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/locale: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdlib: - -/usr/include/stdlib.h: - -/usr/include/sys/wait.h: - -/usr/include/sys/_types/_id_t.h: - -/usr/include/sys/signal.h: - -/usr/include/machine/signal.h: - -/usr/include/i386/signal.h: - -/usr/include/machine/_mcontext.h: - -/usr/include/i386/_mcontext.h: - -/usr/include/mach/i386/_structs.h: - -/usr/include/sys/_types/_sigaltstack.h: - -/usr/include/sys/_types/_ucontext.h: - -/usr/include/sys/resource.h: - -/usr/include/machine/endian.h: - -/usr/include/i386/endian.h: - -/usr/include/sys/_endian.h: - -/usr/include/libkern/_OSByteOrder.h: - -/usr/include/libkern/i386/_OSByteOrder.h: - -/usr/include/alloca.h: - -/usr/include/machine/types.h: - -/usr/include/i386/types.h: - -/usr/include/xlocale/_stdlib.h: - -/usr/include/nl_types.h: - -/usr/include/sys/types.h: - -/usr/include/sys/_types/_blkcnt_t.h: - -/usr/include/sys/_types/_blksize_t.h: - -/usr/include/sys/_types/_in_addr_t.h: - -/usr/include/sys/_types/_in_port_t.h: - -/usr/include/sys/_types/_ino_t.h: - -/usr/include/sys/_types/_ino64_t.h: - -/usr/include/sys/_types/_key_t.h: - -/usr/include/sys/_types/_nlink_t.h: - -/usr/include/sys/_types/_rsize_t.h: - -/usr/include/sys/_types/_errno_t.h: - -/usr/include/sys/_types/_fsblkcnt_t.h: - -/usr/include/sys/_types/_fsfilcnt_t.h: - -/usr/include/_types/_nl_item.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/bitset: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__bit_reference: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/sstream: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/fstream: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/vector: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__split_buffer: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/map: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__tree: - -xpu-0.1.5/xpu.h: - -xpu-0.1.5/xpu/types.h: - -xpu-0.1.5/xpu/core/generic_worker.h: - -xpu-0.1.5/xpu/core/os/thread.h: - -xpu-0.1.5/xpu/core/os/barrier.h: - -xpu-0.1.5/xpu/core/os/mac_osx_pthread.h: - -xpu-0.1.5/xpu/core/os/barrier.cc: - -xpu-0.1.5/xpu/core/os/cpuset.h: - -xpu-0.1.5/xpu/exception.h: - -xpu-0.1.5/xpu/exception.cc: - -xpu-0.1.5/xpu/task_group.h: - -xpu-0.1.5/xpu/range.h: - -xpu-0.1.5/xpu/stdout.h: - -xpu-0.1.5/xpu/core/os/spinlock.h: - -xpu-0.1.5/xpu/lockable.h: - -xpu-0.1.5/xpu/utils.h: - -xpu-0.1.5/xpu/pointers.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/set: - -xpu-0.1.5/xpu/core/os/spinlock.cc: - -xpu-0.1.5/xpu/core/os/mutex.h: - -xpu-0.1.5/xpu/core/os/mutex.cc: - -xpu-0.1.5/xpu/core/os/thread.cc: - -xpu-0.1.5/xpu/core/os/control.h: - -xpu-0.1.5/xpu/core/work.h: - -xpu-0.1.5/xpu/task.h: - -xpu-0.1.5/xpu/static_callback.h: - -xpu-0.1.5/xpu/dynamic_callback.h: - -xpu-0.1.5/xpu/core/os/event.h: - -xpu-0.1.5/xpu/core/queue.h: - -xpu-0.1.5/xpu/core/object_pool.h: - -xpu-0.1.5/xpu/core/list.h: - -xpu-0.1.5/xpu/parallel_tasks.h: - -xpu-0.1.5/xpu/core/lockable_factory.h: - -xpu-0.1.5/xpu/core/lockable_factory.cc: - -xpu-0.1.5/xpu/sequential_tasks.h: - -xpu-0.1.5/xpu/pipeline.h: - -xpu-0.1.5/xpu/core/event_notifier.h: - -xpu-0.1.5/xpu/core/event_listener.h: - -xpu-0.1.5/xpu/core/event_relay.h: - -xpu-0.1.5/xpu/parallel_for.h: - -xpu-0.1.5/xpu/runtime: - -config.h: - -core/circuit.h: - -core/gate.h: - -core/hash_set.h: - -core/hash_table.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/list: - -core/linalg.h: - -core/matrix.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/complex: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath: - -/usr/include/math.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cassert: - -/usr/include/assert.h: - -core/register.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cfloat: - -/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/float.h: - -xpu-0.1.5/xpu/timer.h: - -/usr/include/mach/clock.h: - -/usr/include/mach/ndr.h: - -/usr/include/libkern/OSByteOrder.h: - -/usr/include/libkern/i386/OSByteOrder.h: - -/usr/include/sys/_types/_os_inline.h: - -/usr/include/mach/boolean.h: - -/usr/include/mach/machine/boolean.h: - -/usr/include/mach/i386/boolean.h: - -/usr/include/mach/kern_return.h: - -/usr/include/mach/machine/kern_return.h: - -/usr/include/mach/i386/kern_return.h: - -/usr/include/mach/notify.h: - -/usr/include/mach/port.h: - -/usr/include/mach/machine/vm_types.h: - -/usr/include/mach/i386/vm_types.h: - -/usr/include/mach/i386/vm_param.h: - -/usr/include/mach/message.h: - -/usr/include/mach/mach_types.h: - -/usr/include/mach/host_info.h: - -/usr/include/mach/vm_statistics.h: - -/usr/include/mach/machine.h: - -/usr/include/mach/time_value.h: - -/usr/include/mach/host_notify.h: - -/usr/include/mach/host_special_ports.h: - -/usr/include/mach/memory_object_types.h: - -/usr/include/mach/vm_prot.h: - -/usr/include/mach/vm_sync.h: - -/usr/include/mach/vm_types.h: - -/usr/include/mach/exception_types.h: - -/usr/include/mach/machine/exception.h: - -/usr/include/mach/i386/exception.h: - -/usr/include/mach/thread_status.h: - -/usr/include/mach/machine/thread_status.h: - -/usr/include/mach/i386/thread_status.h: - -/usr/include/mach/i386/fp_reg.h: - -/usr/include/mach/i386/thread_state.h: - -/usr/include/i386/eflags.h: - -/usr/include/mach/machine/thread_state.h: - -/usr/include/mach/mach_voucher_types.h: - -/usr/include/mach/std_types.h: - -/usr/include/mach/processor_info.h: - -/usr/include/mach/machine/processor_info.h: - -/usr/include/mach/i386/processor_info.h: - -/usr/include/mach/task_info.h: - -/usr/include/mach/policy.h: - -/usr/include/mach/task_policy.h: - -/usr/include/mach/task_special_ports.h: - -/usr/include/mach/thread_info.h: - -/usr/include/mach/thread_policy.h: - -/usr/include/mach/thread_special_ports.h: - -/usr/include/mach/clock_types.h: - -/usr/include/mach/vm_attributes.h: - -/usr/include/mach/vm_inherit.h: - -/usr/include/mach/vm_purgable.h: - -/usr/include/mach/vm_behavior.h: - -/usr/include/mach/vm_region.h: - -/usr/include/mach/machine/vm_param.h: - -/usr/include/mach/kmod.h: - -/usr/include/mach/mig_errors.h: - -/usr/include/mach/mig.h: - -/usr/include/mach/mach.h: - -/usr/include/mach/mach_interface.h: - -/usr/include/mach/clock_priv.h: - -/usr/include/mach/host_priv.h: - -/usr/include/mach_debug/mach_debug_types.h: - -/usr/include/mach_debug/ipc_info.h: - -/usr/include/mach_debug/vm_info.h: - -/usr/include/mach_debug/zone_info.h: - -/usr/include/mach_debug/page_info.h: - -/usr/include/mach_debug/hash_info.h: - -/usr/include/mach_debug/lockgroup_info.h: - -/usr/include/mach/host_security.h: - -/usr/include/mach/lock_set.h: - -/usr/include/mach/processor.h: - -/usr/include/mach/processor_set.h: - -/usr/include/mach/semaphore.h: - -/usr/include/mach/sync_policy.h: - -/usr/include/mach/task.h: - -/usr/include/mach/thread_act.h: - -/usr/include/mach/vm_map.h: - -/usr/include/mach/mach_port.h: - -/usr/include/mach/mach_init.h: - -/usr/include/mach/vm_page_size.h: - -/usr/include/mach/mach_traps.h: - -/usr/include/mach/mach_host.h: - -/usr/include/mach/thread_switch.h: - -/usr/include/mach/rpc.h: - -/usr/include/mach/machine/rpc.h: - -/usr/include/mach/i386/rpc.h: - -/usr/include/mach/mach_error.h: - -/usr/include/mach/error.h: - -core/register.cc: - -core/binary_counter.h: - -core/kronecker.h: - -qcode/quantum_code_loader.h: - -qcode/strings.h: - -core/error_model.h: - -core/error_injector.h: - -core/gaussian.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/random: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/numeric: - -core/gaussian.cc: - -core/depolarizing_channel.h: - -qecc/ninja_star.h: diff --git a/src/tools/.deps/qx_simulator.Po b/src/tools/.deps/qx_simulator.Po deleted file mode 100644 index 9ce06a81..00000000 --- a/src/tools/.deps/qx_simulator.Po +++ /dev/null @@ -1 +0,0 @@ -# dummy diff --git a/src/tools/.deps/simulator.Po b/src/tools/.deps/simulator.Po deleted file mode 100644 index d4fc0752..00000000 --- a/src/tools/.deps/simulator.Po +++ /dev/null @@ -1,956 +0,0 @@ -tools/simulator.o: tools/simulator.cc \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iostream \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__config \ - /usr/include/unistd.h /usr/include/_types.h /usr/include/sys/_types.h \ - /usr/include/sys/cdefs.h /usr/include/sys/_symbol_aliasing.h \ - /usr/include/sys/_posix_availability.h /usr/include/machine/_types.h \ - /usr/include/i386/_types.h /usr/include/sys/_pthread/_pthread_types.h \ - /usr/include/sys/unistd.h /usr/include/sys/_types/_posix_vdisable.h \ - /usr/include/sys/_types/_seek_set.h /usr/include/sys/_types/_size_t.h \ - /usr/include/_types/_uint64_t.h /usr/include/Availability.h \ - /usr/include/AvailabilityInternal.h /usr/include/sys/_types/_ssize_t.h \ - /usr/include/sys/_types/_uid_t.h /usr/include/sys/_types/_gid_t.h \ - /usr/include/sys/_types/_intptr_t.h /usr/include/sys/_types/_off_t.h \ - /usr/include/sys/_types/_pid_t.h /usr/include/sys/_types/_useconds_t.h \ - /usr/include/sys/_types/_null.h /usr/include/sys/select.h \ - /usr/include/sys/appleapiopts.h /usr/include/sys/_types/_fd_def.h \ - /usr/include/sys/_types/_timespec.h /usr/include/sys/_types/_timeval.h \ - /usr/include/sys/_types/_time_t.h \ - /usr/include/sys/_types/_suseconds_t.h \ - /usr/include/sys/_types/_sigset_t.h \ - /usr/include/sys/_types/_fd_setsize.h \ - /usr/include/sys/_types/_fd_set.h /usr/include/sys/_types/_fd_clr.h \ - /usr/include/sys/_types/_fd_isset.h /usr/include/sys/_types/_fd_zero.h \ - /usr/include/sys/_types/_fd_copy.h /usr/include/sys/_select.h \ - /usr/include/sys/_types/_dev_t.h /usr/include/sys/_types/_mode_t.h \ - /usr/include/sys/_types/_uuid_t.h /usr/include/gethostuuid.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ios \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iosfwd \ - /usr/include/wchar.h /usr/include/sys/_types/_mbstate_t.h \ - /usr/include/sys/_types/_ct_rune_t.h /usr/include/sys/_types/_rune_t.h \ - /usr/include/sys/_types/_wchar_t.h \ - /Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/stdarg.h \ - /usr/include/stdio.h /usr/include/sys/_types/_va_list.h \ - /usr/include/sys/stdio.h /usr/include/time.h \ - /usr/include/sys/_types/_clock_t.h /usr/include/_wctype.h \ - /usr/include/sys/_types/_wint_t.h /usr/include/_types/_wctype_t.h \ - /usr/include/ctype.h /usr/include/runetype.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__locale \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstring \ - /usr/include/string.h /usr/include/strings.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdio \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cwchar \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cwctype \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cctype \ - /usr/include/wctype.h /usr/include/_types/_wctrans_t.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/initializer_list \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstddef \ - /Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/stddef.h \ - /Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/__stddef_max_align_t.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__tuple \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/typeinfo \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/exception \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdint \ - /Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/stdint.h \ - /usr/include/stdint.h /usr/include/sys/_types/_int8_t.h \ - /usr/include/sys/_types/_int16_t.h /usr/include/sys/_types/_int32_t.h \ - /usr/include/sys/_types/_int64_t.h /usr/include/_types/_uint8_t.h \ - /usr/include/_types/_uint16_t.h /usr/include/_types/_uint32_t.h \ - /usr/include/sys/_types/_uintptr_t.h /usr/include/_types/_intmax_t.h \ - /usr/include/_types/_uintmax_t.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/new \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/limits \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__undef_min_max \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__functional_base \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__debug \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/tuple \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/atomic \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/stdexcept \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/mutex \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__mutex_base \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/chrono \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ctime \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ratio \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/climits \ - /Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/limits.h \ - /usr/include/limits.h /usr/include/machine/limits.h \ - /usr/include/i386/limits.h /usr/include/i386/_limits.h \ - /usr/include/sys/syslimits.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/system_error \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cerrno \ - /usr/include/errno.h /usr/include/sys/errno.h /usr/include/pthread.h \ - /usr/include/pthread/pthread_impl.h /usr/include/pthread/sched.h \ - /usr/include/sys/_pthread/_pthread_attr_t.h \ - /usr/include/sys/_pthread/_pthread_cond_t.h \ - /usr/include/sys/_pthread/_pthread_condattr_t.h \ - /usr/include/sys/_pthread/_pthread_key_t.h \ - /usr/include/sys/_pthread/_pthread_mutex_t.h \ - /usr/include/sys/_pthread/_pthread_mutexattr_t.h \ - /usr/include/sys/_pthread/_pthread_once_t.h \ - /usr/include/sys/_pthread/_pthread_rwlock_t.h \ - /usr/include/sys/_pthread/_pthread_rwlockattr_t.h \ - /usr/include/sys/_pthread/_pthread_t.h /usr/include/pthread/qos.h \ - /usr/include/sys/qos.h /usr/include/sys/_types/_mach_port_t.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional \ - /usr/include/locale.h /usr/include/_locale.h /usr/include/xlocale.h \ - /usr/include/_xlocale.h /usr/include/xlocale/_ctype.h \ - /usr/include/xlocale/__wctype.h /usr/include/xlocale/_stdio.h \ - /usr/include/xlocale/_string.h /usr/include/xlocale/_time.h \ - /usr/include/xlocale/_wchar.h /usr/include/xlocale/_wctype.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/streambuf \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/istream \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ostream \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/locale \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdlib \ - /usr/include/stdlib.h /usr/include/sys/wait.h \ - /usr/include/sys/_types/_id_t.h /usr/include/sys/signal.h \ - /usr/include/machine/signal.h /usr/include/i386/signal.h \ - /usr/include/machine/_mcontext.h /usr/include/i386/_mcontext.h \ - /usr/include/mach/i386/_structs.h \ - /usr/include/sys/_types/_sigaltstack.h \ - /usr/include/sys/_types/_ucontext.h /usr/include/sys/resource.h \ - /usr/include/machine/endian.h /usr/include/i386/endian.h \ - /usr/include/sys/_endian.h /usr/include/libkern/_OSByteOrder.h \ - /usr/include/libkern/i386/_OSByteOrder.h /usr/include/alloca.h \ - /usr/include/machine/types.h /usr/include/i386/types.h \ - /usr/include/xlocale/_stdlib.h /usr/include/nl_types.h \ - /usr/include/sys/types.h /usr/include/sys/_types/_blkcnt_t.h \ - /usr/include/sys/_types/_blksize_t.h \ - /usr/include/sys/_types/_in_addr_t.h \ - /usr/include/sys/_types/_in_port_t.h /usr/include/sys/_types/_ino_t.h \ - /usr/include/sys/_types/_ino64_t.h /usr/include/sys/_types/_key_t.h \ - /usr/include/sys/_types/_nlink_t.h /usr/include/sys/_types/_rsize_t.h \ - /usr/include/sys/_types/_errno_t.h \ - /usr/include/sys/_types/_fsblkcnt_t.h \ - /usr/include/sys/_types/_fsfilcnt_t.h /usr/include/_types/_nl_item.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/bitset \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__bit_reference \ - xpu-0.1.5/xpu.h xpu-0.1.5/xpu/types.h \ - xpu-0.1.5/xpu/core/generic_worker.h xpu-0.1.5/xpu/core/os/thread.h \ - xpu-0.1.5/xpu/core/os/barrier.h \ - xpu-0.1.5/xpu/core/os/mac_osx_pthread.h \ - xpu-0.1.5/xpu/core/os/barrier.cc xpu-0.1.5/xpu/core/os/cpuset.h \ - xpu-0.1.5/xpu/exception.h xpu-0.1.5/xpu/exception.cc \ - xpu-0.1.5/xpu/task_group.h xpu-0.1.5/xpu/range.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/vector \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__split_buffer \ - xpu-0.1.5/xpu/stdout.h xpu-0.1.5/xpu/core/os/spinlock.h \ - xpu-0.1.5/xpu/lockable.h xpu-0.1.5/xpu/utils.h \ - xpu-0.1.5/xpu/pointers.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/set \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__tree \ - xpu-0.1.5/xpu/core/os/spinlock.cc xpu-0.1.5/xpu/core/os/mutex.h \ - xpu-0.1.5/xpu/core/os/mutex.cc xpu-0.1.5/xpu/core/os/thread.cc \ - xpu-0.1.5/xpu/core/os/control.h xpu-0.1.5/xpu/core/work.h \ - xpu-0.1.5/xpu/task.h xpu-0.1.5/xpu/static_callback.h \ - xpu-0.1.5/xpu/dynamic_callback.h xpu-0.1.5/xpu/core/os/event.h \ - xpu-0.1.5/xpu/core/queue.h xpu-0.1.5/xpu/core/object_pool.h \ - xpu-0.1.5/xpu/core/list.h xpu-0.1.5/xpu/parallel_tasks.h \ - xpu-0.1.5/xpu/core/lockable_factory.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/map \ - xpu-0.1.5/xpu/core/lockable_factory.cc \ - xpu-0.1.5/xpu/sequential_tasks.h xpu-0.1.5/xpu/pipeline.h \ - xpu-0.1.5/xpu/core/event_notifier.h \ - xpu-0.1.5/xpu/core/event_listener.h xpu-0.1.5/xpu/core/event_relay.h \ - xpu-0.1.5/xpu/parallel_for.h xpu-0.1.5/xpu/runtime config.h \ - core/circuit.h core/gate.h core/hash_set.h core/hash_table.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/list \ - core/linalg.h core/matrix.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/complex \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath \ - /usr/include/math.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/sstream \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cassert \ - /usr/include/assert.h core/register.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cfloat \ - /Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/float.h \ - xpu-0.1.5/xpu/timer.h /usr/include/mach/clock.h \ - /usr/include/mach/ndr.h /usr/include/libkern/OSByteOrder.h \ - /usr/include/libkern/i386/OSByteOrder.h \ - /usr/include/sys/_types/_os_inline.h /usr/include/mach/boolean.h \ - /usr/include/mach/machine/boolean.h /usr/include/mach/i386/boolean.h \ - /usr/include/mach/kern_return.h \ - /usr/include/mach/machine/kern_return.h \ - /usr/include/mach/i386/kern_return.h /usr/include/mach/notify.h \ - /usr/include/mach/port.h /usr/include/mach/machine/vm_types.h \ - /usr/include/mach/i386/vm_types.h /usr/include/mach/i386/vm_param.h \ - /usr/include/mach/message.h /usr/include/mach/mach_types.h \ - /usr/include/mach/host_info.h /usr/include/mach/vm_statistics.h \ - /usr/include/mach/machine.h /usr/include/mach/time_value.h \ - /usr/include/mach/host_notify.h /usr/include/mach/host_special_ports.h \ - /usr/include/mach/memory_object_types.h /usr/include/mach/vm_prot.h \ - /usr/include/mach/vm_sync.h /usr/include/mach/vm_types.h \ - /usr/include/mach/exception_types.h \ - /usr/include/mach/machine/exception.h \ - /usr/include/mach/i386/exception.h /usr/include/mach/thread_status.h \ - /usr/include/mach/machine/thread_status.h \ - /usr/include/mach/i386/thread_status.h /usr/include/mach/i386/fp_reg.h \ - /usr/include/mach/i386/thread_state.h /usr/include/i386/eflags.h \ - /usr/include/mach/machine/thread_state.h \ - /usr/include/mach/mach_voucher_types.h /usr/include/mach/std_types.h \ - /usr/include/mach/processor_info.h \ - /usr/include/mach/machine/processor_info.h \ - /usr/include/mach/i386/processor_info.h /usr/include/mach/task_info.h \ - /usr/include/mach/policy.h /usr/include/mach/task_policy.h \ - /usr/include/mach/task_special_ports.h /usr/include/mach/thread_info.h \ - /usr/include/mach/thread_policy.h \ - /usr/include/mach/thread_special_ports.h \ - /usr/include/mach/clock_types.h /usr/include/mach/vm_attributes.h \ - /usr/include/mach/vm_inherit.h /usr/include/mach/vm_purgable.h \ - /usr/include/mach/vm_behavior.h /usr/include/mach/vm_region.h \ - /usr/include/mach/machine/vm_param.h /usr/include/mach/kmod.h \ - /usr/include/mach/mig_errors.h /usr/include/mach/mig.h \ - /usr/include/mach/mach.h /usr/include/mach/mach_interface.h \ - /usr/include/mach/clock_priv.h /usr/include/mach/host_priv.h \ - /usr/include/mach_debug/mach_debug_types.h \ - /usr/include/mach_debug/ipc_info.h /usr/include/mach_debug/vm_info.h \ - /usr/include/mach_debug/zone_info.h \ - /usr/include/mach_debug/page_info.h \ - /usr/include/mach_debug/hash_info.h \ - /usr/include/mach_debug/lockgroup_info.h \ - /usr/include/mach/host_security.h /usr/include/mach/lock_set.h \ - /usr/include/mach/processor.h /usr/include/mach/processor_set.h \ - /usr/include/mach/semaphore.h /usr/include/mach/sync_policy.h \ - /usr/include/mach/task.h /usr/include/mach/thread_act.h \ - /usr/include/mach/vm_map.h /usr/include/mach/mach_port.h \ - /usr/include/mach/mach_init.h /usr/include/mach/vm_page_size.h \ - /usr/include/mach/mach_traps.h /usr/include/mach/mach_host.h \ - /usr/include/mach/thread_switch.h /usr/include/mach/rpc.h \ - /usr/include/mach/machine/rpc.h /usr/include/mach/i386/rpc.h \ - /usr/include/mach/mach_error.h /usr/include/mach/error.h \ - core/register.cc core/binary_counter.h core/kronecker.h \ - qcode/quantum_code_loader.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/fstream \ - qcode/strings.h core/error_model.h core/error_injector.h \ - core/gaussian.h \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/random \ - /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/numeric \ - core/gaussian.cc core/depolarizing_channel.h - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iostream: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__config: - -/usr/include/unistd.h: - -/usr/include/_types.h: - -/usr/include/sys/_types.h: - -/usr/include/sys/cdefs.h: - -/usr/include/sys/_symbol_aliasing.h: - -/usr/include/sys/_posix_availability.h: - -/usr/include/machine/_types.h: - -/usr/include/i386/_types.h: - -/usr/include/sys/_pthread/_pthread_types.h: - -/usr/include/sys/unistd.h: - -/usr/include/sys/_types/_posix_vdisable.h: - -/usr/include/sys/_types/_seek_set.h: - -/usr/include/sys/_types/_size_t.h: - -/usr/include/_types/_uint64_t.h: - -/usr/include/Availability.h: - -/usr/include/AvailabilityInternal.h: - -/usr/include/sys/_types/_ssize_t.h: - -/usr/include/sys/_types/_uid_t.h: - -/usr/include/sys/_types/_gid_t.h: - -/usr/include/sys/_types/_intptr_t.h: - -/usr/include/sys/_types/_off_t.h: - -/usr/include/sys/_types/_pid_t.h: - -/usr/include/sys/_types/_useconds_t.h: - -/usr/include/sys/_types/_null.h: - -/usr/include/sys/select.h: - -/usr/include/sys/appleapiopts.h: - -/usr/include/sys/_types/_fd_def.h: - -/usr/include/sys/_types/_timespec.h: - -/usr/include/sys/_types/_timeval.h: - -/usr/include/sys/_types/_time_t.h: - -/usr/include/sys/_types/_suseconds_t.h: - -/usr/include/sys/_types/_sigset_t.h: - -/usr/include/sys/_types/_fd_setsize.h: - -/usr/include/sys/_types/_fd_set.h: - -/usr/include/sys/_types/_fd_clr.h: - -/usr/include/sys/_types/_fd_isset.h: - -/usr/include/sys/_types/_fd_zero.h: - -/usr/include/sys/_types/_fd_copy.h: - -/usr/include/sys/_select.h: - -/usr/include/sys/_types/_dev_t.h: - -/usr/include/sys/_types/_mode_t.h: - -/usr/include/sys/_types/_uuid_t.h: - -/usr/include/gethostuuid.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ios: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iosfwd: - -/usr/include/wchar.h: - -/usr/include/sys/_types/_mbstate_t.h: - -/usr/include/sys/_types/_ct_rune_t.h: - -/usr/include/sys/_types/_rune_t.h: - -/usr/include/sys/_types/_wchar_t.h: - -/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/stdarg.h: - -/usr/include/stdio.h: - -/usr/include/sys/_types/_va_list.h: - -/usr/include/sys/stdio.h: - -/usr/include/time.h: - -/usr/include/sys/_types/_clock_t.h: - -/usr/include/_wctype.h: - -/usr/include/sys/_types/_wint_t.h: - -/usr/include/_types/_wctype_t.h: - -/usr/include/ctype.h: - -/usr/include/runetype.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__locale: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstring: - -/usr/include/string.h: - -/usr/include/strings.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdio: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cwchar: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cwctype: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cctype: - -/usr/include/wctype.h: - -/usr/include/_types/_wctrans_t.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/initializer_list: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstddef: - -/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/stddef.h: - -/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/__stddef_max_align_t.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__tuple: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/typeinfo: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/exception: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdint: - -/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/stdint.h: - -/usr/include/stdint.h: - -/usr/include/sys/_types/_int8_t.h: - -/usr/include/sys/_types/_int16_t.h: - -/usr/include/sys/_types/_int32_t.h: - -/usr/include/sys/_types/_int64_t.h: - -/usr/include/_types/_uint8_t.h: - -/usr/include/_types/_uint16_t.h: - -/usr/include/_types/_uint32_t.h: - -/usr/include/sys/_types/_uintptr_t.h: - -/usr/include/_types/_intmax_t.h: - -/usr/include/_types/_uintmax_t.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/new: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/limits: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__undef_min_max: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__functional_base: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__debug: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/tuple: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/atomic: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/stdexcept: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/mutex: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__mutex_base: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/chrono: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ctime: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ratio: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/climits: - -/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/limits.h: - -/usr/include/limits.h: - -/usr/include/machine/limits.h: - -/usr/include/i386/limits.h: - -/usr/include/i386/_limits.h: - -/usr/include/sys/syslimits.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/system_error: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cerrno: - -/usr/include/errno.h: - -/usr/include/sys/errno.h: - -/usr/include/pthread.h: - -/usr/include/pthread/pthread_impl.h: - -/usr/include/pthread/sched.h: - -/usr/include/sys/_pthread/_pthread_attr_t.h: - -/usr/include/sys/_pthread/_pthread_cond_t.h: - -/usr/include/sys/_pthread/_pthread_condattr_t.h: - -/usr/include/sys/_pthread/_pthread_key_t.h: - -/usr/include/sys/_pthread/_pthread_mutex_t.h: - -/usr/include/sys/_pthread/_pthread_mutexattr_t.h: - -/usr/include/sys/_pthread/_pthread_once_t.h: - -/usr/include/sys/_pthread/_pthread_rwlock_t.h: - -/usr/include/sys/_pthread/_pthread_rwlockattr_t.h: - -/usr/include/sys/_pthread/_pthread_t.h: - -/usr/include/pthread/qos.h: - -/usr/include/sys/qos.h: - -/usr/include/sys/_types/_mach_port_t.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional: - -/usr/include/locale.h: - -/usr/include/_locale.h: - -/usr/include/xlocale.h: - -/usr/include/_xlocale.h: - -/usr/include/xlocale/_ctype.h: - -/usr/include/xlocale/__wctype.h: - -/usr/include/xlocale/_stdio.h: - -/usr/include/xlocale/_string.h: - -/usr/include/xlocale/_time.h: - -/usr/include/xlocale/_wchar.h: - -/usr/include/xlocale/_wctype.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/streambuf: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/istream: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ostream: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/locale: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstdlib: - -/usr/include/stdlib.h: - -/usr/include/sys/wait.h: - -/usr/include/sys/_types/_id_t.h: - -/usr/include/sys/signal.h: - -/usr/include/machine/signal.h: - -/usr/include/i386/signal.h: - -/usr/include/machine/_mcontext.h: - -/usr/include/i386/_mcontext.h: - -/usr/include/mach/i386/_structs.h: - -/usr/include/sys/_types/_sigaltstack.h: - -/usr/include/sys/_types/_ucontext.h: - -/usr/include/sys/resource.h: - -/usr/include/machine/endian.h: - -/usr/include/i386/endian.h: - -/usr/include/sys/_endian.h: - -/usr/include/libkern/_OSByteOrder.h: - -/usr/include/libkern/i386/_OSByteOrder.h: - -/usr/include/alloca.h: - -/usr/include/machine/types.h: - -/usr/include/i386/types.h: - -/usr/include/xlocale/_stdlib.h: - -/usr/include/nl_types.h: - -/usr/include/sys/types.h: - -/usr/include/sys/_types/_blkcnt_t.h: - -/usr/include/sys/_types/_blksize_t.h: - -/usr/include/sys/_types/_in_addr_t.h: - -/usr/include/sys/_types/_in_port_t.h: - -/usr/include/sys/_types/_ino_t.h: - -/usr/include/sys/_types/_ino64_t.h: - -/usr/include/sys/_types/_key_t.h: - -/usr/include/sys/_types/_nlink_t.h: - -/usr/include/sys/_types/_rsize_t.h: - -/usr/include/sys/_types/_errno_t.h: - -/usr/include/sys/_types/_fsblkcnt_t.h: - -/usr/include/sys/_types/_fsfilcnt_t.h: - -/usr/include/_types/_nl_item.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/bitset: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__bit_reference: - -xpu-0.1.5/xpu.h: - -xpu-0.1.5/xpu/types.h: - -xpu-0.1.5/xpu/core/generic_worker.h: - -xpu-0.1.5/xpu/core/os/thread.h: - -xpu-0.1.5/xpu/core/os/barrier.h: - -xpu-0.1.5/xpu/core/os/mac_osx_pthread.h: - -xpu-0.1.5/xpu/core/os/barrier.cc: - -xpu-0.1.5/xpu/core/os/cpuset.h: - -xpu-0.1.5/xpu/exception.h: - -xpu-0.1.5/xpu/exception.cc: - -xpu-0.1.5/xpu/task_group.h: - -xpu-0.1.5/xpu/range.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/vector: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__split_buffer: - -xpu-0.1.5/xpu/stdout.h: - -xpu-0.1.5/xpu/core/os/spinlock.h: - -xpu-0.1.5/xpu/lockable.h: - -xpu-0.1.5/xpu/utils.h: - -xpu-0.1.5/xpu/pointers.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/set: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__tree: - -xpu-0.1.5/xpu/core/os/spinlock.cc: - -xpu-0.1.5/xpu/core/os/mutex.h: - -xpu-0.1.5/xpu/core/os/mutex.cc: - -xpu-0.1.5/xpu/core/os/thread.cc: - -xpu-0.1.5/xpu/core/os/control.h: - -xpu-0.1.5/xpu/core/work.h: - -xpu-0.1.5/xpu/task.h: - -xpu-0.1.5/xpu/static_callback.h: - -xpu-0.1.5/xpu/dynamic_callback.h: - -xpu-0.1.5/xpu/core/os/event.h: - -xpu-0.1.5/xpu/core/queue.h: - -xpu-0.1.5/xpu/core/object_pool.h: - -xpu-0.1.5/xpu/core/list.h: - -xpu-0.1.5/xpu/parallel_tasks.h: - -xpu-0.1.5/xpu/core/lockable_factory.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/map: - -xpu-0.1.5/xpu/core/lockable_factory.cc: - -xpu-0.1.5/xpu/sequential_tasks.h: - -xpu-0.1.5/xpu/pipeline.h: - -xpu-0.1.5/xpu/core/event_notifier.h: - -xpu-0.1.5/xpu/core/event_listener.h: - -xpu-0.1.5/xpu/core/event_relay.h: - -xpu-0.1.5/xpu/parallel_for.h: - -xpu-0.1.5/xpu/runtime: - -config.h: - -core/circuit.h: - -core/gate.h: - -core/hash_set.h: - -core/hash_table.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/list: - -core/linalg.h: - -core/matrix.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/complex: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath: - -/usr/include/math.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/sstream: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cassert: - -/usr/include/assert.h: - -core/register.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cfloat: - -/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.0/include/float.h: - -xpu-0.1.5/xpu/timer.h: - -/usr/include/mach/clock.h: - -/usr/include/mach/ndr.h: - -/usr/include/libkern/OSByteOrder.h: - -/usr/include/libkern/i386/OSByteOrder.h: - -/usr/include/sys/_types/_os_inline.h: - -/usr/include/mach/boolean.h: - -/usr/include/mach/machine/boolean.h: - -/usr/include/mach/i386/boolean.h: - -/usr/include/mach/kern_return.h: - -/usr/include/mach/machine/kern_return.h: - -/usr/include/mach/i386/kern_return.h: - -/usr/include/mach/notify.h: - -/usr/include/mach/port.h: - -/usr/include/mach/machine/vm_types.h: - -/usr/include/mach/i386/vm_types.h: - -/usr/include/mach/i386/vm_param.h: - -/usr/include/mach/message.h: - -/usr/include/mach/mach_types.h: - -/usr/include/mach/host_info.h: - -/usr/include/mach/vm_statistics.h: - -/usr/include/mach/machine.h: - -/usr/include/mach/time_value.h: - -/usr/include/mach/host_notify.h: - -/usr/include/mach/host_special_ports.h: - -/usr/include/mach/memory_object_types.h: - -/usr/include/mach/vm_prot.h: - -/usr/include/mach/vm_sync.h: - -/usr/include/mach/vm_types.h: - -/usr/include/mach/exception_types.h: - -/usr/include/mach/machine/exception.h: - -/usr/include/mach/i386/exception.h: - -/usr/include/mach/thread_status.h: - -/usr/include/mach/machine/thread_status.h: - -/usr/include/mach/i386/thread_status.h: - -/usr/include/mach/i386/fp_reg.h: - -/usr/include/mach/i386/thread_state.h: - -/usr/include/i386/eflags.h: - -/usr/include/mach/machine/thread_state.h: - -/usr/include/mach/mach_voucher_types.h: - -/usr/include/mach/std_types.h: - -/usr/include/mach/processor_info.h: - -/usr/include/mach/machine/processor_info.h: - -/usr/include/mach/i386/processor_info.h: - -/usr/include/mach/task_info.h: - -/usr/include/mach/policy.h: - -/usr/include/mach/task_policy.h: - -/usr/include/mach/task_special_ports.h: - -/usr/include/mach/thread_info.h: - -/usr/include/mach/thread_policy.h: - -/usr/include/mach/thread_special_ports.h: - -/usr/include/mach/clock_types.h: - -/usr/include/mach/vm_attributes.h: - -/usr/include/mach/vm_inherit.h: - -/usr/include/mach/vm_purgable.h: - -/usr/include/mach/vm_behavior.h: - -/usr/include/mach/vm_region.h: - -/usr/include/mach/machine/vm_param.h: - -/usr/include/mach/kmod.h: - -/usr/include/mach/mig_errors.h: - -/usr/include/mach/mig.h: - -/usr/include/mach/mach.h: - -/usr/include/mach/mach_interface.h: - -/usr/include/mach/clock_priv.h: - -/usr/include/mach/host_priv.h: - -/usr/include/mach_debug/mach_debug_types.h: - -/usr/include/mach_debug/ipc_info.h: - -/usr/include/mach_debug/vm_info.h: - -/usr/include/mach_debug/zone_info.h: - -/usr/include/mach_debug/page_info.h: - -/usr/include/mach_debug/hash_info.h: - -/usr/include/mach_debug/lockgroup_info.h: - -/usr/include/mach/host_security.h: - -/usr/include/mach/lock_set.h: - -/usr/include/mach/processor.h: - -/usr/include/mach/processor_set.h: - -/usr/include/mach/semaphore.h: - -/usr/include/mach/sync_policy.h: - -/usr/include/mach/task.h: - -/usr/include/mach/thread_act.h: - -/usr/include/mach/vm_map.h: - -/usr/include/mach/mach_port.h: - -/usr/include/mach/mach_init.h: - -/usr/include/mach/vm_page_size.h: - -/usr/include/mach/mach_traps.h: - -/usr/include/mach/mach_host.h: - -/usr/include/mach/thread_switch.h: - -/usr/include/mach/rpc.h: - -/usr/include/mach/machine/rpc.h: - -/usr/include/mach/i386/rpc.h: - -/usr/include/mach/mach_error.h: - -/usr/include/mach/error.h: - -core/register.cc: - -core/binary_counter.h: - -core/kronecker.h: - -qcode/quantum_code_loader.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/fstream: - -qcode/strings.h: - -core/error_model.h: - -core/error_injector.h: - -core/gaussian.h: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/random: - -/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/numeric: - -core/gaussian.cc: - -core/depolarizing_channel.h: diff --git a/src/tools/.dirstamp b/src/tools/.dirstamp deleted file mode 100644 index e69de29b..00000000 diff --git a/src/tools/simulator.cc b/src/tools/simulator.cc index d942ac26..182f7832 100644 --- a/src/tools/simulator.cc +++ b/src/tools/simulator.cc @@ -44,6 +44,7 @@ int main(int argc, char **argv) println("[+] loading circuit from '" << file_name << "' ..."); qcp.parse(); + //qcp.dump(); xpu::init(); diff --git a/src/xpu-0.1.5/xpu/net/active_socket.h b/src/xpu-0.1.5/xpu/net/active_socket.h index e88aaf18..aef116ee 100644 --- a/src/xpu-0.1.5/xpu/net/active_socket.h +++ b/src/xpu-0.1.5/xpu/net/active_socket.h @@ -1,8 +1,15 @@ #ifndef __ACTIVE_SOCKET_H__ #define __ACTIVE_SOCKET_H__ + #include "basic_socket.h" +namespace xpu +{ + +/** + * active socket + */ class active_socket : public basic_socket { public: @@ -57,6 +64,7 @@ class active_socket : public basic_socket #include "active_socket.cc" +} // xpu #endif // __ACTIVE_SOCKET_H__ diff --git a/src/xpu-0.1.5/xpu/net/basic_socket.h b/src/xpu-0.1.5/xpu/net/basic_socket.h index e0040fec..af9d2037 100644 --- a/src/xpu-0.1.5/xpu/net/basic_socket.h +++ b/src/xpu-0.1.5/xpu/net/basic_socket.h @@ -28,6 +28,9 @@ static bool initialized = false; #include "socket_exception.h" +namespace xpu +{ + /** * base class representing basic communication endpoint */ @@ -110,5 +113,7 @@ class basic_socket { #include "basic_socket.cc" +} // namespace xpu + #endif // __BASIC_SOCKET_H__ diff --git a/src/xpu-0.1.5/xpu/net/socket_exception.h b/src/xpu-0.1.5/xpu/net/socket_exception.h index 276a53ae..39e59380 100644 --- a/src/xpu-0.1.5/xpu/net/socket_exception.h +++ b/src/xpu-0.1.5/xpu/net/socket_exception.h @@ -6,6 +6,10 @@ #include // for exception #include // for errno + +namespace xpu +{ + class socket_exception : public std::exception { @@ -37,6 +41,8 @@ class socket_exception : public std::exception #include "socket_exception.cc" +} // xpu + #endif // __SOCKET_EXCEPTION_H__ diff --git a/src/xpu-0.1.5/xpu/net/tcp_server_socket.h b/src/xpu-0.1.5/xpu/net/tcp_server_socket.h index 050b1098..9f5ed35a 100644 --- a/src/xpu-0.1.5/xpu/net/tcp_server_socket.h +++ b/src/xpu-0.1.5/xpu/net/tcp_server_socket.h @@ -3,6 +3,10 @@ #include "tcp_socket.h" + +namespace xpu +{ + /** * tcp socket class for servers */ @@ -46,5 +50,6 @@ class tcp_server_socket : public basic_socket { #include "tcp_server_socket.cc" +} #endif // __TCP_SERVER_SOCKET_H__ diff --git a/src/xpu-0.1.5/xpu/net/tcp_socket.h b/src/xpu-0.1.5/xpu/net/tcp_socket.h index fd8b1179..d32aab52 100644 --- a/src/xpu-0.1.5/xpu/net/tcp_socket.h +++ b/src/xpu-0.1.5/xpu/net/tcp_socket.h @@ -3,6 +3,10 @@ #include "active_socket.h" + +namespace xpu +{ + class tcp_socket : public active_socket { public: @@ -33,5 +37,7 @@ class tcp_socket : public active_socket #include "tcp_socket.cc" +} + #endif // __TCP_SOCKET_H__ diff --git a/src/xpu-0.1.5/xpu/net/udp_socket.h b/src/xpu-0.1.5/xpu/net/udp_socket.h index ba8bab2e..8a93d374 100644 --- a/src/xpu-0.1.5/xpu/net/udp_socket.h +++ b/src/xpu-0.1.5/xpu/net/udp_socket.h @@ -1,6 +1,10 @@ #ifndef __UDP_SOCKET_H__ #define __UDP_SOCKET_H__ + +namespace xpu +{ + /** * udp socket class */ @@ -88,5 +92,6 @@ class udp_socket : public active_socket { #include "udp_socket.cc" +} #endif // __UDP_SOCKET_H__ diff --git a/src/xpu-0.1.5/xpu/stdout.h b/src/xpu-0.1.5/xpu/stdout.h index fb7394d3..a5e2793a 100644 --- a/src/xpu-0.1.5/xpu/stdout.h +++ b/src/xpu-0.1.5/xpu/stdout.h @@ -49,7 +49,7 @@ namespace xpu #define __debug(x) std::cout << "debug : [thread " << pthread_self() << "] " << __FILE__ << " : " << __LINE__ << " : " << __func__ << "() : " << x << std::endl; #define __trace(x) std::cout << "trace : [thread " << pthread_self() << "] " << __FILE__ << " : " << __LINE__ << " : " << __func__ << "() : " << x << std::endl; - #define __error(x) std::cerr << "error : [thread " << pthread_self() << "] " << __FILE__ << " : " << __LINE__ << " : " << __func__ << "() : " << x << std::endl; + //#define __error(x) std::cerr << "error : [thread " << pthread_self() << "] " << __FILE__ << " : " << __LINE__ << " : " << __func__ << "() : " << x << std::endl; #define __errno(x) std::cerr << "error : [thread " << pthread_self() << "] " << __FILE__ << " : " << __LINE__ << " : " << __func__ << "() : " << x << ":" << strerror(errno) << std::endl; #ifdef __xpu_debug__ #define __xpu_trace__(x) __trace(x) diff --git a/src/xpu-0.1.5/xpu/types.h b/src/xpu-0.1.5/xpu/types.h index 1cd7e4b5..dc852cf9 100644 --- a/src/xpu-0.1.5/xpu/types.h +++ b/src/xpu-0.1.5/xpu/types.h @@ -28,7 +28,7 @@ #ifndef __XPU_TYPES__ #define __XPU_TYPES__ -#if defined(__sun) || defined(__linux) || defined(__osf__) || defined(_AIX) // this must be verified +#if defined(__sun) || defined(__linux) || defined(__osf__) || defined(_AIX) || defined(__MACH__) // this must be verified #include #else