Hi, in an attempt to compile Slurm [0] on OpenIndiana to add it to oi-userland [1], I encountered several minor illumos-related issues:
1) getgrent_r has 3 arguments since it returns group * on illumos while glibc has 4 and returns int: is checking that ret != NULL enough ? 2) sched_getaffinity does not exist and I replaced it with pset [2] 3) cfmakeraw does not exist so I used the code snippet [3] 4) mount.h does not have MS_NOEXEC and MS_NODEV and I do not know what to do [4] 5) getgrouplist does not exist and I used a patch from kde-solaris [5] I would be grateful if you have any input on these points. Best regards Aurelien [0] http://slurm.schedmd.com/ [1] https://github.com/alarcher/oi-userland/tree/slurm/components/sysutils/slurm [2] https://github.com/alarcher/oi-userland/blob/slurm/components/sysutils/slurm/patches/04-gres.patch [3] https://www.perkin.org.uk/posts/solaris-portability-cfmakeraw.html [4] https://github.com/alarcher/oi-userland/blob/slurm/components/sysutils/slurm/patches/10-xcgroup.patch [5] https://github.com/alarcher/oi-userland/blob/slurm/components/sysutils/slurm/files/getgrouplist.h -- --- Praise the Caffeine embeddings
_______________________________________________ oi-dev mailing list [email protected] http://openindiana.org/mailman/listinfo/oi-dev
